|
package router
|
|
import (
|
v1 "aps_crm/api/v1"
|
"github.com/gin-gonic/gin"
|
)
|
|
type AccountIdRouter struct{}
|
|
func (s *AccountIdRouter) InitAccountIdRouter(router *gin.RouterGroup) {
|
accountIdRouter := router.Group("accountId")
|
accountIdApi := v1.ApiGroup.AccountIdApi
|
{
|
accountIdRouter.POST("add", accountIdApi.Add) // 添加$CName$
|
accountIdRouter.DELETE("delete/:id", accountIdApi.Delete) // 删除$CName$
|
accountIdRouter.PUT("update", accountIdApi.Update) // 更新$CName$
|
accountIdRouter.GET("list", accountIdApi.List) // 获取$CName$列表
|
}
|
}
|