likai 3 лет назад
Родитель
Сommit
5fe60b556f

+ 3 - 0
opms_parent/app/handler/plat/followup.go

@@ -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 {

+ 3 - 2
opms_parent/app/handler/plat/followup_comment.go

@@ -14,16 +14,16 @@ import (
 type FollowUpCommentHandler struct{}
 
 // GetList 获取列表
+// Swagger:FollowUpComment 跟进 评论列表
 func (h *FollowUpCommentHandler) GetList(ctx context.Context, req *model.SearchPlatFollowupCommentReq, rsp *comm_def.CommonMsg) error {
 	followupCommentService, err := server.NewFollowupCommentService(ctx)
 	if err != nil {
-	
+
 		return err
 	}
 	g.Log().Info("搜索值", req)
 	total, list, err := followupCommentService.GetList(req)
 	if err != nil {
-
 		return err
 	}
 	rsp.Data = g.Map{"list": list, "total": total}
@@ -31,6 +31,7 @@ func (h *FollowUpCommentHandler) GetList(ctx context.Context, req *model.SearchP
 }
 
 // Create 添加跟进评论
+// Swagger:FollowUpComment 跟进 评论添加
 func (h *FollowUpCommentHandler) Create(ctx context.Context, req *model.AddPlatFollowupCommentReq, rsp *comm_def.CommonMsg) error {
 	// 参数校验
 	if err := gvalid.CheckStruct(ctx, req, nil); err != nil {

+ 1 - 0
opms_parent/app/handler/plat/followup_file.go

@@ -13,6 +13,7 @@ import (
 type FollowUpFileHandler struct{}
 
 // GetList 获取列表
+// Swagger:FollowUpFile 跟进 附件列表
 func (h *FollowUpFileHandler) GetList(ctx context.Context, req *model.SearchPlatFollowupFileReq, rsp *comm_def.CommonMsg) error {
 	followupFileService, err := server.NewFollowupFileService(ctx)
 	if err != nil {