liujiandao
2023-10-11 34ef7217a034599217a7fdd1e28e1ae6910e1b4b
router/index.go
@@ -1,6 +1,7 @@
package router
import (
   v1 "aps_crm/api/v1"
   "aps_crm/conf"
   _ "aps_crm/docs"
   "aps_crm/middleware"
@@ -183,5 +184,10 @@
      routerGroup.InitCollectionProjectionRouter(PrivateGroup)
      routerGroup.InitContactInformationRouter(PrivateGroup)
   }
   codeGroup := PrivateGroup.Group("code")
   codeApi := v1.CodeApi{}
   {
      codeGroup.GET("getCodeList", codeApi.GetCodeList) //获取编码列表
   }
   return Router
}