| | |
| | | package router |
| | | |
| | | import ( |
| | | v1 "aps_crm/api/v1" |
| | | "aps_crm/conf" |
| | | _ "aps_crm/docs" |
| | | "aps_crm/middleware" |
| | |
| | | InitReceiptRouter(PrivateGroup) |
| | | InitBankAccountRouter(PrivateGroup) |
| | | InitPaymentTypeRouter(PrivateGroup) |
| | | InitRefundTypeRouter(PrivateGroup) |
| | | InitFileRouter(PrivateGroup) |
| | | InitInvoiceRouter(PrivateGroup) |
| | | InitInvoiceStatusRouter(PrivateGroup) |
| | |
| | | routerGroup.InitCollectionProjectionRouter(PrivateGroup) |
| | | routerGroup.InitContactInformationRouter(PrivateGroup) |
| | | } |
| | | codeGroup := PrivateGroup.Group("code") |
| | | codeApi := v1.CodeApi{} |
| | | { |
| | | codeGroup.GET("getCodeList", codeApi.GetCodeList) //获取编码列表 |
| | | codeGroup.POST("getAutoCode", codeApi.GetAutoCode) //获取编码列表 |
| | | } |
| | | return Router |
| | | } |