fix
wangpengfei
2023-08-18 51a555e6db6dcf71a7c16faa3bf61241a32d2459
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package router
 
import (
    v1 "aps_crm/api/v1"
    "github.com/gin-gonic/gin"
)
 
func InitServiceCollectionPlanRouter(router *gin.RouterGroup) {
    ServiceCollectionPlanRouter := router.Group("serviceCollectionPlan")
    ServiceCollectionPlanApi := v1.ServiceCollectionPlanApi{}
    {
        ServiceCollectionPlanRouter.POST("add", ServiceCollectionPlanApi.Add)             // 添加服务合同收款计划
        ServiceCollectionPlanRouter.DELETE("delete/:id", ServiceCollectionPlanApi.Delete) // 删除服务合同收款计划
        ServiceCollectionPlanRouter.PUT("update", ServiceCollectionPlanApi.Update)        // 更新服务合同收款计划
        ServiceCollectionPlanRouter.GET("list", ServiceCollectionPlanApi.List)            // 获取服务合同收款计划列表
    }
}