|
|
@@ -14,6 +14,7 @@ import (
|
|
|
type FollowUpHandler struct{}
|
|
|
|
|
|
// GetList 获取列表
|
|
|
+// Swagger:FollowUp 跟进 列表
|
|
|
func (h *FollowUpHandler) GetList(ctx context.Context, req *model.SearchPlatFollowupReq, rsp *comm_def.CommonMsg) error {
|
|
|
followupService, err := server.NewFollowupService(ctx)
|
|
|
if err != nil {
|
|
|
@@ -30,6 +31,7 @@ func (h *FollowUpHandler) GetList(ctx context.Context, req *model.SearchPlatFoll
|
|
|
}
|
|
|
|
|
|
// GetListByDay 获取列表
|
|
|
+// Swagger:FollowUp 跟进 跟进记录按天详情
|
|
|
func (h *FollowUpHandler) GetListByDay(ctx context.Context, req *model.SearchPlatFollowupReq, rsp *comm_def.CommonMsg) error {
|
|
|
followupService, err := server.NewFollowupService(ctx)
|
|
|
if err != nil {
|
|
|
@@ -44,6 +46,7 @@ func (h *FollowUpHandler) GetListByDay(ctx context.Context, req *model.SearchPla
|
|
|
}
|
|
|
|
|
|
// Create 添加跟进记录
|
|
|
+// Swagger:FollowUp 跟进 添加
|
|
|
func (h *FollowUpHandler) Create(ctx context.Context, req *model.AddPlatFollowupReq, rsp *comm_def.CommonMsg) error {
|
|
|
// 参数校验
|
|
|
if err := gvalid.CheckStruct(ctx, req, nil); err != nil {
|