package router
|
|
import (
|
v1 "aps_crm/api/v1"
|
"github.com/gin-gonic/gin"
|
)
|
|
type FollowRecordRouter struct{}
|
|
func (f *FollowRecordRouter) InitFollowRecordRouter(router *gin.RouterGroup) {
|
followRecordRouter := router.Group("followRecord")
|
followRecordApi := v1.ApiGroup.FollowRecordApi
|
{
|
followRecordRouter.POST("add", followRecordApi.Add) // 添加跟进记录
|
followRecordRouter.DELETE("delete", followRecordApi.Delete) // 删除跟进记录
|
followRecordRouter.PUT("update", followRecordApi.Update) // 更新跟进记录
|
followRecordRouter.POST("list", followRecordApi.List) // 获取跟进记录列表
|
}
|
}
|