From 064b3973f93761af11c2519f6bd38f55b9edb506 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 26 Nov 2024 15:05:21 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/md/im/md_send_red_package_ord.go | 49 +++++++++ app/svc/im/svc_customer_service.go | 2 +- app/svc/im/svc_emoticon.go | 2 +- app/svc/im/svc_send_red_package_ord.go | 134 +++++++++++++++++++++++++ 4 files changed, 185 insertions(+), 2 deletions(-) create mode 100644 app/md/im/md_send_red_package_ord.go create mode 100644 app/svc/im/svc_send_red_package_ord.go diff --git a/app/md/im/md_send_red_package_ord.go b/app/md/im/md_send_red_package_ord.go new file mode 100644 index 0000000..ea9c729 --- /dev/null +++ b/app/md/im/md_send_red_package_ord.go @@ -0,0 +1,49 @@ +package md + +type PageSendRedPackageOrdReq struct { + Page int `json:"page"` + PageSize int `json:"page_size"` + State int `json:"state"` //状态 + Uid int `json:"uid"` + RedPacketType int `json:"red_packet_type"` //红包类型 + StartTimeStart string `json:"start_time_start" example:"发送时间-起始"` + StartTimeEnd string `json:"start_time_end" example:"发送时间-截止"` + InviteCode string `json:"invite_code" example:"邀请码"` //邀请码 + Phone string `json:"phone" example:"手机号"` //手机号 + Nickname string `json:"nickname" example:"昵称"` //昵称 + OrdNo string `json:"ord_no" example:"订单号"` //订单号 +} + +type PageSendRedPackageOrdResp struct { + Page int `json:"page"` + PageSize int `json:"page_size"` + Total int64 `json:"total"` + List []struct { + Id int64 `json:"id"` //记录id + Uid int64 `json:"uid"` + Phone string `json:"ord_no" example:"订单号"` + Nickname string `json:"nickname" example:"昵称"` + AvatarUrl string `json:"avatar_url" example:"头像"` + InviteCode string `json:"invite_code" example:"邀请码"` + State int `json:"state"` // 红包状态(0:未领取 1:领取中 2:领取完 3:已过期) + Amount string `json:"amount"` // 金额 + RedPacketBalanceAmount string `json:"red_packet_balance_amount" example:"红包剩余金额"` // 红包剩余金额 + RedPacketType int `json:"red_packet_type" example:"红包类型"` // 红包类型 + RedPacketNums string `json:"red_packet_nums" example:"红包剩余个数"` // 红包剩余个数 + WaitDrawUserIds string `json:"wait_draw_user_ids" example:"待领取用户id"` // 待领取用户id + ReceivedUserIds string `json:"received_user_ids" example:"领取用户id"` // 领取用户id + ReceivedTimes string `json:"received_times" example:"已领取时间"` // 已领取时间 + ReceivedUserAmount string `json:"received_user_amount" example:"已领取用户金额"` // 已领取用户金额 + CreateTime string `json:"create_time" example:"创建时间"` // 创建时间 + UpdateTime string `json:"update_time" example:"更新时间"` // 更新时间 + } `json:"list"` +} + +type RedPackageRecordsDetailResp struct { + Uid int64 `json:"uid"` + InviteCode string `json:"invite_code" example:"邀请码"` + Nickname string `json:"nickname" example:"昵称"` + AvatarUrl string `json:"avatar_url" example:"头像"` + Amount string `json:"amount"` // 金额 + ReceivedTimes string `json:"received_times" example:"领取时间"` // 领取时间 +} diff --git a/app/svc/im/svc_customer_service.go b/app/svc/im/svc_customer_service.go index 8627c14..d77238b 100644 --- a/app/svc/im/svc_customer_service.go +++ b/app/svc/im/svc_customer_service.go @@ -17,7 +17,7 @@ func PageCustomerService(req md.PageCustomerServiceReq) (err error, resp md.Page sess.And("memo = ?", req.State) } var mm []*model.CustomerService - resp.Total, err = sess.Limit(req.PageSize, (req.Page-1)*req.PageSize).Asc("a.id").FindAndCount(&mm) + resp.Total, err = sess.Limit(req.PageSize, (req.Page-1)*req.PageSize).Asc("id").FindAndCount(&mm) if err != nil { return } diff --git a/app/svc/im/svc_emoticon.go b/app/svc/im/svc_emoticon.go index a8e57f5..be75191 100644 --- a/app/svc/im/svc_emoticon.go +++ b/app/svc/im/svc_emoticon.go @@ -17,7 +17,7 @@ func PageEmoticon(req md.PageEmoticonReq) (err error, resp md.PageEmoticonResp) sess.And("memo = ?", req.State) } var mm []*model.Emoticon - resp.Total, err = sess.Limit(req.PageSize, (req.Page-1)*req.PageSize).Asc("a.id").FindAndCount(&mm) + resp.Total, err = sess.Limit(req.PageSize, (req.Page-1)*req.PageSize).Desc("id").FindAndCount(&mm) if err != nil { return } diff --git a/app/svc/im/svc_send_red_package_ord.go b/app/svc/im/svc_send_red_package_ord.go new file mode 100644 index 0000000..252516c --- /dev/null +++ b/app/svc/im/svc_send_red_package_ord.go @@ -0,0 +1,134 @@ +package svc + +import ( + "applet/app/db" + md "applet/app/md/im" + "applet/app/utils" + "code.fnuoos.com/EggPlanet/egg_models.git/src/model" + "errors" + "fmt" + "strings" +) + +type PageSendRedPackageOrdJoinUser struct { + model.ImSendRedPackageOrd `xorm:"extends"` + model.User `xorm:"extends"` +} + +func PageSendRedPackageOrd(req md.PageSendRedPackageOrdReq) (err error, resp md.PageSendRedPackageOrdResp) { + sess := db.DbIm.Table("im_send_red_package_ord").Where("1=1") + if req.Phone != "" { + sess.And("user.phone LIKE ?", "%"+req.Phone+"%") + } + if req.Nickname != "" { + sess.And("user.nickname LIKE ?", "%"+req.Nickname+"%") + } + if req.OrdNo != "" { + sess.And("im_send_red_package_ord.ord_no LIKE ?", "%"+req.OrdNo+"%") + } + if req.State != 0 { + sess.And("im_send_red_package_ord.state = ?", req.State) + } + if req.Uid != 0 { + sess.And("im_send_red_package_ord.uid = ?", req.Uid) + } + if req.RedPacketType != 0 { + sess.And("im_send_red_package_ord.red_packet_type = ?", req.RedPacketType) + } + if req.StartTimeStart != "" { + sess.And("im_send_red_package_ord.create_time >= ?", req.StartTimeStart) + } + if req.StartTimeEnd != "" { + sess.And("im_send_red_package_ord.create_time <= ?", req.StartTimeEnd) + } + if req.InviteCode != "" { + sess.And("user.invite_code = ?", req.InviteCode) + } + sess.Join("LEFT", "user", "im_send_red_package_ord.uid = user.id") + + var mm []*PageSendRedPackageOrdJoinUser + resp.Total, err = sess.Limit(req.PageSize, (req.Page-1)*req.PageSize).Desc("im_send_red_package_ord.create_time").FindAndCount(&mm) + sql, _ := sess.LastSQL() + fmt.Println("PageSendRedPackageOrd___SQL:::", sql) + if err != nil { + return + } + resp.Page = req.Page + resp.PageSize = req.PageSize + for _, v := range mm { + resp.List = append(resp.List, struct { + Id int64 `json:"id"` //记录id + Uid int64 `json:"uid"` + Phone string `json:"ord_no" example:"订单号"` + Nickname string `json:"nickname" example:"昵称"` + AvatarUrl string `json:"avatar_url" example:"头像"` + InviteCode string `json:"invite_code" example:"邀请码"` + State int `json:"state"` // 红包状态(0:未领取 1:领取中 2:领取完 3:已过期) + Amount string `json:"amount"` // 金额 + RedPacketBalanceAmount string `json:"red_packet_balance_amount" example:"红包剩余金额"` // 红包剩余金额 + RedPacketType int `json:"red_packet_type" example:"红包类型"` // 红包类型 + RedPacketNums string `json:"red_packet_nums" example:"红包剩余个数"` // 红包剩余个数 + WaitDrawUserIds string `json:"wait_draw_user_ids" example:"待领取用户id"` // 待领取用户id + ReceivedUserIds string `json:"received_user_ids" example:"领取用户id"` // 领取用户id + ReceivedTimes string `json:"received_times" example:"已领取时间"` // 已领取时间 + ReceivedUserAmount string `json:"received_user_amount" example:"已领取用户金额"` // 已领取用户金额 + CreateTime string `json:"create_time" example:"创建时间"` // 创建时间 + UpdateTime string `json:"update_time" example:"更新时间"` // 更新时间 + }{ + Id: v.ImSendRedPackageOrd.Id, + Uid: int64(v.ImSendRedPackageOrd.Uid), + Phone: v.User.Phone, + InviteCode: v.User.SystemInviteCode, + Nickname: v.User.Nickname, + AvatarUrl: v.User.Avatar, + State: v.ImSendRedPackageOrd.State, + Amount: v.ImSendRedPackageOrd.Amount, + RedPacketType: v.ImSendRedPackageOrd.RedPacketType, + WaitDrawUserIds: v.ImSendRedPackageOrd.WaitDrawUserIds, + ReceivedUserIds: v.ImSendRedPackageOrd.ReceivedUserIds, + ReceivedUserAmount: v.ImSendRedPackageOrd.ReceivedUserAmount, + CreateTime: v.ImSendRedPackageOrd.CreateTime, + UpdateTime: v.ImSendRedPackageOrd.UpdateTime, + }) + } + return +} + +func RedPackageRecordsDetail(redPackageId string) (err error, resp []md.RedPackageRecordsDetailResp) { + var imSendRedPackageOrd model.ImSendRedPackageOrd + has, err := db.Db.Where("`id`=?", redPackageId).Get(&imSendRedPackageOrd) + if err != nil { + return + } + if !has { + err = errors.New("红包记录不存在!") + return + } + + if imSendRedPackageOrd.ReceivedUserIds != "" { + uids := strings.Split(imSendRedPackageOrd.ReceivedUserIds, ",") + receivedTimes := strings.Split(imSendRedPackageOrd.ReceivedTimes, ",") + receivedUserAmount := strings.Split(imSendRedPackageOrd.ReceivedUserAmount, ",") + var users []*model.User + err = db.Db.In("id", uids).Find(&users) + if err != nil { + return + } + var usersMap = map[string]model.User{} + for _, v := range users { + usersMap[utils.Int64ToStr(v.Id)] = *v + } + for i, v := range uids { + resp = append(resp, md.RedPackageRecordsDetailResp{ + Uid: utils.StrToInt64(v), + InviteCode: usersMap[v].SystemInviteCode, + Nickname: usersMap[v].Nickname, + AvatarUrl: usersMap[v].Avatar, + Amount: receivedUserAmount[i], + ReceivedTimes: receivedTimes[i], + }) + } + } + + return +} From 1cd5d33760103a9599221f1daaabd9180b39b027 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 26 Nov 2024 15:13:49 +0800 Subject: [PATCH 2/4] update --- .../module_setting/hdl_basic.go | 156 ++++++++++++++++++ .../module_setting/md_basic.go | 20 +++ app/router/router.go | 6 + go.mod | 4 +- 4 files changed, 184 insertions(+), 2 deletions(-) create mode 100644 app/hdl/institutional_management/module_setting/hdl_basic.go create mode 100644 app/md/institutional_management/module_setting/md_basic.go diff --git a/app/hdl/institutional_management/module_setting/hdl_basic.go b/app/hdl/institutional_management/module_setting/hdl_basic.go new file mode 100644 index 0000000..3405731 --- /dev/null +++ b/app/hdl/institutional_management/module_setting/hdl_basic.go @@ -0,0 +1,156 @@ +package module_setting + +import ( + "applet/app/db" + "applet/app/e" + "applet/app/md/institutional_management/module_setting" + "applet/app/utils" + "code.fnuoos.com/EggPlanet/egg_models.git/src/implement" + "code.fnuoos.com/EggPlanet/egg_models.git/src/model" + "errors" + "github.com/gin-gonic/gin" + "time" +) + +// ModuleSettingGet +// @Summary 制度中心-模块设置-个性化设置(获取) +// @Tags 模块设置 +// @Description 个性化设置(获取) +// @Accept json +// @Produce json +// @param Authorization header string true "验证参数Bearer和token空格拼接" +// @Param mod_name_value query string true "模块类型值" +// @Success 200 {object} md.ModuleSettingGetResp "具体数据" +// @Failure 400 {object} md.Response "具体错误" +// @Router /api/institutionalManagement/moduleSetting/getModuleSetting [GET] +func ModuleSettingGet(c *gin.Context) { + modNameValue := c.DefaultQuery("mod_name_value", "1") + modNameList := []map[string]interface{}{ + { + "mod_name": "home_page", + "value": "1", + }, + { + "mod_name": "member_center", + "value": "2", + }, + { + "mod_name": "bottom_bar", + "value": "3", + }, + { + "mod_name": "invitation_download_landing_page", + "value": "4", + }, + { + "mod_name": "invitation_poster", + "value": "5", + }, + } + modNameMap := map[string]string{ + "1": "home_page", + "2": "member_center", + "3": "bottom_bar", + "4": "invitation_download_landing_page", + "5": "invitation_poster", + } + moduleStyleDb := implement.NewModuleStyleDb(db.Db) + var moduleStyle *model.ModuleStyle + var err error + moduleStyle, err = moduleStyleDb.ModuleStyleGetOneByParams(map[string]interface{}{ + "key": "mod_name", + "value": modNameMap[modNameValue], + }) + + if err != nil { + e.OutErr(c, e.ERR_DB_ORM, err.Error()) + return + } + var dataMap map[string]interface{} + if moduleStyle == nil { + now := time.Now() + m := model.ModuleStyle{ + ModName: modNameMap[modNameValue], + Position: modNameMap[modNameValue], + SkipIdentifier: "", + Title: "主标题", + Subtitle: "子标题", + Data: utils.SerializeStr(dataMap), + CreateAt: now.Format("2006-01-02 15:04:05"), + } + _, err = moduleStyleDb.ModuleStyleInsert(&m) + if err != nil { + e.OutErr(c, e.ERR_DB_ORM, err.Error()) + return + } + moduleStyle, err = moduleStyleDb.ModuleStyleGetOneByParams(map[string]interface{}{ + "key": "mod_name", + "value": modNameMap[modNameValue], + }) + if err != nil { + e.OutErr(c, e.ERR_DB_ORM, err.Error()) + return + } + } + utils.Unserialize([]byte(moduleStyle.Data), &dataMap) + + resp := md.ModuleSettingGetResp{ + ModNameList: modNameList, + ModName: moduleStyle.ModName, + Position: moduleStyle.Position, + SkipIdentifier: moduleStyle.SkipIdentifier, + Title: moduleStyle.Title, + Subtitle: moduleStyle.Subtitle, + Data: dataMap, + } + + e.OutSuc(c, resp, nil) +} + +// ModuleSettingUpdate +// @Summary 制度中心-模块设置-个性化设置(更新) +// @Tags 模块设置 +// @Description 个性化设置(更新) +// @Accept json +// @Produce json +// @param Authorization header string true "验证参数Bearer和token空格拼接" +// @Param req body md.ModuleSettingUpdateReq true "模块类型值必填" +// @Success 200 {int} "修改数据条数" +// @Failure 400 {object} md.Response "具体错误" +// @Router /api/institutionalManagement/moduleSetting/updateModuleSetting [POST] +func ModuleSettingUpdate(c *gin.Context) { + var req *md.ModuleSettingUpdateReq + if err1 := c.ShouldBindJSON(&req); err1 != nil { + e.OutErr(c, e.ERR_INVALID_ARGS, err1.Error()) + return + } + + modNameMap := map[string]string{ + "1": "home_page", + "2": "member_center", + "3": "bottom_bar", + "4": "invitation_download_landing_page", + "5": "invitation_poster", + } + moduleStyleDb := implement.NewModuleStyleDb(db.Db) + moduleStyle, err := moduleStyleDb.ModuleStyleGetOneByParams(map[string]interface{}{ + "key": "mod_name", + "value": modNameMap[req.ModNameValue], + }) + if moduleStyle == nil { + e.OutErr(c, e.ERR_NO_DATA, errors.New("不存在该页面")) + return + } + forceColumns := []string{"title", "subtitle", "data"} + moduleStyle.Title = req.Title + moduleStyle.Subtitle = req.Subtitle + moduleStyle.Position = req.Position + moduleStyle.Data = utils.SerializeStr(req.Data) + + affected, err := moduleStyleDb.ModuleStyleUpdate(moduleStyle.ModId, moduleStyle, forceColumns...) + if err != nil { + e.OutErr(c, e.ERR_DB_ORM, err.Error()) + return + } + e.OutSuc(c, affected, nil) +} diff --git a/app/md/institutional_management/module_setting/md_basic.go b/app/md/institutional_management/module_setting/md_basic.go new file mode 100644 index 0000000..272df6b --- /dev/null +++ b/app/md/institutional_management/module_setting/md_basic.go @@ -0,0 +1,20 @@ +package md + +type ModuleSettingGetResp struct { + ModNameList []map[string]interface{} `json:"mod_name_list"` // 模块名称对照 + ModName string `json:"mod_name"` // 模块名称 + Position string `json:"position"` // 位置 + SkipIdentifier string `json:"skip_identifier"` // 跳转标识 + Title string `json:"title"` // 标题 + Subtitle string `json:"subtitle"` // 副标题 + Data map[string]interface{} `json:"data"` // 内容 +} + +type ModuleSettingUpdateReq struct { + ModNameValue string `json:"mod_name_value,required"` // 模块类型值 + Position string `json:"position"` // 位置 + SkipIdentifier string `json:"skip_identifier"` // 跳转标识 + Title string `json:"title"` // 标题 + Subtitle string `json:"subtitle"` // 副标题 + Data map[string]interface{} `json:"data"` // 内容 +} diff --git a/app/router/router.go b/app/router/router.go index 98f1921..c063a06 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -9,6 +9,7 @@ import ( "applet/app/hdl/financial_center" "applet/app/hdl/im" "applet/app/hdl/institutional_management/egg_energy" + "applet/app/hdl/institutional_management/module_setting" "applet/app/hdl/institutional_management/public_platoon" "applet/app/hdl/marketing_applications/new_user_red_package" "applet/app/hdl/member_center" @@ -196,6 +197,11 @@ func rInstitutionalManagement(r *gin.RouterGroup) { //制度管理 rContributionValue.POST("/updateBasic", egg_energy.UpdateContributionValueBasicSetting) } } + rModuleSetting := r.Group("/moduleSetting") + { + rModuleSetting.GET("/getModuleSetting", module_setting.ModuleSettingGet) + rModuleSetting.POST("/updateModuleSetting", module_setting.ModuleSettingUpdate) + } } func rMarketingApplications(r *gin.RouterGroup) { //营销应用 diff --git a/go.mod b/go.mod index 15a3c6b..8ed48ab 100644 --- a/go.mod +++ b/go.mod @@ -33,10 +33,11 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241126025500-fff8f11fcef5 + code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241126070618-9a7e2400a08f code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241125081706-0915be3f4144 code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 + github.com/360EntSecGroup-Skylar/excelize v1.4.1 github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible github.com/gin-contrib/sessions v1.0.1 github.com/go-sql-driver/mysql v1.8.1 @@ -48,7 +49,6 @@ require ( require ( filippo.io/edwards25519 v1.1.0 // indirect - github.com/360EntSecGroup-Skylar/excelize v1.4.1 // indirect github.com/BurntSushi/toml v1.4.0 // indirect github.com/KyleBanks/depth v1.2.1 // indirect github.com/PuerkitoBio/goquery v1.9.2 // indirect From 238131fe6698ba9f083ad3432ed7fb98fee7b31a Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 26 Nov 2024 15:32:52 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E6=9B=B4=E6=94=B9=20swag=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/im/hdl_send_red_package_ord.go | 57 + app/hdl/notice/hdl_aliyun_sms.go | 8 +- app/router/router.go | 2 + docs/docs.go | 3019 +++++++++++++++++------- docs/swagger.json | 3019 +++++++++++++++++------- docs/swagger.yaml | 976 +++++++- go.mod | 2 +- 7 files changed, 5480 insertions(+), 1603 deletions(-) create mode 100644 app/hdl/im/hdl_send_red_package_ord.go diff --git a/app/hdl/im/hdl_send_red_package_ord.go b/app/hdl/im/hdl_send_red_package_ord.go new file mode 100644 index 0000000..50e2efa --- /dev/null +++ b/app/hdl/im/hdl_send_red_package_ord.go @@ -0,0 +1,57 @@ +package im + +import ( + "applet/app/e" + md "applet/app/md/im" + svc "applet/app/svc/im" + "github.com/gin-gonic/gin" +) + +// PageSendRedPackageOrd +// @Summary Im-红包记录(列表) +// @Tags 红包记录 +// @Description 红包记录(列表) +// @Accept json +// @Produce json +// @param Authorization header string true "验证参数Bearer和token空格拼接" +// @param req body md.PageSendRedPackageOrdReq true "相关参数" +// @Success 200 {string} "success" +// @Failure 400 {object} md.Response "具体错误" +// @Router /api/im/pageSendRedPackageOrd [POST] +func PageSendRedPackageOrd(c *gin.Context) { + var req *md.PageSendRedPackageOrdReq + if err1 := c.ShouldBindJSON(&req); err1 != nil { + e.OutErr(c, e.ERR_INVALID_ARGS, err1.Error()) + return + } + + err, resp := svc.PageSendRedPackageOrd(*req) + if err != nil { + e.OutErr(c, e.ERR, err.Error()) + return + } + + e.OutSuc(c, resp, nil) +} + +// RedPackageRecordsDetail +// @Summary Im-红包记录(详情) +// @Tags 红包记录 +// @Description 红包记录(详情) +// @Accept json +// @Produce json +// @param Authorization header string true "验证参数Bearer和token空格拼接" +// @Param red_package_id query string true "红包id" +// @Success 200 {string} "success" +// @Failure 400 {object} md.Response "具体错误" +// @Router /api/im/redPackageRecordsDetail [GET] +func RedPackageRecordsDetail(c *gin.Context) { + redPackageId := c.DefaultQuery("red_package_id", "") + err, resp := svc.RedPackageRecordsDetail(redPackageId) + if err != nil { + e.OutErr(c, e.ERR, err.Error()) + return + } + + e.OutSuc(c, resp, nil) +} diff --git a/app/hdl/notice/hdl_aliyun_sms.go b/app/hdl/notice/hdl_aliyun_sms.go index 944810f..b34503a 100644 --- a/app/hdl/notice/hdl_aliyun_sms.go +++ b/app/hdl/notice/hdl_aliyun_sms.go @@ -12,8 +12,8 @@ import ( // @Accept json // @Produce json // @param Authorization header string true "验证参数Bearer和token空格拼接" -// @Param req body true "参数 file-----文件上传格式" -// @Success 200 {object} "phone 一个数组" +// @Param file formData string true "参数 file-----文件上传格式" +// @Success 200 {string} "phone 一个数组" // @Failure 400 {object} md.Response "具体错误" // @Router /api/notice/aliyunSms/file/phone [post] func AliyunSmsFilePhone(c *gin.Context) { @@ -41,7 +41,7 @@ func AliyunSmsBase(c *gin.Context) { // @Accept json // @Produce json // @param Authorization header string true "验证参数Bearer和token空格拼接" -// @Param req body true "数组 把列表的数组传过来" +// @Param req body string true "数组 把列表的数组传过来" // @Success 200 {string} "具体数据" // @Failure 400 {object} md.Response "具体错误" // @Router /api/notice/aliyunSms/save [post] @@ -70,7 +70,7 @@ func AliyunSmsSaleBase(c *gin.Context) { // @Accept json // @Produce json // @param Authorization header string true "验证参数Bearer和token空格拼接" -// @Param req body true "数组 把列表的数组传过来" +// @Param req body string true "数组 把列表的数组传过来" // @Success 200 {string} "具体数据" // @Failure 400 {object} md.Response "具体错误" // @Router /api/notice/aliyunSms/sale/save [post] diff --git a/app/router/router.go b/app/router/router.go index 98f1921..e152814 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -249,6 +249,8 @@ func rIm(r *gin.RouterGroup) { r.POST("/addCustomerService", im.AddCustomerService) r.POST("/setCustomerServiceState", im.SetCustomerServiceState) r.POST("/updateCustomerServiceMemo", im.UpdateCustomerServiceMemo) + r.GET("/redPackageRecordsDetail", im.RedPackageRecordsDetail) + r.POST("/pageSendRedPackageOrd", im.PageSendRedPackageOrd) } func rFinancialCenter(r *gin.RouterGroup) { diff --git a/docs/docs.go b/docs/docs.go index ae12dbf..459483f 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -24,9 +24,9 @@ const docTemplate = `{ "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { - "/api/comm/getOssUrl": { + "/api/advertising/base": { "get": { - "description": "上传许可链接(获取)", + "description": "广告管理-广告设置-信息", "consumes": [ "application/json" ], @@ -34,9 +34,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "对象存储" + "广告管理" ], - "summary": "通用请求-对象存储-上传许可链接(获取)", + "summary": "广告管理-广告设置-信息", "parameters": [ { "type": "string", @@ -48,9 +48,9 @@ const docTemplate = `{ ], "responses": { "200": { - "description": "许可链接", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.NoticeAliyunSmsListResp" } }, "400": { @@ -62,9 +62,9 @@ const docTemplate = `{ } } }, - "/api/comm/oss/getBasic": { - "get": { - "description": "对象存储设置(获取)", + "/api/article/cate/del": { + "post": { + "description": "分类列表-分类删除", "consumes": [ "application/json" ], @@ -72,9 +72,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "对象存储" + "文章资讯" ], - "summary": "设置中心-对象存储-对象存储设置(获取)", + "summary": "文章资讯-分类列表-分类删除", "parameters": [ { "type": "string", @@ -82,13 +82,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ArticleCateDelReq" + } } ], "responses": { "200": { - "description": "设置列表", + "description": "具体数据", "schema": { - "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.GetBasicResp" + "type": "string" } }, "400": { @@ -100,9 +109,9 @@ const docTemplate = `{ } } }, - "/api/comm/oss/setBasic": { + "/api/article/cate/list": { "post": { - "description": "对象存储设置(更新)", + "description": "分类列表", "consumes": [ "application/json" ], @@ -110,9 +119,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "对象存储" + "文章资讯" ], - "summary": "设置中心-对象存储-对象存储设置(更新)", + "summary": "文章资讯-分类列表", "parameters": [ { "type": "string", @@ -122,20 +131,20 @@ const docTemplate = `{ "required": true }, { - "description": "上传需要修改的信息", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.SetBasicReq" + "$ref": "#/definitions/md.ArticleCateListReq" } } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.ArticleCateListResp" } }, "400": { @@ -147,9 +156,9 @@ const docTemplate = `{ } } }, - "/api/demo": { + "/api/article/cate/save": { "post": { - "description": "Demo样例测试", + "description": "分类列表-分类保存", "consumes": [ "application/json" ], @@ -157,24 +166,32 @@ const docTemplate = `{ "application/json" ], "tags": [ - "Demo" + "文章资讯" ], - "summary": "Demo测试", + "summary": "文章资讯-分类列表-分类保存", "parameters": [ { - "description": "用户名密码", + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, - "schema": {} + "schema": { + "$ref": "#/definitions/md.ArticleCateSaveReq" + } } ], "responses": { "200": { - "description": "token", + "description": "具体数据", "schema": { - "type": "object", - "additionalProperties": true + "type": "string" } }, "400": { @@ -186,9 +203,9 @@ const docTemplate = `{ } } }, - "/api/financialCenter/withdraw/applyList": { + "/api/article/content/del": { "post": { - "description": "提现申请列表(获取)", + "description": "文章列表-文章删除", "consumes": [ "application/json" ], @@ -196,9 +213,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "提现" + "文章资讯" ], - "summary": "财务中心-提现-提现申请列表(获取)", + "summary": "文章资讯-文章列表-文章删除", "parameters": [ { "type": "string", @@ -208,11 +225,12 @@ const docTemplate = `{ "required": true }, { - "description": "筛选条件", + "description": "(分页信息必填)", "name": "req", "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/md.GetWithdrawApplyListReq" + "$ref": "#/definitions/md.ArticleDelReq" } } ], @@ -220,7 +238,7 @@ const docTemplate = `{ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetWithdrawApplyListResp" + "type": "string" } }, "400": { @@ -232,9 +250,9 @@ const docTemplate = `{ } } }, - "/api/financialCenter/withdraw/setting": { - "get": { - "description": "基础设置(获取)", + "/api/article/content/list": { + "post": { + "description": "文章列表", "consumes": [ "application/json" ], @@ -242,9 +260,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "提现" + "文章资讯" ], - "summary": "财务中心-提现-基础设置(获取)", + "summary": "文章资讯-文章列表", "parameters": [ { "type": "string", @@ -252,13 +270,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ArticleListReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetWithdrawSettingResp" + "$ref": "#/definitions/md.ArticleListResp" } }, "400": { @@ -270,9 +297,9 @@ const docTemplate = `{ } } }, - "/api/financialCenter/withdraw/updateWithdrawSetting": { + "/api/article/content/save": { "post": { - "description": "基础设置(更新)", + "description": "文章列表-文章保存", "consumes": [ "application/json" ], @@ -280,9 +307,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "提现" + "文章资讯" ], - "summary": "财务中心-提现-基础设置(更新)", + "summary": "文章资讯-文章列表-文章保存", "parameters": [ { "type": "string", @@ -292,20 +319,20 @@ const docTemplate = `{ "required": true }, { - "description": "id 必填", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateWithdrawSettingReq" + "$ref": "#/definitions/md.ArticleSaveReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "具体数据", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -317,9 +344,9 @@ const docTemplate = `{ } } }, - "/api/im/addCustomerService": { - "post": { - "description": "客服(新增)", + "/api/comm/getOssUrl": { + "get": { + "description": "上传许可链接(获取)", "consumes": [ "application/json" ], @@ -327,9 +354,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "客服" + "对象存储" ], - "summary": "Im-客服(新增)", + "summary": "通用请求-对象存储-上传许可链接(获取)", "parameters": [ { "type": "string", @@ -337,20 +364,11 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "相关参数", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.AddCustomerServiceReq" - } } ], "responses": { "200": { - "description": "success", + "description": "许可链接", "schema": { "type": "string" } @@ -364,9 +382,9 @@ const docTemplate = `{ } } }, - "/api/im/addEmoticon": { - "post": { - "description": "表情包(新增)", + "/api/comm/oss/getBasic": { + "get": { + "description": "对象存储设置(获取)", "consumes": [ "application/json" ], @@ -374,9 +392,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "表情包" + "对象存储" ], - "summary": "Im-表情包(新增)", + "summary": "设置中心-对象存储-对象存储设置(获取)", "parameters": [ { "type": "string", @@ -384,22 +402,13 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "相关参数", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.AddEmoticonReq" - } } ], "responses": { "200": { - "description": "success", + "description": "设置列表", "schema": { - "type": "string" + "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.GetBasicResp" } }, "400": { @@ -411,9 +420,9 @@ const docTemplate = `{ } } }, - "/api/im/deleteEmoticon": { + "/api/comm/oss/setBasic": { "post": { - "description": "表情包(删除)", + "description": "对象存储设置(更新)", "consumes": [ "application/json" ], @@ -421,9 +430,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "表情包" + "对象存储" ], - "summary": "Im-表情包(删除)", + "summary": "设置中心-对象存储-对象存储设置(更新)", "parameters": [ { "type": "string", @@ -433,12 +442,12 @@ const docTemplate = `{ "required": true }, { - "description": "相关参数", + "description": "上传需要修改的信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteEmoticonReq" + "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.SetBasicReq" } } ], @@ -458,9 +467,9 @@ const docTemplate = `{ } } }, - "/api/im/getBasic": { - "get": { - "description": "基础设置(获取)", + "/api/demo": { + "post": { + "description": "Demo样例测试", "consumes": [ "application/json" ], @@ -468,23 +477,24 @@ const docTemplate = `{ "application/json" ], "tags": [ - "基础设置" + "Demo" ], - "summary": "Im-基础设置(获取)", + "summary": "Demo测试", "parameters": [ { - "type": "string", - "description": "验证参数Bearer和token空格拼接", - "name": "Authorization", - "in": "header", - "required": true + "description": "用户名密码", + "name": "req", + "in": "body", + "required": true, + "schema": {} } ], "responses": { "200": { - "description": "设置列表", + "description": "token", "schema": { - "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + "type": "object", + "additionalProperties": true } }, "400": { @@ -496,9 +506,9 @@ const docTemplate = `{ } } }, - "/api/im/pageCustomerService": { + "/api/financialCenter/withdraw/applyList": { "post": { - "description": "客服(列表)", + "description": "提现申请列表(获取)", "consumes": [ "application/json" ], @@ -506,9 +516,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "客服" + "提现" ], - "summary": "Im-客服(列表)", + "summary": "财务中心-提现-提现申请列表(获取)", "parameters": [ { "type": "string", @@ -518,20 +528,19 @@ const docTemplate = `{ "required": true }, { - "description": "相关参数", + "description": "筛选条件", "name": "req", "in": "body", - "required": true, "schema": { - "$ref": "#/definitions/md.PageCustomerServiceReq" + "$ref": "#/definitions/md.GetWithdrawApplyListReq" } } ], "responses": { "200": { - "description": "设置列表", + "description": "具体数据", "schema": { - "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + "$ref": "#/definitions/md.GetWithdrawApplyListResp" } }, "400": { @@ -543,9 +552,9 @@ const docTemplate = `{ } } }, - "/api/im/pageEmoticon": { - "post": { - "description": "表情包(列表)", + "/api/financialCenter/withdraw/setting": { + "get": { + "description": "基础设置(获取)", "consumes": [ "application/json" ], @@ -553,9 +562,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "表情包" + "提现" ], - "summary": "Im-表情包(列表)", + "summary": "财务中心-提现-基础设置(获取)", "parameters": [ { "type": "string", @@ -563,22 +572,13 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "相关参数", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.PageEmoticonReq" - } } ], "responses": { "200": { - "description": "设置列表", + "description": "具体数据", "schema": { - "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + "$ref": "#/definitions/md.GetWithdrawSettingResp" } }, "400": { @@ -590,7 +590,7 @@ const docTemplate = `{ } } }, - "/api/im/setBasic": { + "/api/financialCenter/withdraw/updateWithdrawSetting": { "post": { "description": "基础设置(更新)", "consumes": [ @@ -600,9 +600,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "基础设置" + "提现" ], - "summary": "Im-基础设置(更新)", + "summary": "财务中心-提现-基础设置(更新)", "parameters": [ { "type": "string", @@ -612,20 +612,20 @@ const docTemplate = `{ "required": true }, { - "description": "上传需要修改的信息", + "description": "id 必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/applet_app_md_im.SetBasicReq" + "$ref": "#/definitions/md.UpdateWithdrawSettingReq" } } ], "responses": { "200": { - "description": "success", + "description": "修改数据条数", "schema": { - "type": "string" + "type": "int" } }, "400": { @@ -637,9 +637,9 @@ const docTemplate = `{ } } }, - "/api/im/setCustomerServiceState": { + "/api/im/addCustomerService": { "post": { - "description": "客服(更新状态)", + "description": "客服(新增)", "consumes": [ "application/json" ], @@ -649,7 +649,7 @@ const docTemplate = `{ "tags": [ "客服" ], - "summary": "Im-客服(更新状态)", + "summary": "Im-客服(新增)", "parameters": [ { "type": "string", @@ -664,7 +664,7 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.SetCustomerServiceStateReq" + "$ref": "#/definitions/md.AddCustomerServiceReq" } } ], @@ -684,7 +684,7 @@ const docTemplate = `{ } } }, - "/api/im/setEmoticonState": { + "/api/im/addEmoticon": { "post": { "description": "表情包(新增)", "consumes": [ @@ -696,7 +696,7 @@ const docTemplate = `{ "tags": [ "表情包" ], - "summary": "Im-表情包(更新状态)", + "summary": "Im-表情包(新增)", "parameters": [ { "type": "string", @@ -711,7 +711,7 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.SetEmoticonStateReq" + "$ref": "#/definitions/md.AddEmoticonReq" } } ], @@ -731,9 +731,9 @@ const docTemplate = `{ } } }, - "/api/im/updateCustomerServiceMemo": { + "/api/im/deleteEmoticon": { "post": { - "description": "客服(编辑备注)", + "description": "表情包(删除)", "consumes": [ "application/json" ], @@ -741,9 +741,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "客服" + "表情包" ], - "summary": "Im-客服(编辑备注)", + "summary": "Im-表情包(删除)", "parameters": [ { "type": "string", @@ -758,7 +758,7 @@ const docTemplate = `{ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateCustomerServiceMemoReq" + "$ref": "#/definitions/md.DeleteEmoticonReq" } } ], @@ -778,9 +778,9 @@ const docTemplate = `{ } } }, - "/api/im/updateEmoticon": { - "post": { - "description": "表情包(编辑)", + "/api/im/getBasic": { + "get": { + "description": "基础设置(获取)", "consumes": [ "application/json" ], @@ -788,9 +788,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "表情包" + "基础设置" ], - "summary": "Im-表情包(编辑)", + "summary": "Im-基础设置(获取)", "parameters": [ { "type": "string", @@ -798,22 +798,60 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, + } + ], + "responses": { + "200": { + "description": "设置列表", + "schema": { + "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/im/pageCustomerService": { + "post": { + "description": "客服(列表)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "客服" + ], + "summary": "Im-客服(列表)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, { "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEmoticonReq" + "$ref": "#/definitions/md.PageCustomerServiceReq" } } ], "responses": { "200": { - "description": "success", + "description": "设置列表", "schema": { - "type": "string" + "$ref": "#/definitions/applet_app_md_im.GetBasicResp" } }, "400": { @@ -825,9 +863,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/addVipSetting": { + "/api/im/pageEmoticon": { "post": { - "description": "会员设置(新增)", + "description": "表情包(列表)", "consumes": [ "application/json" ], @@ -835,9 +873,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "表情包" ], - "summary": "制度中心-蛋蛋能量-会员设置(新增)", + "summary": "Im-表情包(列表)", "parameters": [ { "type": "string", @@ -847,20 +885,20 @@ const docTemplate = `{ "required": true }, { - "description": "system_id 必填", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" + "$ref": "#/definitions/md.PageEmoticonReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "设置列表", "schema": { - "type": "int" + "$ref": "#/definitions/applet_app_md_im.GetBasicResp" } }, "400": { @@ -872,9 +910,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/availableEnergy/list": { + "/api/im/pageSendRedPackageOrd": { "post": { - "description": "动态数据流水(获取)", + "description": "红包记录(列表)", "consumes": [ "application/json" ], @@ -882,9 +920,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "红包记录" ], - "summary": "制度中心-动态数据-动态数据流水(获取)", + "summary": "Im-红包记录(列表)", "parameters": [ { "type": "string", @@ -894,20 +932,20 @@ const docTemplate = `{ "required": true }, { - "description": "页数、每页大小必传 起止时间、持有类型选传", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DynamicDataFlowListReq" + "$ref": "#/definitions/md.PageSendRedPackageOrdReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { - "$ref": "#/definitions/md.DynamicDataFlowListResp" + "type": "string" } }, "400": { @@ -919,9 +957,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/contributionValue/basic": { + "/api/im/redPackageRecordsDetail": { "get": { - "description": "贡献值-基础设置(获取)", + "description": "红包记录(详情)", "consumes": [ "application/json" ], @@ -929,9 +967,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "贡献值" + "红包记录" ], - "summary": "制度中心-蛋蛋能量-贡献值-基础设置(获取)", + "summary": "Im-红包记录(详情)", "parameters": [ { "type": "string", @@ -939,13 +977,20 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "type": "string", + "description": "红包id", + "name": "red_package_id", + "in": "query", + "required": true } ], "responses": { "200": { - "description": "具体数据", + "description": "success", "schema": { - "$ref": "#/definitions/md.GetContributionValueBasicSettingResp" + "type": "string" } }, "400": { @@ -957,9 +1002,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/contributionValue/updateBasic": { + "/api/im/setBasic": { "post": { - "description": "贡献值-基础设置(更新)", + "description": "基础设置(更新)", "consumes": [ "application/json" ], @@ -967,9 +1012,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "贡献值" + "基础设置" ], - "summary": "制度中心-蛋蛋能量-贡献值-基础设置(更新)", + "summary": "Im-基础设置(更新)", "parameters": [ { "type": "string", @@ -979,20 +1024,20 @@ const docTemplate = `{ "required": true }, { - "description": "id 必填", + "description": "上传需要修改的信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateContributionValueBasicSettingReq" + "$ref": "#/definitions/applet_app_md_im.SetBasicReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "success", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -1004,9 +1049,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/eggPoint/manualScore": { + "/api/im/setCustomerServiceState": { "post": { - "description": "蛋蛋分管理(人工打分)", + "description": "客服(更新状态)", "consumes": [ "application/json" ], @@ -1014,9 +1059,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "客服" ], - "summary": "制度中心-蛋蛋能量-蛋蛋分管理(人工打分)", + "summary": "Im-客服(更新状态)", "parameters": [ { "type": "string", @@ -1026,18 +1071,18 @@ const docTemplate = `{ "required": true }, { - "description": "请求参数", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ManualScoreReq" + "$ref": "#/definitions/md.SetCustomerServiceStateReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { "type": "string" } @@ -1051,9 +1096,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/eggPoint/statisticsUserEggIndex": { + "/api/im/setEmoticonState": { "post": { - "description": "蛋蛋分管理(着陆页数据分析)", + "description": "表情包(新增)", "consumes": [ "application/json" ], @@ -1061,9 +1106,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "表情包" ], - "summary": "制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据分析)", + "summary": "Im-表情包(更新状态)", "parameters": [ { "type": "string", @@ -1073,20 +1118,20 @@ const docTemplate = `{ "required": true }, { - "description": "请求参数", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.StatisticsEggPointReq" + "$ref": "#/definitions/md.SetEmoticonStateReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { - "$ref": "#/definitions/md.StatisticsEggPointResp" + "type": "string" } }, "400": { @@ -1098,9 +1143,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/eggPoint/userEggFlow": { + "/api/im/updateCustomerServiceMemo": { "post": { - "description": "蛋蛋分管理(用户数据列表)", + "description": "客服(编辑备注)", "consumes": [ "application/json" ], @@ -1108,9 +1153,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "客服" ], - "summary": "制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表)", + "summary": "Im-客服(编辑备注)", "parameters": [ { "type": "string", @@ -1120,20 +1165,20 @@ const docTemplate = `{ "required": true }, { - "description": "请求参数", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UserEggFlowReq" + "$ref": "#/definitions/md.UpdateCustomerServiceMemoReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { - "$ref": "#/definitions/md.UserEggFlowReqResp" + "type": "string" } }, "400": { @@ -1145,9 +1190,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/getBasic": { - "get": { - "description": "基础设置(获取)", + "/api/im/updateEmoticon": { + "post": { + "description": "表情包(编辑)", "consumes": [ "application/json" ], @@ -1155,9 +1200,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "表情包" ], - "summary": "制度中心-蛋蛋能量-基础设置(获取)", + "summary": "Im-表情包(编辑)", "parameters": [ { "type": "string", @@ -1165,13 +1210,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "相关参数", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateEmoticonReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "success", "schema": { - "$ref": "#/definitions/md.GetEggEnergyBasicResp" + "type": "string" } }, "400": { @@ -1183,9 +1237,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/getVipSetting": { - "get": { - "description": "基础会员设置(获取)", + "/api/institutionalManagement/eggEnergy/addVipSetting": { + "post": { + "description": "会员设置(新增)", "consumes": [ "application/json" ], @@ -1195,7 +1249,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-基础会员设置(获取)", + "summary": "制度中心-蛋蛋能量-会员设置(新增)", "parameters": [ { "type": "string", @@ -1203,13 +1257,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "system_id 必填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "修改数据条数", "schema": { - "$ref": "#/definitions/md.GetEggEnergyVipSettingResp" + "type": "int" } }, "400": { @@ -1221,9 +1284,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/getVirtualCoinList": { - "get": { - "description": "查询所有币种(获取)", + "/api/institutionalManagement/eggEnergy/availableEnergy/list": { + "post": { + "description": "动态数据流水(获取)", "consumes": [ "application/json" ], @@ -1231,9 +1294,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "公排管理" ], - "summary": "制度中心-蛋蛋能量-查询所有币种(获取)", + "summary": "制度中心-动态数据-动态数据流水(获取)", "parameters": [ { "type": "string", @@ -1241,16 +1304,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "页数、每页大小必传 起止时间、持有类型选传", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DynamicDataFlowListReq" + } } ], "responses": { "200": { "description": "成功返回", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/md.VirtualCoin" - } + "$ref": "#/definitions/md.DynamicDataFlowListResp" } }, "400": { @@ -1262,9 +1331,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/globalData/coreDataList": { + "/api/institutionalManagement/eggEnergy/contributionValue/basic": { "get": { - "description": "数据概览(获取)", + "description": "贡献值-基础设置(获取)", "consumes": [ "application/json" ], @@ -1272,9 +1341,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "贡献值" ], - "summary": "制度中心-蛋蛋能量-数据概览(获取)", + "summary": "制度中心-蛋蛋能量-贡献值-基础设置(获取)", "parameters": [ { "type": "string", @@ -1288,7 +1357,7 @@ const docTemplate = `{ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetEggCoreDataListResp" + "$ref": "#/definitions/md.GetContributionValueBasicSettingResp" } }, "400": { @@ -1300,9 +1369,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/globalData/fundDataAdd": { + "/api/institutionalManagement/eggEnergy/contributionValue/updateBasic": { "post": { - "description": "价值明细数据(新增)", + "description": "贡献值-基础设置(更新)", "consumes": [ "application/json" ], @@ -1310,9 +1379,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "蛋蛋能量" + "贡献值" ], - "summary": "制度中心-蛋蛋能量-价值明细数据(新增)", + "summary": "制度中心-蛋蛋能量-贡献值-基础设置(更新)", "parameters": [ { "type": "string", @@ -1322,18 +1391,18 @@ const docTemplate = `{ "required": true }, { - "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", + "description": "id 必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddFundDataReq" + "$ref": "#/definitions/md.UpdateContributionValueBasicSettingReq" } } ], "responses": { "200": { - "description": "插入数据 id", + "description": "修改数据条数", "schema": { "type": "int" } @@ -1347,9 +1416,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/globalData/fundDataList": { + "/api/institutionalManagement/eggEnergy/eggPoint/manualScore": { "post": { - "description": "新增数据列表(获取)", + "description": "蛋蛋分管理(人工打分)", "consumes": [ "application/json" ], @@ -1359,7 +1428,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-新增数据列表(获取)", + "summary": "制度中心-蛋蛋能量-蛋蛋分管理(人工打分)", "parameters": [ { "type": "string", @@ -1369,20 +1438,20 @@ const docTemplate = `{ "required": true }, { - "description": "分页信息必填", + "description": "请求参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetFundDataListReq" + "$ref": "#/definitions/md.ManualScoreReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetFundDataListResp" + "type": "string" } }, "400": { @@ -1394,9 +1463,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/globalData/fundDataRecordList": { + "/api/institutionalManagement/eggEnergy/eggPoint/statisticsUserEggIndex": { "post": { - "description": "新增数据列表详情(查询)", + "description": "蛋蛋分管理(着陆页数据分析)", "consumes": [ "application/json" ], @@ -1406,7 +1475,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-新增数据列表详情(查询)", + "summary": "制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据分析)", "parameters": [ { "type": "string", @@ -1416,20 +1485,20 @@ const docTemplate = `{ "required": true }, { - "description": "获取到的 system_id 以及分页信息", + "description": "请求参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetFundDataRecordListReq" + "$ref": "#/definitions/md.StatisticsEggPointReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetFundDataRecordListResp" + "$ref": "#/definitions/md.StatisticsEggPointResp" } }, "400": { @@ -1441,9 +1510,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve": { - "get": { - "description": "价格趋势(获取)", + "/api/institutionalManagement/eggEnergy/eggPoint/userEggFlow": { + "post": { + "description": "蛋蛋分管理(用户数据列表)", "consumes": [ "application/json" ], @@ -1453,7 +1522,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-价格趋势(获取)", + "summary": "制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表)", "parameters": [ { "type": "string", @@ -1463,17 +1532,20 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "1:按天 2:按小时 3:按周", - "name": "kind", - "in": "query" + "description": "请求参数", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UserEggFlowReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetPriceCurveResp" + "$ref": "#/definitions/md.UserEggFlowReqResp" } }, "400": { @@ -1485,9 +1557,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/getVideoReward": { - "post": { - "description": "激励视频(获取)", + "/api/institutionalManagement/eggEnergy/getBasic": { + "get": { + "description": "基础设置(获取)", "consumes": [ "application/json" ], @@ -1497,7 +1569,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-激励视频(获取)", + "summary": "制度中心-蛋蛋能量-基础设置(获取)", "parameters": [ { "type": "string", @@ -1505,22 +1577,13 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "落地页不填页大小默认20条数据", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.SetVideoRewardReq" - } } ], "responses": { "200": { - "description": "OK", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetVideoRewardResp" + "$ref": "#/definitions/md.GetEggEnergyBasicResp" } }, "400": { @@ -1532,9 +1595,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueAdd": { - "post": { - "description": "其他广告设置数据(新增)", + "/api/institutionalManagement/eggEnergy/getVipSetting": { + "get": { + "description": "基础会员设置(获取)", "consumes": [ "application/json" ], @@ -1544,7 +1607,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(新增)", + "summary": "制度中心-蛋蛋能量-基础会员设置(获取)", "parameters": [ { "type": "string", @@ -1552,22 +1615,13 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.AddPlatformRevenueReq" - } } ], "responses": { "200": { - "description": "插入数据 id", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.GetEggEnergyVipSettingResp" } }, "400": { @@ -1579,9 +1633,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueList": { - "post": { - "description": "其他广告设置数据(获取)", + "/api/institutionalManagement/eggEnergy/getVirtualCoinList": { + "get": { + "description": "查询所有币种(获取)", "consumes": [ "application/json" ], @@ -1591,7 +1645,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(获取)", + "summary": "制度中心-蛋蛋能量-查询所有币种(获取)", "parameters": [ { "type": "string", @@ -1599,22 +1653,16 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "分页信息必填", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.ListPlatformRevenueReq" - } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.ListPlatformRevenueResp" + "type": "array", + "items": { + "$ref": "#/definitions/md.VirtualCoin" + } } }, "400": { @@ -1626,9 +1674,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/setVideoReward": { - "post": { - "description": "激励视频(设置)", + "/api/institutionalManagement/eggEnergy/globalData/coreDataList": { + "get": { + "description": "数据概览(获取)", "consumes": [ "application/json" ], @@ -1638,7 +1686,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-激励视频(设置)", + "summary": "制度中心-蛋蛋能量-数据概览(获取)", "parameters": [ { "type": "string", @@ -1646,22 +1694,13 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "落地页不填页大小默认20条数据", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.SetVideoRewardReq" - } } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.GetEggCoreDataListResp" } }, "400": { @@ -1673,9 +1712,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/updateBasic": { + "/api/institutionalManagement/eggEnergy/globalData/fundDataAdd": { "post": { - "description": "基础设置(更新)", + "description": "价值明细数据(新增)", "consumes": [ "application/json" ], @@ -1685,7 +1724,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-基础设置(更新)", + "summary": "制度中心-蛋蛋能量-价值明细数据(新增)", "parameters": [ { "type": "string", @@ -1695,18 +1734,18 @@ const docTemplate = `{ "required": true }, { - "description": "system_id 必填", + "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEggEnergyBasicReq" + "$ref": "#/definitions/md.AddFundDataReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "插入数据 id", "schema": { "type": "int" } @@ -1720,9 +1759,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/updateVipSetting": { + "/api/institutionalManagement/eggEnergy/globalData/fundDataList": { "post": { - "description": "会员设置(更新)", + "description": "新增数据列表(获取)", "consumes": [ "application/json" ], @@ -1732,7 +1771,7 @@ const docTemplate = `{ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-会员设置(更新)", + "summary": "制度中心-蛋蛋能量-新增数据列表(获取)", "parameters": [ { "type": "string", @@ -1742,20 +1781,20 @@ const docTemplate = `{ "required": true }, { - "description": "填入修改后的列表(会员等级名称、兑换余额手续费、分红比例)", + "description": "分页信息必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" + "$ref": "#/definitions/md.GetFundDataListReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.GetFundDataListResp" } }, "400": { @@ -1767,9 +1806,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinFlowList": { + "/api/institutionalManagement/eggEnergy/globalData/fundDataRecordList": { "post": { - "description": "蛋蛋能量流水(查询)", + "description": "新增数据列表详情(查询)", "consumes": [ "application/json" ], @@ -1777,9 +1816,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-活跃积分持有者明细-蛋蛋能量流水(查询)", + "summary": "制度中心-蛋蛋能量-新增数据列表详情(查询)", "parameters": [ { "type": "string", @@ -1789,20 +1828,20 @@ const docTemplate = `{ "required": true }, { - "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", + "description": "获取到的 system_id 以及分页信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq" + "$ref": "#/definitions/md.GetFundDataRecordListReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp" + "$ref": "#/definitions/md.GetFundDataRecordListResp" } }, "400": { @@ -1814,9 +1853,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinList": { - "post": { - "description": "蛋蛋能量明细(获取)", + "/api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve": { + "get": { + "description": "价格趋势(获取)", "consumes": [ "application/json" ], @@ -1824,9 +1863,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-活跃积分持有者明细-蛋蛋能量明细(获取)", + "summary": "制度中心-蛋蛋能量-价格趋势(获取)", "parameters": [ { "type": "string", @@ -1836,19 +1875,17 @@ const docTemplate = `{ "required": true }, { - "description": "落地页不填页大小默认20条数据", - "name": "req", - "in": "body", - "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinListReq" - } + "type": "string", + "description": "1:按天 2:按小时 3:按周", + "name": "kind", + "in": "query" } ], "responses": { "200": { - "description": "成功返回", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinListResp" + "$ref": "#/definitions/md.GetPriceCurveResp" } }, "400": { @@ -1860,9 +1897,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/eggPointsUserCoinList": { + "/api/institutionalManagement/eggEnergy/platformRevenue/getVideoReward": { "post": { - "description": "蛋蛋积分持有者明细(获取)", + "description": "激励视频(获取)", "consumes": [ "application/json" ], @@ -1870,9 +1907,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-绿色能量持有者明细-蛋蛋积分持有者明细(获取)", + "summary": "制度中心-蛋蛋能量-平台营收-激励视频(获取)", "parameters": [ { "type": "string", @@ -1885,16 +1922,17 @@ const docTemplate = `{ "description": "落地页不填页大小默认20条数据", "name": "req", "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq" + "$ref": "#/definitions/md.SetVideoRewardReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "OK", "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp" + "$ref": "#/definitions/md.GetVideoRewardResp" } }, "400": { @@ -1906,9 +1944,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/getEggPointsUserCoinFlowList": { + "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueAdd": { "post": { - "description": "蛋蛋积分流水明细(查询)", + "description": "其他广告设置数据(新增)", "consumes": [ "application/json" ], @@ -1916,9 +1954,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-绿色能量持有者明细-蛋蛋积分流水明细(查询)", + "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(新增)", "parameters": [ { "type": "string", @@ -1928,20 +1966,20 @@ const docTemplate = `{ "required": true }, { - "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", + "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq" + "$ref": "#/definitions/md.AddPlatformRevenueReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "插入数据 id", "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp" + "type": "int" } }, "400": { @@ -1953,9 +1991,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { + "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueList": { "post": { - "description": "社区分红(新增)", + "description": "其他广告设置数据(获取)", "consumes": [ "application/json" ], @@ -1963,9 +2001,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区分红(新增)", + "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(获取)", "parameters": [ { "type": "string", @@ -1975,20 +2013,20 @@ const docTemplate = `{ "required": true }, { - "description": "分红名称、分红总量", + "description": "分页信息必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddCommunityDividendsReq" + "$ref": "#/definitions/md.ListPlatformRevenueReq" } } ], "responses": { "200": { - "description": "成功", + "description": "具体数据", "schema": { - "type": "success" + "$ref": "#/definitions/md.ListPlatformRevenueResp" } }, "400": { @@ -2000,9 +2038,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": { + "/api/institutionalManagement/eggEnergy/platformRevenue/setVideoReward": { "post": { - "description": "社区分红(查询)", + "description": "激励视频(设置)", "consumes": [ "application/json" ], @@ -2010,9 +2048,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区分红(查询)", + "summary": "制度中心-蛋蛋能量-平台营收-激励视频(设置)", "parameters": [ { "type": "string", @@ -2022,20 +2060,20 @@ const docTemplate = `{ "required": true }, { - "description": "页数、每页大小必填 起止时间、起止数量选填", + "description": "落地页不填页大小默认20条数据", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsReq" + "$ref": "#/definitions/md.SetVideoRewardReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "success", "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsResp" + "type": "string" } }, "400": { @@ -2047,9 +2085,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": { + "/api/institutionalManagement/eggEnergy/updateBasic": { "post": { - "description": "社区长列表(新增)", + "description": "基础设置(更新)", "consumes": [ "application/json" ], @@ -2057,9 +2095,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区长列表(新增)", + "summary": "制度中心-蛋蛋能量-基础设置(更新)", "parameters": [ { "type": "string", @@ -2069,18 +2107,18 @@ const docTemplate = `{ "required": true }, { - "description": "新增社区长 ID、备注", + "description": "system_id 必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq" + "$ref": "#/definitions/md.UpdateEggEnergyBasicReq" } } ], "responses": { "200": { - "description": "插入数据 ID", + "description": "修改数据条数", "schema": { "type": "int" } @@ -2094,9 +2132,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": { + "/api/institutionalManagement/eggEnergy/updateVipSetting": { "post": { - "description": "社区长列表(查询)", + "description": "会员设置(更新)", "consumes": [ "application/json" ], @@ -2104,9 +2142,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区长列表(查询)", + "summary": "制度中心-蛋蛋能量-会员设置(更新)", "parameters": [ { "type": "string", @@ -2116,20 +2154,20 @@ const docTemplate = `{ "required": true }, { - "description": "页数、每页大小必填 手机号、用户ID选填", + "description": "填入修改后的列表(会员等级名称、兑换余额手续费、分红比例)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq" + "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" } } ], "responses": { "200": { - "description": "社区长列表", + "description": "修改数据条数", "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp" + "type": "int" } }, "400": { @@ -2141,9 +2179,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": { + "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinFlowList": { "post": { - "description": "关系分布图(位置转换)", + "description": "蛋蛋能量流水(查询)", "consumes": [ "application/json" ], @@ -2153,7 +2191,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(位置转换)", + "summary": "制度中心-活跃积分持有者明细-蛋蛋能量流水(查询)", "parameters": [ { "type": "string", @@ -2163,12 +2201,12 @@ const docTemplate = `{ "required": true }, { - "description": "需要交换的两个位置", + "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ExchangeUserPositionReq" + "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq" } } ], @@ -2176,7 +2214,7 @@ const docTemplate = `{ "200": { "description": "成功返回", "schema": { - "type": "" + "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp" } }, "400": { @@ -2188,9 +2226,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": { - "get": { - "description": "关系分布图(获取指定用户上级)", + "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinList": { + "post": { + "description": "蛋蛋能量明细(获取)", "consumes": [ "application/json" ], @@ -2200,7 +2238,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)", + "summary": "制度中心-活跃积分持有者明细-蛋蛋能量明细(获取)", "parameters": [ { "type": "string", @@ -2210,18 +2248,19 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "用户ID", - "name": "uid", - "in": "query", - "required": true + "description": "落地页不填页大小默认20条数据", + "name": "req", + "in": "body", + "schema": { + "$ref": "#/definitions/md.GetActivePointsUserCoinListReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.FindSubUserRelationshipMapResp" + "$ref": "#/definitions/md.GetActivePointsUserCoinListResp" } }, "400": { @@ -2233,9 +2272,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": { - "get": { - "description": "关系分布图(获取指定用户下级)", + "/api/institutionalManagement/eggEnergy/userCoin/eggPointsUserCoinList": { + "post": { + "description": "蛋蛋积分持有者明细(获取)", "consumes": [ "application/json" ], @@ -2245,7 +2284,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)", + "summary": "制度中心-绿色能量持有者明细-蛋蛋积分持有者明细(获取)", "parameters": [ { "type": "string", @@ -2255,18 +2294,19 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "用户ID", - "name": "uid", - "in": "query", - "required": true + "description": "落地页不填页大小默认20条数据", + "name": "req", + "in": "body", + "schema": { + "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.TreeNode" + "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp" } }, "400": { @@ -2278,9 +2318,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/getBasic": { - "get": { - "description": "公排基础设置(获取)", + "/api/institutionalManagement/eggEnergy/userCoin/getEggPointsUserCoinFlowList": { + "post": { + "description": "蛋蛋积分流水明细(查询)", "consumes": [ "application/json" ], @@ -2290,7 +2330,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-公排基础设置(获取)", + "summary": "制度中心-绿色能量持有者明细-蛋蛋积分流水明细(查询)", "parameters": [ { "type": "string", @@ -2298,13 +2338,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetPublicPlatoonBasicResp" + "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp" } }, "400": { @@ -2316,9 +2365,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/delete": { - "delete": { - "description": "免罚用户(删除)", + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { + "post": { + "description": "社区分红(新增)", "consumes": [ "application/json" ], @@ -2328,7 +2377,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-免罚用户(删除)", + "summary": "制度中心-公排管理-社区分红(新增)", "parameters": [ { "type": "string", @@ -2338,20 +2387,20 @@ const docTemplate = `{ "required": true }, { - "description": "免罚用户ID", + "description": "分红名称、分红总量", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteFreePublishUserReq" + "$ref": "#/definitions/md.AddCommunityDividendsReq" } } ], "responses": { "200": { - "description": "删除数据数量", + "description": "成功", "schema": { - "type": "int" + "type": "success" } }, "400": { @@ -2363,9 +2412,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": { + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": { "post": { - "description": "免罚用户(查询)", + "description": "社区分红(查询)", "consumes": [ "application/json" ], @@ -2375,7 +2424,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-免罚用户(查询)", + "summary": "制度中心-公排管理-社区分红(查询)", "parameters": [ { "type": "string", @@ -2385,20 +2434,20 @@ const docTemplate = `{ "required": true }, { - "description": "页数和行数必填,uid选填", + "description": "页数、每页大小必填 起止时间、起止数量选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetFreePublishUserReq" + "$ref": "#/definitions/md.ListCommunityDividendsReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetFreePublishUserResp" + "$ref": "#/definitions/md.ListCommunityDividendsResp" } }, "400": { @@ -2410,9 +2459,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": { + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": { "post": { - "description": "免罚用户(新增)", + "description": "社区长列表(新增)", "consumes": [ "application/json" ], @@ -2422,7 +2471,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-免罚用户(新增)", + "summary": "制度中心-公排管理-社区长列表(新增)", "parameters": [ { "type": "string", @@ -2432,12 +2481,12 @@ const docTemplate = `{ "required": true }, { - "description": "免罚用户ID", + "description": "新增社区长 ID、备注", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddFreePublishUserReq" + "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq" } } ], @@ -2457,9 +2506,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/relationshipMap": { - "get": { - "description": "关系分布图(获取)", + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": { + "post": { + "description": "社区长列表(查询)", "consumes": [ "application/json" ], @@ -2469,7 +2518,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(获取)", + "summary": "制度中心-公排管理-社区长列表(查询)", "parameters": [ { "type": "string", @@ -2479,25 +2528,20 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "phone", - "name": "phone", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "uid", - "name": "uid", - "in": "query", - "required": true + "description": "页数、每页大小必填 手机号、用户ID选填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "社区长列表", "schema": { - "$ref": "#/definitions/md.TreeNode" + "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp" } }, "400": { @@ -2509,9 +2553,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/selectMember": { + "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": { "post": { - "description": "公排基础设置选择会员(查询)", + "description": "关系分布图(位置转换)", "consumes": [ "application/json" ], @@ -2521,7 +2565,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-公排基础设置选择会员(查询)", + "summary": "制度中心-公排管理-关系分布图(位置转换)", "parameters": [ { "type": "string", @@ -2531,20 +2575,20 @@ const docTemplate = `{ "required": true }, { - "description": "分页信息必填", + "description": "需要交换的两个位置", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.SelectMemberReq" + "$ref": "#/definitions/md.ExchangeUserPositionReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.SelectMemberResp" + "type": "" } }, "400": { @@ -2556,9 +2600,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/updateBasic": { - "put": { - "description": "公排基础设置(修改)", + "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": { + "get": { + "description": "关系分布图(获取指定用户上级)", "consumes": [ "application/json" ], @@ -2568,7 +2612,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-公排基础设置(修改)", + "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)", "parameters": [ { "type": "string", @@ -2578,20 +2622,18 @@ const docTemplate = `{ "required": true }, { - "description": "公排设置表单内容", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq" - } + "type": "string", + "description": "用户ID", + "name": "uid", + "in": "query", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.FindSubUserRelationshipMapResp" } }, "400": { @@ -2603,9 +2645,9 @@ const docTemplate = `{ } } }, - "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": { - "post": { - "description": "日活分析", + "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": { + "get": { + "description": "关系分布图(获取指定用户下级)", "consumes": [ "application/json" ], @@ -2615,7 +2657,7 @@ const docTemplate = `{ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-日活分析", + "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)", "parameters": [ { "type": "string", @@ -2625,20 +2667,18 @@ const docTemplate = `{ "required": true }, { - "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.UserDailyActivityAnalysisReq" - } + "type": "string", + "description": "用户ID", + "name": "uid", + "in": "query", + "required": true } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserDailyActivityAnalysisResp" + "$ref": "#/definitions/md.TreeNode" } }, "400": { @@ -2650,9 +2690,9 @@ const docTemplate = `{ } } }, - "/api/login": { - "post": { - "description": "登入", + "/api/institutionalManagement/publicPlatoon/getBasic": { + "get": { + "description": "公排基础设置(获取)", "consumes": [ "application/json" ], @@ -2660,25 +2700,23 @@ const docTemplate = `{ "application/json" ], "tags": [ - "登录" + "公排管理" ], - "summary": "登陆", + "summary": "制度中心-公排管理-公排基础设置(获取)", "parameters": [ { - "description": "用户名密码", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.LoginReq" - } + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true } ], "responses": { "200": { - "description": "token", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.LoginResponse" + "$ref": "#/definitions/md.GetPublicPlatoonBasicResp" } }, "400": { @@ -2690,9 +2728,9 @@ const docTemplate = `{ } } }, - "/api/marketingApplications/newUserRedPackage/getBasic": { - "get": { - "description": "新人红包设置(获取)", + "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/delete": { + "delete": { + "description": "免罚用户(删除)", "consumes": [ "application/json" ], @@ -2700,9 +2738,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包设置(获取)", + "summary": "制度中心-公排管理-免罚用户(删除)", "parameters": [ { "type": "string", @@ -2710,13 +2748,22 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "免罚用户ID", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DeleteFreePublishUserReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "删除数据数量", "schema": { - "$ref": "#/definitions/md.NewUserRedPackageGetBasicResp" + "type": "int" } }, "400": { @@ -2728,9 +2775,9 @@ const docTemplate = `{ } } }, - "/api/marketingApplications/newUserRedPackage/recordFlowList": { + "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": { "post": { - "description": "新人红包列表明细(查询)", + "description": "免罚用户(查询)", "consumes": [ "application/json" ], @@ -2738,9 +2785,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包列表明细(查询)", + "summary": "制度中心-公排管理-免罚用户(查询)", "parameters": [ { "type": "string", @@ -2750,20 +2797,20 @@ const docTemplate = `{ "required": true }, { - "description": "新人红包列表明细查询条件(分页信息、用户 ID必填)", + "description": "页数和行数必填,uid选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListReq" + "$ref": "#/definitions/md.GetFreePublishUserReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListResp" + "$ref": "#/definitions/md.GetFreePublishUserResp" } }, "400": { @@ -2775,9 +2822,9 @@ const docTemplate = `{ } } }, - "/api/marketingApplications/newUserRedPackage/recordList": { + "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": { "post": { - "description": "新人红包列表(查询)", + "description": "免罚用户(新增)", "consumes": [ "application/json" ], @@ -2785,9 +2832,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包列表(查询)", + "summary": "制度中心-公排管理-免罚用户(新增)", "parameters": [ { "type": "string", @@ -2797,20 +2844,20 @@ const docTemplate = `{ "required": true }, { - "description": "新人红包列表查询条件(分页信息必填)", + "description": "免罚用户ID", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordListReq" + "$ref": "#/definitions/md.AddFreePublishUserReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "插入数据 ID", "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordListResp" + "type": "int" } }, "400": { @@ -2822,9 +2869,9 @@ const docTemplate = `{ } } }, - "/api/marketingApplications/newUserRedPackage/updateBasic": { - "put": { - "description": "新人红包设置(修改)", + "/api/institutionalManagement/publicPlatoon/relationshipMap": { + "get": { + "description": "关系分布图(获取)", "consumes": [ "application/json" ], @@ -2832,9 +2879,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包设置(修改)", + "summary": "制度中心-公排管理-关系分布图(获取)", "parameters": [ { "type": "string", @@ -2844,20 +2891,25 @@ const docTemplate = `{ "required": true }, { - "description": "新人红包设置表单", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.NewUserRedPackageUpdateBasicReq" - } + "type": "string", + "description": "phone", + "name": "phone", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "uid", + "name": "uid", + "in": "query", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.TreeNode" } }, "400": { @@ -2869,9 +2921,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/addLevel": { + "/api/institutionalManagement/publicPlatoon/selectMember": { "post": { - "description": "等级管理(新增)", + "description": "公排基础设置选择会员(查询)", "consumes": [ "application/json" ], @@ -2879,9 +2931,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "公排管理" ], - "summary": "制度中心-会员中心-等级管理(新增)", + "summary": "制度中心-公排管理-公排基础设置选择会员(查询)", "parameters": [ { "type": "string", @@ -2891,20 +2943,20 @@ const docTemplate = `{ "required": true }, { - "description": "需要新增的等级信息", + "description": "分页信息必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddLevelReq" + "$ref": "#/definitions/md.SelectMemberReq" } } ], "responses": { "200": { - "description": "新增等级ID", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.SelectMemberResp" } }, "400": { @@ -2916,9 +2968,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/addLevelTask": { - "post": { - "description": "等级任务(新增)", + "/api/institutionalManagement/publicPlatoon/updateBasic": { + "put": { + "description": "公排基础设置(修改)", "consumes": [ "application/json" ], @@ -2926,9 +2978,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "公排管理" ], - "summary": "制度中心-会员中心-等级明细-等级任务(新增)", + "summary": "制度中心-公排管理-公排基础设置(修改)", "parameters": [ { "type": "string", @@ -2938,20 +2990,20 @@ const docTemplate = `{ "required": true }, { - "description": "需要新增的任务信息", + "description": "公排设置表单内容", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddLevelTaskReq" + "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq" } } ], "responses": { "200": { - "description": "新增的任务ID", + "description": "success", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -2963,9 +3015,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/deleteLevel": { - "delete": { - "description": "等级管理(删除)", + "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": { + "post": { + "description": "日活分析", "consumes": [ "application/json" ], @@ -2973,9 +3025,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "公排管理" ], - "summary": "制度中心-会员中心-等级管理(删除)", + "summary": "制度中心-公排管理-日活分析", "parameters": [ { "type": "string", @@ -2985,20 +3037,20 @@ const docTemplate = `{ "required": true }, { - "description": "需要删除的等级 ID", + "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteLevelReq" + "$ref": "#/definitions/md.UserDailyActivityAnalysisReq" } } ], "responses": { "200": { - "description": "成功删除数据数量", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.UserDailyActivityAnalysisResp" } }, "400": { @@ -3010,9 +3062,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/deleteLevelTask": { - "delete": { - "description": "等级任务(删除)", + "/api/login": { + "post": { + "description": "登入", "consumes": [ "application/json" ], @@ -3020,32 +3072,25 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "登录" ], - "summary": "制度中心-会员中心-等级管理-等级任务(删除)", + "summary": "登陆", "parameters": [ { - "type": "string", - "description": "验证参数Bearer和token空格拼接", - "name": "Authorization", - "in": "header", - "required": true - }, - { - "description": "需要删除的等级任务ID", + "description": "用户名密码", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteTaskReq" + "$ref": "#/definitions/md.LoginReq" } } ], "responses": { "200": { - "description": "成功删除数据数量", + "description": "token", "schema": { - "type": "int" + "$ref": "#/definitions/md.LoginResponse" } }, "400": { @@ -3057,9 +3102,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/getLevelList": { + "/api/marketingApplications/newUserRedPackage/getBasic": { "get": { - "description": "标签管理(获取)", + "description": "新人红包设置(获取)", "consumes": [ "application/json" ], @@ -3067,9 +3112,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级管理(获取)", + "summary": "制度中心-营销应用-新人红包设置(获取)", "parameters": [ { "type": "string", @@ -3077,27 +3122,13 @@ const docTemplate = `{ "name": "Authorization", "in": "header", "required": true - }, - { - "type": "integer", - "description": "每页大小", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "页数", - "name": "page", - "in": "query", - "required": true } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetLevelListResp" + "$ref": "#/definitions/md.NewUserRedPackageGetBasicResp" } }, "400": { @@ -3109,9 +3140,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/getOneLevel": { - "get": { - "description": "等级明细(获取)", + "/api/marketingApplications/newUserRedPackage/recordFlowList": { + "post": { + "description": "新人红包列表明细(查询)", "consumes": [ "application/json" ], @@ -3119,9 +3150,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级管理-等级明细(获取)", + "summary": "制度中心-营销应用-新人红包列表明细(查询)", "parameters": [ { "type": "string", @@ -3131,18 +3162,20 @@ const docTemplate = `{ "required": true }, { - "type": "integer", - "description": "等级 ID", - "name": "level_id", - "in": "query", - "required": true + "description": "新人红包列表明细查询条件(分页信息、用户 ID必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetOneLevelResp" + "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListResp" } }, "400": { @@ -3154,9 +3187,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/updateLevel": { + "/api/marketingApplications/newUserRedPackage/recordList": { "post": { - "description": "等级管理(更新)", + "description": "新人红包列表(查询)", "consumes": [ "application/json" ], @@ -3164,9 +3197,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级管理(更新)", + "summary": "制度中心-营销应用-新人红包列表(查询)", "parameters": [ { "type": "string", @@ -3176,20 +3209,20 @@ const docTemplate = `{ "required": true }, { - "description": "需要修改的等级信息", + "description": "新人红包列表查询条件(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateLevelReq" + "$ref": "#/definitions/md.NewUserRedPackageRecordListReq" } } ], "responses": { "200": { - "description": "成功修改数据条数", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.NewUserRedPackageRecordListResp" } }, "400": { @@ -3201,9 +3234,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/levelManagement/updateLevelTask": { - "post": { - "description": "等级任务(更新)", + "/api/marketingApplications/newUserRedPackage/updateBasic": { + "put": { + "description": "新人红包设置(修改)", "consumes": [ "application/json" ], @@ -3211,9 +3244,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级明细-等级任务(更新)", + "summary": "制度中心-营销应用-新人红包设置(修改)", "parameters": [ { "type": "string", @@ -3223,20 +3256,20 @@ const docTemplate = `{ "required": true }, { - "description": "需要修改的等级任务信息", + "description": "新人红包设置表单", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateLevelTaskReq" + "$ref": "#/definitions/md.NewUserRedPackageUpdateBasicReq" } } ], "responses": { "200": { - "description": "成功修改数据条数", + "description": "success", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -3248,9 +3281,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/tagManagement/addTag": { + "/api/memberCenter/levelManagement/addLevel": { "post": { - "description": "标签管理(新增)", + "description": "等级管理(新增)", "consumes": [ "application/json" ], @@ -3260,7 +3293,7 @@ const docTemplate = `{ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(新增)", + "summary": "制度中心-会员中心-等级管理(新增)", "parameters": [ { "type": "string", @@ -3270,18 +3303,18 @@ const docTemplate = `{ "required": true }, { - "description": "新增的标签信息", + "description": "需要新增的等级信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddTagReq" + "$ref": "#/definitions/md.AddLevelReq" } } ], "responses": { "200": { - "description": "新增的标签 ID", + "description": "新增等级ID", "schema": { "type": "int" } @@ -3295,9 +3328,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/tagManagement/deleteTag": { - "delete": { - "description": "标签管理(删除)", + "/api/memberCenter/levelManagement/addLevelTask": { + "post": { + "description": "等级任务(新增)", "consumes": [ "application/json" ], @@ -3307,7 +3340,7 @@ const docTemplate = `{ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(删除)", + "summary": "制度中心-会员中心-等级明细-等级任务(新增)", "parameters": [ { "type": "string", @@ -3317,18 +3350,18 @@ const docTemplate = `{ "required": true }, { - "description": "需要删除的标签 ID", + "description": "需要新增的任务信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteTagReq" + "$ref": "#/definitions/md.AddLevelTaskReq" } } ], "responses": { "200": { - "description": "成功删除标签用户数", + "description": "新增的任务ID", "schema": { "type": "int" } @@ -3342,9 +3375,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/tagManagement/getTagList": { - "get": { - "description": "标签管理(获取)", + "/api/memberCenter/levelManagement/deleteLevel": { + "delete": { + "description": "等级管理(删除)", "consumes": [ "application/json" ], @@ -3354,7 +3387,7 @@ const docTemplate = `{ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(获取)", + "summary": "制度中心-会员中心-等级管理(删除)", "parameters": [ { "type": "string", @@ -3364,25 +3397,20 @@ const docTemplate = `{ "required": true }, { - "type": "integer", - "description": "每页大小", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "页数", - "name": "page", - "in": "query", - "required": true + "description": "需要删除的等级 ID", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DeleteLevelReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功删除数据数量", "schema": { - "$ref": "#/definitions/md.GetTagListResp" + "type": "int" } }, "400": { @@ -3394,9 +3422,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/tagManagement/updateTag": { - "post": { - "description": "标签管理(更新)", + "/api/memberCenter/levelManagement/deleteLevelTask": { + "delete": { + "description": "等级任务(删除)", "consumes": [ "application/json" ], @@ -3406,7 +3434,7 @@ const docTemplate = `{ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(更新)", + "summary": "制度中心-会员中心-等级管理-等级任务(删除)", "parameters": [ { "type": "string", @@ -3416,18 +3444,18 @@ const docTemplate = `{ "required": true }, { - "description": "需要修改的标签信息", + "description": "需要删除的等级任务ID", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateTagReq" + "$ref": "#/definitions/md.DeleteTaskReq" } } ], "responses": { "200": { - "description": "成功修改数据条数", + "description": "成功删除数据数量", "schema": { "type": "int" } @@ -3441,9 +3469,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/userManagement/balanceDetail": { + "/api/memberCenter/levelManagement/getLevelList": { "get": { - "description": "会员明细(余额获取)", + "description": "标签管理(获取)", "consumes": [ "application/json" ], @@ -3453,7 +3481,7 @@ const docTemplate = `{ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细(余额获取)", + "summary": "制度中心-会员中心-等级管理(获取)", "parameters": [ { "type": "string", @@ -3463,21 +3491,14 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", - "in": "query", - "required": true - }, - { - "type": "string", + "type": "integer", "description": "每页大小", "name": "limit", "in": "query", "required": true }, { - "type": "string", + "type": "integer", "description": "页数", "name": "page", "in": "query", @@ -3488,7 +3509,7 @@ const docTemplate = `{ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetBalanceDetailResp" + "$ref": "#/definitions/md.GetLevelListResp" } }, "400": { @@ -3500,9 +3521,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/userManagement/getFans": { + "/api/memberCenter/levelManagement/getOneLevel": { "get": { - "description": "会员明细粉丝情况(获取)", + "description": "等级明细(获取)", "consumes": [ "application/json" ], @@ -3512,7 +3533,7 @@ const docTemplate = `{ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细粉丝情况(获取)", + "summary": "制度中心-会员中心-等级管理-等级明细(获取)", "parameters": [ { "type": "string", @@ -3522,39 +3543,991 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", + "type": "integer", + "description": "等级 ID", + "name": "level_id", "in": "query", "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.GetOneLevelResp" + } }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/levelManagement/updateLevel": { + "post": { + "description": "等级管理(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-等级管理(更新)", + "parameters": [ { "type": "string", - "description": "粉丝类型(1.全部 2.直推 3.二代 4.二代以后)", - "name": "type", - "in": "query", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", "required": true }, + { + "description": "需要修改的等级信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateLevelReq" + } + } + ], + "responses": { + "200": { + "description": "成功修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/levelManagement/updateLevelTask": { + "post": { + "description": "等级任务(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-等级明细-等级任务(更新)", + "parameters": [ { "type": "string", - "description": "每页大小", - "name": "limit", - "in": "query", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", "required": true }, + { + "description": "需要修改的等级任务信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateLevelTaskReq" + } + } + ], + "responses": { + "200": { + "description": "成功修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/addTag": { + "post": { + "description": "标签管理(新增)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(新增)", + "parameters": [ { "type": "string", - "description": "页数", - "name": "page", - "in": "query", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", "required": true + }, + { + "description": "新增的标签信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.AddTagReq" + } + } + ], + "responses": { + "200": { + "description": "新增的标签 ID", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/deleteTag": { + "delete": { + "description": "标签管理(删除)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(删除)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "需要删除的标签 ID", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DeleteTagReq" + } + } + ], + "responses": { + "200": { + "description": "成功删除标签用户数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/getTagList": { + "get": { + "description": "标签管理(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "integer", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.GetTagListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/updateTag": { + "post": { + "description": "标签管理(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(更新)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "需要修改的标签信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateTagReq" + } + } + ], + "responses": { + "200": { + "description": "成功修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/balanceDetail": { + "get": { + "description": "会员明细(余额获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细(余额获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetBalanceDetailResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/getFans": { + "get": { + "description": "会员明细粉丝情况(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细粉丝情况(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "粉丝类型(1.全部 2.直推 3.二代 4.二代以后)", + "name": "type", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetFansResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/getUserList": { + "post": { + "description": "用户信息管理(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-用户信息管理(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "分页信息必填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UserManagementGetUserListReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetUserListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/getVirtualCoinDetail": { + "get": { + "description": "会员明细(积分明细获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细(积分明细获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "货币 ID", + "name": "coinId", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetVirtualCoinDetailResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/updateUserInfo": { + "post": { + "description": "用户信息管理(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-用户信息管理(更新)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "用户ID 必传", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UserManagementUpdateUserInfoReq" + } + } + ], + "responses": { + "200": { + "description": "修改数据行数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/userData": { + "get": { + "description": "会员明细概况(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细概况(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "会员明细概况具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetOneBasicResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/base": { + "get": { + "description": "短信推送记录-通知模板", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-通知模板", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/file/phone": { + "post": { + "description": "短信推送记录-通知模板", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-通知模板", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "参数 file-----文件上传格式", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "phone 一个数组", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/push/list": { + "post": { + "description": "短信推送记录-推送记录列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-推送记录列表", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsListReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.NoticePushListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/push/save": { + "post": { + "description": "短信推送记录-推送记录添加-发送 (不做编辑了)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-推送记录添加-发送(不做编辑了)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsSaveReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/sale/base": { + "get": { + "description": "短信推送记录-营销短信-通知模板", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-营销短信-通知模板", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/sale/save": { + "post": { + "description": "短信推送记录-营销短信-通知模板添加编辑", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-营销短信-通知模板添加编辑", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "数组 把列表的数组传过来", + "name": "req", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/save": { + "post": { + "description": "短信推送记录-通知模板添加编辑", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-通知模板添加编辑", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "数组 把列表的数组传过来", + "name": "req", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/jPush/del": { + "post": { + "description": "APP推送记录-通知模板删除", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-APP推送记录-通知模板删除", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeDelReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetFansResp" + "type": "string" } }, "400": { @@ -3566,9 +4539,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/userManagement/getUserList": { + "/api/notice/jPush/list": { "post": { - "description": "用户信息管理(获取)", + "description": "APP推送记录-通知模板", "consumes": [ "application/json" ], @@ -3576,9 +4549,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-用户信息管理(获取)", + "summary": "消息中心-APP推送记录-通知模板", "parameters": [ { "type": "string", @@ -3588,12 +4561,12 @@ const docTemplate = `{ "required": true }, { - "description": "分页信息必填", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UserManagementGetUserListReq" + "$ref": "#/definitions/md.NoticeListReq" } } ], @@ -3601,7 +4574,7 @@ const docTemplate = `{ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetUserListResp" + "$ref": "#/definitions/md.NoticeListResp" } }, "400": { @@ -3613,9 +4586,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/userManagement/getVirtualCoinDetail": { - "get": { - "description": "会员明细(积分明细获取)", + "/api/notice/jPush/push/list": { + "post": { + "description": "APP推送记录-推送记录列表", "consumes": [ "application/json" ], @@ -3623,9 +4596,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细(积分明细获取)", + "summary": "消息中心-APP推送记录-推送记录列表", "parameters": [ { "type": "string", @@ -3635,39 +4608,20 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "货币 ID", - "name": "coinId", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "每页大小", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "页数", - "name": "page", - "in": "query", - "required": true + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeListReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetVirtualCoinDetailResp" + "$ref": "#/definitions/md.NoticePushListResp" } }, "400": { @@ -3679,9 +4633,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/userManagement/updateUserInfo": { + "/api/notice/jPush/push/save": { "post": { - "description": "用户信息管理(更新)", + "description": "APP推送记录-推送记录添加-发送 (不做编辑了)", "consumes": [ "application/json" ], @@ -3689,9 +4643,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-用户信息管理(更新)", + "summary": "消息中心-APP推送记录-推送记录添加-发送(不做编辑了)", "parameters": [ { "type": "string", @@ -3701,20 +4655,20 @@ const docTemplate = `{ "required": true }, { - "description": "用户ID 必传", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UserManagementUpdateUserInfoReq" + "$ref": "#/definitions/md.NoticeSaveReq" } } ], "responses": { "200": { - "description": "修改数据行数", + "description": "具体数据", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -3726,9 +4680,9 @@ const docTemplate = `{ } } }, - "/api/memberCenter/userManagement/userData": { - "get": { - "description": "会员明细概况(获取)", + "/api/notice/jPush/save": { + "post": { + "description": "APP推送记录-通知模板添加编辑", "consumes": [ "application/json" ], @@ -3736,9 +4690,9 @@ const docTemplate = `{ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细概况(获取)", + "summary": "消息中心-APP推送记录-通知模板添加编辑", "parameters": [ { "type": "string", @@ -3748,18 +4702,20 @@ const docTemplate = `{ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", - "in": "query", - "required": true + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeSaveReq" + } } ], "responses": { "200": { - "description": "会员明细概况具体数据", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetOneBasicResp" + "type": "string" } }, "400": { @@ -3790,6 +4746,19 @@ const docTemplate = `{ } } }, + "applet_app_md_financial_center.WithdrawFrequencySettingStruct": { + "type": "object", + "properties": { + "duration": { + "description": "周期 (0.天 1.小时 2.周 3.天 4.月 5.年)", + "type": "integer" + }, + "num": { + "description": "周期数", + "type": "integer" + } + } + }, "applet_app_md_im.GetBasicResp": { "type": "object", "properties": { @@ -4250,12 +5219,211 @@ const docTemplate = `{ "description": "是否为处罚标签(0:否 1:是)", "type": "string" }, - "memo": { - "description": "备注", + "memo": { + "description": "备注", + "type": "string" + }, + "name": { + "description": "标签名称", + "type": "string" + } + } + }, + "md.ArticleCateDelReq": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "md.ArticleCateList": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_show": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pid": { + "type": "string" + }, + "sort": { + "type": "string" + } + } + }, + "md.ArticleCateListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.ArticleCateListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.ArticleCateList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.ArticleCateSaveReq": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_show": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pid": { + "type": "string" + }, + "sort": { + "type": "string" + } + } + }, + "md.ArticleDelReq": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "md.ArticleList": { + "type": "object", + "properties": { + "cate_id": { + "type": "string", + "example": "二级分类id" + }, + "content": { + "type": "string" + }, + "cover": { + "type": "string", + "example": "一级分类id=4 显示 封面图" + }, + "cover_url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_show": { + "type": "string" + }, + "pid": { + "type": "string", + "example": "一级分类id" + }, + "sort": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "md.ArticleListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.ArticleListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.ArticleList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "total": { + "type": "integer" + } + } + }, + "md.ArticleSaveReq": { + "type": "object", + "properties": { + "cate_id": { + "type": "string", + "example": "二级分类id" + }, + "content": { + "type": "string" + }, + "cover": { + "type": "string", + "example": "一级分类id=4 显示 封面图" + }, + "id": { + "type": "string" + }, + "is_show": { "type": "string" }, - "name": { - "description": "标签名称", + "pid": { + "type": "string", + "example": "一级分类id" + }, + "sort": { + "type": "string" + }, + "title": { "type": "string" } } @@ -5722,7 +6890,7 @@ const docTemplate = `{ "description": "频率设置(0:日 1:周 2:月 3:年)", "allOf": [ { - "$ref": "#/definitions/md.WithdrawFrequencySettingStruct" + "$ref": "#/definitions/applet_app_md_financial_center.WithdrawFrequencySettingStruct" } ] }, @@ -6214,6 +7382,234 @@ const docTemplate = `{ } } }, + "md.NoticeAliyunSmsList": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "md.NoticeAliyunSmsListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.NoticeAliyunSmsListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.NoticeAliyunSmsList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.NoticeAliyunSmsSaveReq": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "md.NoticeDelReq": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "md.NoticeList": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "md.NoticeListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.NoticeListResp": { + "type": "object", + "properties": { + "change_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.NoticeList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.NoticePushList": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "platform": { + "type": "string" + }, + "send_end_time": { + "type": "string", + "example": "如 2024-11-25 11:56:00" + }, + "send_start_time": { + "type": "string", + "example": "如 2024-11-25 11:56:00" + }, + "send_type": { + "type": "string", + "example": "0立即推送 1定时推送" + }, + "state": { + "type": "string", + "example": "0待发送 1发送成功" + }, + "target": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "md.NoticePushListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.NoticePushList" + } + }, + "platform_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "target_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.NoticeSaveReq": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "md.OtherNode": { "type": "object", "properties": { @@ -6269,6 +7665,56 @@ const docTemplate = `{ } } }, + "md.PageSendRedPackageOrdReq": { + "type": "object", + "properties": { + "invite_code": { + "description": "邀请码", + "type": "string", + "example": "邀请码" + }, + "nickname": { + "description": "昵称", + "type": "string", + "example": "昵称" + }, + "ord_no": { + "description": "订单号", + "type": "string", + "example": "订单号" + }, + "page": { + "type": "integer" + }, + "page_size": { + "type": "integer" + }, + "phone": { + "description": "手机号", + "type": "string", + "example": "手机号" + }, + "red_packet_type": { + "description": "红包类型", + "type": "integer" + }, + "start_time_end": { + "type": "string", + "example": "发送时间-截止" + }, + "start_time_start": { + "type": "string", + "example": "发送时间-起始" + }, + "state": { + "description": "状态", + "type": "integer" + }, + "uid": { + "type": "integer" + } + } + }, "md.PlatformRevenueDataNode": { "type": "object", "properties": { @@ -7098,7 +8544,7 @@ const docTemplate = `{ "description": "频率设置(num 个 duration) (duration (0.天 1.小时 2.周 3.月 4.年))", "allOf": [ { - "$ref": "#/definitions/md.WithdrawFrequencySettingStruct" + "$ref": "#/definitions/applet_app_md_financial_center.WithdrawFrequencySettingStruct" } ] }, @@ -8046,19 +9492,6 @@ const docTemplate = `{ } } }, - "md.WithdrawFrequencySettingStruct": { - "type": "object", - "properties": { - "duration": { - "description": "周期 (0.天 1.小时 2.周 3.天 4.月 5.年)", - "type": "integer" - }, - "num": { - "description": "周期数", - "type": "integer" - } - } - }, "model.EggEnergyUserEggIndexWeight": { "type": "object", "properties": { diff --git a/docs/swagger.json b/docs/swagger.json index 7051ad9..864af8e 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -17,9 +17,9 @@ }, "host": "localhost:4001", "paths": { - "/api/comm/getOssUrl": { + "/api/advertising/base": { "get": { - "description": "上传许可链接(获取)", + "description": "广告管理-广告设置-信息", "consumes": [ "application/json" ], @@ -27,9 +27,9 @@ "application/json" ], "tags": [ - "对象存储" + "广告管理" ], - "summary": "通用请求-对象存储-上传许可链接(获取)", + "summary": "广告管理-广告设置-信息", "parameters": [ { "type": "string", @@ -41,9 +41,9 @@ ], "responses": { "200": { - "description": "许可链接", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.NoticeAliyunSmsListResp" } }, "400": { @@ -55,9 +55,9 @@ } } }, - "/api/comm/oss/getBasic": { - "get": { - "description": "对象存储设置(获取)", + "/api/article/cate/del": { + "post": { + "description": "分类列表-分类删除", "consumes": [ "application/json" ], @@ -65,9 +65,9 @@ "application/json" ], "tags": [ - "对象存储" + "文章资讯" ], - "summary": "设置中心-对象存储-对象存储设置(获取)", + "summary": "文章资讯-分类列表-分类删除", "parameters": [ { "type": "string", @@ -75,13 +75,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ArticleCateDelReq" + } } ], "responses": { "200": { - "description": "设置列表", + "description": "具体数据", "schema": { - "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.GetBasicResp" + "type": "string" } }, "400": { @@ -93,9 +102,9 @@ } } }, - "/api/comm/oss/setBasic": { + "/api/article/cate/list": { "post": { - "description": "对象存储设置(更新)", + "description": "分类列表", "consumes": [ "application/json" ], @@ -103,9 +112,9 @@ "application/json" ], "tags": [ - "对象存储" + "文章资讯" ], - "summary": "设置中心-对象存储-对象存储设置(更新)", + "summary": "文章资讯-分类列表", "parameters": [ { "type": "string", @@ -115,20 +124,20 @@ "required": true }, { - "description": "上传需要修改的信息", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.SetBasicReq" + "$ref": "#/definitions/md.ArticleCateListReq" } } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.ArticleCateListResp" } }, "400": { @@ -140,9 +149,9 @@ } } }, - "/api/demo": { + "/api/article/cate/save": { "post": { - "description": "Demo样例测试", + "description": "分类列表-分类保存", "consumes": [ "application/json" ], @@ -150,24 +159,32 @@ "application/json" ], "tags": [ - "Demo" + "文章资讯" ], - "summary": "Demo测试", + "summary": "文章资讯-分类列表-分类保存", "parameters": [ { - "description": "用户名密码", + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, - "schema": {} + "schema": { + "$ref": "#/definitions/md.ArticleCateSaveReq" + } } ], "responses": { "200": { - "description": "token", + "description": "具体数据", "schema": { - "type": "object", - "additionalProperties": true + "type": "string" } }, "400": { @@ -179,9 +196,9 @@ } } }, - "/api/financialCenter/withdraw/applyList": { + "/api/article/content/del": { "post": { - "description": "提现申请列表(获取)", + "description": "文章列表-文章删除", "consumes": [ "application/json" ], @@ -189,9 +206,9 @@ "application/json" ], "tags": [ - "提现" + "文章资讯" ], - "summary": "财务中心-提现-提现申请列表(获取)", + "summary": "文章资讯-文章列表-文章删除", "parameters": [ { "type": "string", @@ -201,11 +218,12 @@ "required": true }, { - "description": "筛选条件", + "description": "(分页信息必填)", "name": "req", "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/md.GetWithdrawApplyListReq" + "$ref": "#/definitions/md.ArticleDelReq" } } ], @@ -213,7 +231,7 @@ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetWithdrawApplyListResp" + "type": "string" } }, "400": { @@ -225,9 +243,9 @@ } } }, - "/api/financialCenter/withdraw/setting": { - "get": { - "description": "基础设置(获取)", + "/api/article/content/list": { + "post": { + "description": "文章列表", "consumes": [ "application/json" ], @@ -235,9 +253,9 @@ "application/json" ], "tags": [ - "提现" + "文章资讯" ], - "summary": "财务中心-提现-基础设置(获取)", + "summary": "文章资讯-文章列表", "parameters": [ { "type": "string", @@ -245,13 +263,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ArticleListReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetWithdrawSettingResp" + "$ref": "#/definitions/md.ArticleListResp" } }, "400": { @@ -263,9 +290,9 @@ } } }, - "/api/financialCenter/withdraw/updateWithdrawSetting": { + "/api/article/content/save": { "post": { - "description": "基础设置(更新)", + "description": "文章列表-文章保存", "consumes": [ "application/json" ], @@ -273,9 +300,9 @@ "application/json" ], "tags": [ - "提现" + "文章资讯" ], - "summary": "财务中心-提现-基础设置(更新)", + "summary": "文章资讯-文章列表-文章保存", "parameters": [ { "type": "string", @@ -285,20 +312,20 @@ "required": true }, { - "description": "id 必填", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateWithdrawSettingReq" + "$ref": "#/definitions/md.ArticleSaveReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "具体数据", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -310,9 +337,9 @@ } } }, - "/api/im/addCustomerService": { - "post": { - "description": "客服(新增)", + "/api/comm/getOssUrl": { + "get": { + "description": "上传许可链接(获取)", "consumes": [ "application/json" ], @@ -320,9 +347,9 @@ "application/json" ], "tags": [ - "客服" + "对象存储" ], - "summary": "Im-客服(新增)", + "summary": "通用请求-对象存储-上传许可链接(获取)", "parameters": [ { "type": "string", @@ -330,20 +357,11 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "相关参数", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.AddCustomerServiceReq" - } } ], "responses": { "200": { - "description": "success", + "description": "许可链接", "schema": { "type": "string" } @@ -357,9 +375,9 @@ } } }, - "/api/im/addEmoticon": { - "post": { - "description": "表情包(新增)", + "/api/comm/oss/getBasic": { + "get": { + "description": "对象存储设置(获取)", "consumes": [ "application/json" ], @@ -367,9 +385,9 @@ "application/json" ], "tags": [ - "表情包" + "对象存储" ], - "summary": "Im-表情包(新增)", + "summary": "设置中心-对象存储-对象存储设置(获取)", "parameters": [ { "type": "string", @@ -377,22 +395,13 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "相关参数", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.AddEmoticonReq" - } } ], "responses": { "200": { - "description": "success", + "description": "设置列表", "schema": { - "type": "string" + "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.GetBasicResp" } }, "400": { @@ -404,9 +413,9 @@ } } }, - "/api/im/deleteEmoticon": { + "/api/comm/oss/setBasic": { "post": { - "description": "表情包(删除)", + "description": "对象存储设置(更新)", "consumes": [ "application/json" ], @@ -414,9 +423,9 @@ "application/json" ], "tags": [ - "表情包" + "对象存储" ], - "summary": "Im-表情包(删除)", + "summary": "设置中心-对象存储-对象存储设置(更新)", "parameters": [ { "type": "string", @@ -426,12 +435,12 @@ "required": true }, { - "description": "相关参数", + "description": "上传需要修改的信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteEmoticonReq" + "$ref": "#/definitions/applet_app_md_setCenter_oss_aliyun.SetBasicReq" } } ], @@ -451,9 +460,9 @@ } } }, - "/api/im/getBasic": { - "get": { - "description": "基础设置(获取)", + "/api/demo": { + "post": { + "description": "Demo样例测试", "consumes": [ "application/json" ], @@ -461,23 +470,24 @@ "application/json" ], "tags": [ - "基础设置" + "Demo" ], - "summary": "Im-基础设置(获取)", + "summary": "Demo测试", "parameters": [ { - "type": "string", - "description": "验证参数Bearer和token空格拼接", - "name": "Authorization", - "in": "header", - "required": true + "description": "用户名密码", + "name": "req", + "in": "body", + "required": true, + "schema": {} } ], "responses": { "200": { - "description": "设置列表", + "description": "token", "schema": { - "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + "type": "object", + "additionalProperties": true } }, "400": { @@ -489,9 +499,9 @@ } } }, - "/api/im/pageCustomerService": { + "/api/financialCenter/withdraw/applyList": { "post": { - "description": "客服(列表)", + "description": "提现申请列表(获取)", "consumes": [ "application/json" ], @@ -499,9 +509,9 @@ "application/json" ], "tags": [ - "客服" + "提现" ], - "summary": "Im-客服(列表)", + "summary": "财务中心-提现-提现申请列表(获取)", "parameters": [ { "type": "string", @@ -511,20 +521,19 @@ "required": true }, { - "description": "相关参数", + "description": "筛选条件", "name": "req", "in": "body", - "required": true, "schema": { - "$ref": "#/definitions/md.PageCustomerServiceReq" + "$ref": "#/definitions/md.GetWithdrawApplyListReq" } } ], "responses": { "200": { - "description": "设置列表", + "description": "具体数据", "schema": { - "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + "$ref": "#/definitions/md.GetWithdrawApplyListResp" } }, "400": { @@ -536,9 +545,9 @@ } } }, - "/api/im/pageEmoticon": { - "post": { - "description": "表情包(列表)", + "/api/financialCenter/withdraw/setting": { + "get": { + "description": "基础设置(获取)", "consumes": [ "application/json" ], @@ -546,9 +555,9 @@ "application/json" ], "tags": [ - "表情包" + "提现" ], - "summary": "Im-表情包(列表)", + "summary": "财务中心-提现-基础设置(获取)", "parameters": [ { "type": "string", @@ -556,22 +565,13 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "相关参数", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.PageEmoticonReq" - } } ], "responses": { "200": { - "description": "设置列表", + "description": "具体数据", "schema": { - "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + "$ref": "#/definitions/md.GetWithdrawSettingResp" } }, "400": { @@ -583,7 +583,7 @@ } } }, - "/api/im/setBasic": { + "/api/financialCenter/withdraw/updateWithdrawSetting": { "post": { "description": "基础设置(更新)", "consumes": [ @@ -593,9 +593,9 @@ "application/json" ], "tags": [ - "基础设置" + "提现" ], - "summary": "Im-基础设置(更新)", + "summary": "财务中心-提现-基础设置(更新)", "parameters": [ { "type": "string", @@ -605,20 +605,20 @@ "required": true }, { - "description": "上传需要修改的信息", + "description": "id 必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/applet_app_md_im.SetBasicReq" + "$ref": "#/definitions/md.UpdateWithdrawSettingReq" } } ], "responses": { "200": { - "description": "success", + "description": "修改数据条数", "schema": { - "type": "string" + "type": "int" } }, "400": { @@ -630,9 +630,9 @@ } } }, - "/api/im/setCustomerServiceState": { + "/api/im/addCustomerService": { "post": { - "description": "客服(更新状态)", + "description": "客服(新增)", "consumes": [ "application/json" ], @@ -642,7 +642,7 @@ "tags": [ "客服" ], - "summary": "Im-客服(更新状态)", + "summary": "Im-客服(新增)", "parameters": [ { "type": "string", @@ -657,7 +657,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.SetCustomerServiceStateReq" + "$ref": "#/definitions/md.AddCustomerServiceReq" } } ], @@ -677,7 +677,7 @@ } } }, - "/api/im/setEmoticonState": { + "/api/im/addEmoticon": { "post": { "description": "表情包(新增)", "consumes": [ @@ -689,7 +689,7 @@ "tags": [ "表情包" ], - "summary": "Im-表情包(更新状态)", + "summary": "Im-表情包(新增)", "parameters": [ { "type": "string", @@ -704,7 +704,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.SetEmoticonStateReq" + "$ref": "#/definitions/md.AddEmoticonReq" } } ], @@ -724,9 +724,9 @@ } } }, - "/api/im/updateCustomerServiceMemo": { + "/api/im/deleteEmoticon": { "post": { - "description": "客服(编辑备注)", + "description": "表情包(删除)", "consumes": [ "application/json" ], @@ -734,9 +734,9 @@ "application/json" ], "tags": [ - "客服" + "表情包" ], - "summary": "Im-客服(编辑备注)", + "summary": "Im-表情包(删除)", "parameters": [ { "type": "string", @@ -751,7 +751,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateCustomerServiceMemoReq" + "$ref": "#/definitions/md.DeleteEmoticonReq" } } ], @@ -771,9 +771,9 @@ } } }, - "/api/im/updateEmoticon": { - "post": { - "description": "表情包(编辑)", + "/api/im/getBasic": { + "get": { + "description": "基础设置(获取)", "consumes": [ "application/json" ], @@ -781,9 +781,9 @@ "application/json" ], "tags": [ - "表情包" + "基础设置" ], - "summary": "Im-表情包(编辑)", + "summary": "Im-基础设置(获取)", "parameters": [ { "type": "string", @@ -791,22 +791,60 @@ "name": "Authorization", "in": "header", "required": true - }, + } + ], + "responses": { + "200": { + "description": "设置列表", + "schema": { + "$ref": "#/definitions/applet_app_md_im.GetBasicResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/im/pageCustomerService": { + "post": { + "description": "客服(列表)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "客服" + ], + "summary": "Im-客服(列表)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, { "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEmoticonReq" + "$ref": "#/definitions/md.PageCustomerServiceReq" } } ], "responses": { "200": { - "description": "success", + "description": "设置列表", "schema": { - "type": "string" + "$ref": "#/definitions/applet_app_md_im.GetBasicResp" } }, "400": { @@ -818,9 +856,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/addVipSetting": { + "/api/im/pageEmoticon": { "post": { - "description": "会员设置(新增)", + "description": "表情包(列表)", "consumes": [ "application/json" ], @@ -828,9 +866,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "表情包" ], - "summary": "制度中心-蛋蛋能量-会员设置(新增)", + "summary": "Im-表情包(列表)", "parameters": [ { "type": "string", @@ -840,20 +878,20 @@ "required": true }, { - "description": "system_id 必填", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" + "$ref": "#/definitions/md.PageEmoticonReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "设置列表", "schema": { - "type": "int" + "$ref": "#/definitions/applet_app_md_im.GetBasicResp" } }, "400": { @@ -865,9 +903,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/availableEnergy/list": { + "/api/im/pageSendRedPackageOrd": { "post": { - "description": "动态数据流水(获取)", + "description": "红包记录(列表)", "consumes": [ "application/json" ], @@ -875,9 +913,9 @@ "application/json" ], "tags": [ - "公排管理" + "红包记录" ], - "summary": "制度中心-动态数据-动态数据流水(获取)", + "summary": "Im-红包记录(列表)", "parameters": [ { "type": "string", @@ -887,20 +925,20 @@ "required": true }, { - "description": "页数、每页大小必传 起止时间、持有类型选传", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DynamicDataFlowListReq" + "$ref": "#/definitions/md.PageSendRedPackageOrdReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { - "$ref": "#/definitions/md.DynamicDataFlowListResp" + "type": "string" } }, "400": { @@ -912,9 +950,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/contributionValue/basic": { + "/api/im/redPackageRecordsDetail": { "get": { - "description": "贡献值-基础设置(获取)", + "description": "红包记录(详情)", "consumes": [ "application/json" ], @@ -922,9 +960,9 @@ "application/json" ], "tags": [ - "贡献值" + "红包记录" ], - "summary": "制度中心-蛋蛋能量-贡献值-基础设置(获取)", + "summary": "Im-红包记录(详情)", "parameters": [ { "type": "string", @@ -932,13 +970,20 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "type": "string", + "description": "红包id", + "name": "red_package_id", + "in": "query", + "required": true } ], "responses": { "200": { - "description": "具体数据", + "description": "success", "schema": { - "$ref": "#/definitions/md.GetContributionValueBasicSettingResp" + "type": "string" } }, "400": { @@ -950,9 +995,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/contributionValue/updateBasic": { + "/api/im/setBasic": { "post": { - "description": "贡献值-基础设置(更新)", + "description": "基础设置(更新)", "consumes": [ "application/json" ], @@ -960,9 +1005,9 @@ "application/json" ], "tags": [ - "贡献值" + "基础设置" ], - "summary": "制度中心-蛋蛋能量-贡献值-基础设置(更新)", + "summary": "Im-基础设置(更新)", "parameters": [ { "type": "string", @@ -972,20 +1017,20 @@ "required": true }, { - "description": "id 必填", + "description": "上传需要修改的信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateContributionValueBasicSettingReq" + "$ref": "#/definitions/applet_app_md_im.SetBasicReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "success", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -997,9 +1042,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/eggPoint/manualScore": { + "/api/im/setCustomerServiceState": { "post": { - "description": "蛋蛋分管理(人工打分)", + "description": "客服(更新状态)", "consumes": [ "application/json" ], @@ -1007,9 +1052,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "客服" ], - "summary": "制度中心-蛋蛋能量-蛋蛋分管理(人工打分)", + "summary": "Im-客服(更新状态)", "parameters": [ { "type": "string", @@ -1019,18 +1064,18 @@ "required": true }, { - "description": "请求参数", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ManualScoreReq" + "$ref": "#/definitions/md.SetCustomerServiceStateReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { "type": "string" } @@ -1044,9 +1089,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/eggPoint/statisticsUserEggIndex": { + "/api/im/setEmoticonState": { "post": { - "description": "蛋蛋分管理(着陆页数据分析)", + "description": "表情包(新增)", "consumes": [ "application/json" ], @@ -1054,9 +1099,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "表情包" ], - "summary": "制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据分析)", + "summary": "Im-表情包(更新状态)", "parameters": [ { "type": "string", @@ -1066,20 +1111,20 @@ "required": true }, { - "description": "请求参数", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.StatisticsEggPointReq" + "$ref": "#/definitions/md.SetEmoticonStateReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { - "$ref": "#/definitions/md.StatisticsEggPointResp" + "type": "string" } }, "400": { @@ -1091,9 +1136,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/eggPoint/userEggFlow": { + "/api/im/updateCustomerServiceMemo": { "post": { - "description": "蛋蛋分管理(用户数据列表)", + "description": "客服(编辑备注)", "consumes": [ "application/json" ], @@ -1101,9 +1146,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "客服" ], - "summary": "制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表)", + "summary": "Im-客服(编辑备注)", "parameters": [ { "type": "string", @@ -1113,20 +1158,20 @@ "required": true }, { - "description": "请求参数", + "description": "相关参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UserEggFlowReq" + "$ref": "#/definitions/md.UpdateCustomerServiceMemoReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "success", "schema": { - "$ref": "#/definitions/md.UserEggFlowReqResp" + "type": "string" } }, "400": { @@ -1138,9 +1183,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/getBasic": { - "get": { - "description": "基础设置(获取)", + "/api/im/updateEmoticon": { + "post": { + "description": "表情包(编辑)", "consumes": [ "application/json" ], @@ -1148,9 +1193,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "表情包" ], - "summary": "制度中心-蛋蛋能量-基础设置(获取)", + "summary": "Im-表情包(编辑)", "parameters": [ { "type": "string", @@ -1158,13 +1203,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "相关参数", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateEmoticonReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "success", "schema": { - "$ref": "#/definitions/md.GetEggEnergyBasicResp" + "type": "string" } }, "400": { @@ -1176,9 +1230,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/getVipSetting": { - "get": { - "description": "基础会员设置(获取)", + "/api/institutionalManagement/eggEnergy/addVipSetting": { + "post": { + "description": "会员设置(新增)", "consumes": [ "application/json" ], @@ -1188,7 +1242,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-基础会员设置(获取)", + "summary": "制度中心-蛋蛋能量-会员设置(新增)", "parameters": [ { "type": "string", @@ -1196,13 +1250,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "system_id 必填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "修改数据条数", "schema": { - "$ref": "#/definitions/md.GetEggEnergyVipSettingResp" + "type": "int" } }, "400": { @@ -1214,9 +1277,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/getVirtualCoinList": { - "get": { - "description": "查询所有币种(获取)", + "/api/institutionalManagement/eggEnergy/availableEnergy/list": { + "post": { + "description": "动态数据流水(获取)", "consumes": [ "application/json" ], @@ -1224,9 +1287,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "公排管理" ], - "summary": "制度中心-蛋蛋能量-查询所有币种(获取)", + "summary": "制度中心-动态数据-动态数据流水(获取)", "parameters": [ { "type": "string", @@ -1234,16 +1297,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "页数、每页大小必传 起止时间、持有类型选传", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DynamicDataFlowListReq" + } } ], "responses": { "200": { "description": "成功返回", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/md.VirtualCoin" - } + "$ref": "#/definitions/md.DynamicDataFlowListResp" } }, "400": { @@ -1255,9 +1324,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/globalData/coreDataList": { + "/api/institutionalManagement/eggEnergy/contributionValue/basic": { "get": { - "description": "数据概览(获取)", + "description": "贡献值-基础设置(获取)", "consumes": [ "application/json" ], @@ -1265,9 +1334,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "贡献值" ], - "summary": "制度中心-蛋蛋能量-数据概览(获取)", + "summary": "制度中心-蛋蛋能量-贡献值-基础设置(获取)", "parameters": [ { "type": "string", @@ -1281,7 +1350,7 @@ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetEggCoreDataListResp" + "$ref": "#/definitions/md.GetContributionValueBasicSettingResp" } }, "400": { @@ -1293,9 +1362,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/globalData/fundDataAdd": { + "/api/institutionalManagement/eggEnergy/contributionValue/updateBasic": { "post": { - "description": "价值明细数据(新增)", + "description": "贡献值-基础设置(更新)", "consumes": [ "application/json" ], @@ -1303,9 +1372,9 @@ "application/json" ], "tags": [ - "蛋蛋能量" + "贡献值" ], - "summary": "制度中心-蛋蛋能量-价值明细数据(新增)", + "summary": "制度中心-蛋蛋能量-贡献值-基础设置(更新)", "parameters": [ { "type": "string", @@ -1315,18 +1384,18 @@ "required": true }, { - "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", + "description": "id 必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddFundDataReq" + "$ref": "#/definitions/md.UpdateContributionValueBasicSettingReq" } } ], "responses": { "200": { - "description": "插入数据 id", + "description": "修改数据条数", "schema": { "type": "int" } @@ -1340,9 +1409,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/globalData/fundDataList": { + "/api/institutionalManagement/eggEnergy/eggPoint/manualScore": { "post": { - "description": "新增数据列表(获取)", + "description": "蛋蛋分管理(人工打分)", "consumes": [ "application/json" ], @@ -1352,7 +1421,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-新增数据列表(获取)", + "summary": "制度中心-蛋蛋能量-蛋蛋分管理(人工打分)", "parameters": [ { "type": "string", @@ -1362,20 +1431,20 @@ "required": true }, { - "description": "分页信息必填", + "description": "请求参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetFundDataListReq" + "$ref": "#/definitions/md.ManualScoreReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetFundDataListResp" + "type": "string" } }, "400": { @@ -1387,9 +1456,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/globalData/fundDataRecordList": { + "/api/institutionalManagement/eggEnergy/eggPoint/statisticsUserEggIndex": { "post": { - "description": "新增数据列表详情(查询)", + "description": "蛋蛋分管理(着陆页数据分析)", "consumes": [ "application/json" ], @@ -1399,7 +1468,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-新增数据列表详情(查询)", + "summary": "制度中心-蛋蛋能量-蛋蛋分管理(着陆页数据分析)", "parameters": [ { "type": "string", @@ -1409,20 +1478,20 @@ "required": true }, { - "description": "获取到的 system_id 以及分页信息", + "description": "请求参数", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetFundDataRecordListReq" + "$ref": "#/definitions/md.StatisticsEggPointReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetFundDataRecordListResp" + "$ref": "#/definitions/md.StatisticsEggPointResp" } }, "400": { @@ -1434,9 +1503,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve": { - "get": { - "description": "价格趋势(获取)", + "/api/institutionalManagement/eggEnergy/eggPoint/userEggFlow": { + "post": { + "description": "蛋蛋分管理(用户数据列表)", "consumes": [ "application/json" ], @@ -1446,7 +1515,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-价格趋势(获取)", + "summary": "制度中心-蛋蛋能量-蛋蛋分管理(用户数据列表)", "parameters": [ { "type": "string", @@ -1456,17 +1525,20 @@ "required": true }, { - "type": "string", - "description": "1:按天 2:按小时 3:按周", - "name": "kind", - "in": "query" + "description": "请求参数", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UserEggFlowReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetPriceCurveResp" + "$ref": "#/definitions/md.UserEggFlowReqResp" } }, "400": { @@ -1478,9 +1550,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/getVideoReward": { - "post": { - "description": "激励视频(获取)", + "/api/institutionalManagement/eggEnergy/getBasic": { + "get": { + "description": "基础设置(获取)", "consumes": [ "application/json" ], @@ -1490,7 +1562,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-激励视频(获取)", + "summary": "制度中心-蛋蛋能量-基础设置(获取)", "parameters": [ { "type": "string", @@ -1498,22 +1570,13 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "落地页不填页大小默认20条数据", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.SetVideoRewardReq" - } } ], "responses": { "200": { - "description": "OK", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetVideoRewardResp" + "$ref": "#/definitions/md.GetEggEnergyBasicResp" } }, "400": { @@ -1525,9 +1588,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueAdd": { - "post": { - "description": "其他广告设置数据(新增)", + "/api/institutionalManagement/eggEnergy/getVipSetting": { + "get": { + "description": "基础会员设置(获取)", "consumes": [ "application/json" ], @@ -1537,7 +1600,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(新增)", + "summary": "制度中心-蛋蛋能量-基础会员设置(获取)", "parameters": [ { "type": "string", @@ -1545,22 +1608,13 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.AddPlatformRevenueReq" - } } ], "responses": { "200": { - "description": "插入数据 id", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.GetEggEnergyVipSettingResp" } }, "400": { @@ -1572,9 +1626,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueList": { - "post": { - "description": "其他广告设置数据(获取)", + "/api/institutionalManagement/eggEnergy/getVirtualCoinList": { + "get": { + "description": "查询所有币种(获取)", "consumes": [ "application/json" ], @@ -1584,7 +1638,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(获取)", + "summary": "制度中心-蛋蛋能量-查询所有币种(获取)", "parameters": [ { "type": "string", @@ -1592,22 +1646,16 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "分页信息必填", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.ListPlatformRevenueReq" - } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.ListPlatformRevenueResp" + "type": "array", + "items": { + "$ref": "#/definitions/md.VirtualCoin" + } } }, "400": { @@ -1619,9 +1667,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/platformRevenue/setVideoReward": { - "post": { - "description": "激励视频(设置)", + "/api/institutionalManagement/eggEnergy/globalData/coreDataList": { + "get": { + "description": "数据概览(获取)", "consumes": [ "application/json" ], @@ -1631,7 +1679,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-平台营收-激励视频(设置)", + "summary": "制度中心-蛋蛋能量-数据概览(获取)", "parameters": [ { "type": "string", @@ -1639,22 +1687,13 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "description": "落地页不填页大小默认20条数据", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.SetVideoRewardReq" - } } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.GetEggCoreDataListResp" } }, "400": { @@ -1666,9 +1705,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/updateBasic": { + "/api/institutionalManagement/eggEnergy/globalData/fundDataAdd": { "post": { - "description": "基础设置(更新)", + "description": "价值明细数据(新增)", "consumes": [ "application/json" ], @@ -1678,7 +1717,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-基础设置(更新)", + "summary": "制度中心-蛋蛋能量-价值明细数据(新增)", "parameters": [ { "type": "string", @@ -1688,18 +1727,18 @@ "required": true }, { - "description": "system_id 必填", + "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEggEnergyBasicReq" + "$ref": "#/definitions/md.AddFundDataReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "插入数据 id", "schema": { "type": "int" } @@ -1713,9 +1752,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/updateVipSetting": { + "/api/institutionalManagement/eggEnergy/globalData/fundDataList": { "post": { - "description": "会员设置(更新)", + "description": "新增数据列表(获取)", "consumes": [ "application/json" ], @@ -1725,7 +1764,7 @@ "tags": [ "蛋蛋能量" ], - "summary": "制度中心-蛋蛋能量-会员设置(更新)", + "summary": "制度中心-蛋蛋能量-新增数据列表(获取)", "parameters": [ { "type": "string", @@ -1735,20 +1774,20 @@ "required": true }, { - "description": "填入修改后的列表(会员等级名称、兑换余额手续费、分红比例)", + "description": "分页信息必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" + "$ref": "#/definitions/md.GetFundDataListReq" } } ], "responses": { "200": { - "description": "修改数据条数", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.GetFundDataListResp" } }, "400": { @@ -1760,9 +1799,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinFlowList": { + "/api/institutionalManagement/eggEnergy/globalData/fundDataRecordList": { "post": { - "description": "蛋蛋能量流水(查询)", + "description": "新增数据列表详情(查询)", "consumes": [ "application/json" ], @@ -1770,9 +1809,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-活跃积分持有者明细-蛋蛋能量流水(查询)", + "summary": "制度中心-蛋蛋能量-新增数据列表详情(查询)", "parameters": [ { "type": "string", @@ -1782,20 +1821,20 @@ "required": true }, { - "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", + "description": "获取到的 system_id 以及分页信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq" + "$ref": "#/definitions/md.GetFundDataRecordListReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp" + "$ref": "#/definitions/md.GetFundDataRecordListResp" } }, "400": { @@ -1807,9 +1846,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinList": { - "post": { - "description": "蛋蛋能量明细(获取)", + "/api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve": { + "get": { + "description": "价格趋势(获取)", "consumes": [ "application/json" ], @@ -1817,9 +1856,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-活跃积分持有者明细-蛋蛋能量明细(获取)", + "summary": "制度中心-蛋蛋能量-价格趋势(获取)", "parameters": [ { "type": "string", @@ -1829,19 +1868,17 @@ "required": true }, { - "description": "落地页不填页大小默认20条数据", - "name": "req", - "in": "body", - "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinListReq" - } + "type": "string", + "description": "1:按天 2:按小时 3:按周", + "name": "kind", + "in": "query" } ], "responses": { "200": { - "description": "成功返回", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetActivePointsUserCoinListResp" + "$ref": "#/definitions/md.GetPriceCurveResp" } }, "400": { @@ -1853,9 +1890,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/eggPointsUserCoinList": { + "/api/institutionalManagement/eggEnergy/platformRevenue/getVideoReward": { "post": { - "description": "蛋蛋积分持有者明细(获取)", + "description": "激励视频(获取)", "consumes": [ "application/json" ], @@ -1863,9 +1900,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-绿色能量持有者明细-蛋蛋积分持有者明细(获取)", + "summary": "制度中心-蛋蛋能量-平台营收-激励视频(获取)", "parameters": [ { "type": "string", @@ -1878,16 +1915,17 @@ "description": "落地页不填页大小默认20条数据", "name": "req", "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq" + "$ref": "#/definitions/md.SetVideoRewardReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "OK", "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp" + "$ref": "#/definitions/md.GetVideoRewardResp" } }, "400": { @@ -1899,9 +1937,9 @@ } } }, - "/api/institutionalManagement/eggEnergy/userCoin/getEggPointsUserCoinFlowList": { + "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueAdd": { "post": { - "description": "蛋蛋积分流水明细(查询)", + "description": "其他广告设置数据(新增)", "consumes": [ "application/json" ], @@ -1909,9 +1947,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-绿色能量持有者明细-蛋蛋积分流水明细(查询)", + "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(新增)", "parameters": [ { "type": "string", @@ -1921,20 +1959,20 @@ "required": true }, { - "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", + "description": "数据种类、金额、时长(最长24h)、执行次数必填,备注选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq" + "$ref": "#/definitions/md.AddPlatformRevenueReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "插入数据 id", "schema": { - "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp" + "type": "int" } }, "400": { @@ -1946,9 +1984,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { + "/api/institutionalManagement/eggEnergy/platformRevenue/platformRevenueList": { "post": { - "description": "社区分红(新增)", + "description": "其他广告设置数据(获取)", "consumes": [ "application/json" ], @@ -1956,9 +1994,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区分红(新增)", + "summary": "制度中心-蛋蛋能量-平台营收-其他广告设置数据(获取)", "parameters": [ { "type": "string", @@ -1968,20 +2006,20 @@ "required": true }, { - "description": "分红名称、分红总量", + "description": "分页信息必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddCommunityDividendsReq" + "$ref": "#/definitions/md.ListPlatformRevenueReq" } } ], "responses": { "200": { - "description": "成功", + "description": "具体数据", "schema": { - "type": "success" + "$ref": "#/definitions/md.ListPlatformRevenueResp" } }, "400": { @@ -1993,9 +2031,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": { + "/api/institutionalManagement/eggEnergy/platformRevenue/setVideoReward": { "post": { - "description": "社区分红(查询)", + "description": "激励视频(设置)", "consumes": [ "application/json" ], @@ -2003,9 +2041,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区分红(查询)", + "summary": "制度中心-蛋蛋能量-平台营收-激励视频(设置)", "parameters": [ { "type": "string", @@ -2015,20 +2053,20 @@ "required": true }, { - "description": "页数、每页大小必填 起止时间、起止数量选填", + "description": "落地页不填页大小默认20条数据", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsReq" + "$ref": "#/definitions/md.SetVideoRewardReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "success", "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsResp" + "type": "string" } }, "400": { @@ -2040,9 +2078,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": { + "/api/institutionalManagement/eggEnergy/updateBasic": { "post": { - "description": "社区长列表(新增)", + "description": "基础设置(更新)", "consumes": [ "application/json" ], @@ -2050,9 +2088,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区长列表(新增)", + "summary": "制度中心-蛋蛋能量-基础设置(更新)", "parameters": [ { "type": "string", @@ -2062,18 +2100,18 @@ "required": true }, { - "description": "新增社区长 ID、备注", + "description": "system_id 必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq" + "$ref": "#/definitions/md.UpdateEggEnergyBasicReq" } } ], "responses": { "200": { - "description": "插入数据 ID", + "description": "修改数据条数", "schema": { "type": "int" } @@ -2087,9 +2125,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": { + "/api/institutionalManagement/eggEnergy/updateVipSetting": { "post": { - "description": "社区长列表(查询)", + "description": "会员设置(更新)", "consumes": [ "application/json" ], @@ -2097,9 +2135,9 @@ "application/json" ], "tags": [ - "公排管理" + "蛋蛋能量" ], - "summary": "制度中心-公排管理-社区长列表(查询)", + "summary": "制度中心-蛋蛋能量-会员设置(更新)", "parameters": [ { "type": "string", @@ -2109,20 +2147,20 @@ "required": true }, { - "description": "页数、每页大小必填 手机号、用户ID选填", + "description": "填入修改后的列表(会员等级名称、兑换余额手续费、分红比例)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq" + "$ref": "#/definitions/md.UpdateEggEnergyVipSettingReq" } } ], "responses": { "200": { - "description": "社区长列表", + "description": "修改数据条数", "schema": { - "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp" + "type": "int" } }, "400": { @@ -2134,9 +2172,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": { + "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinFlowList": { "post": { - "description": "关系分布图(位置转换)", + "description": "蛋蛋能量流水(查询)", "consumes": [ "application/json" ], @@ -2146,7 +2184,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(位置转换)", + "summary": "制度中心-活跃积分持有者明细-蛋蛋能量流水(查询)", "parameters": [ { "type": "string", @@ -2156,12 +2194,12 @@ "required": true }, { - "description": "需要交换的两个位置", + "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.ExchangeUserPositionReq" + "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq" } } ], @@ -2169,7 +2207,7 @@ "200": { "description": "成功返回", "schema": { - "type": "" + "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp" } }, "400": { @@ -2181,9 +2219,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": { - "get": { - "description": "关系分布图(获取指定用户上级)", + "/api/institutionalManagement/eggEnergy/userCoin/eggEnergyUserCoinList": { + "post": { + "description": "蛋蛋能量明细(获取)", "consumes": [ "application/json" ], @@ -2193,7 +2231,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)", + "summary": "制度中心-活跃积分持有者明细-蛋蛋能量明细(获取)", "parameters": [ { "type": "string", @@ -2203,18 +2241,19 @@ "required": true }, { - "type": "string", - "description": "用户ID", - "name": "uid", - "in": "query", - "required": true + "description": "落地页不填页大小默认20条数据", + "name": "req", + "in": "body", + "schema": { + "$ref": "#/definitions/md.GetActivePointsUserCoinListReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.FindSubUserRelationshipMapResp" + "$ref": "#/definitions/md.GetActivePointsUserCoinListResp" } }, "400": { @@ -2226,9 +2265,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": { - "get": { - "description": "关系分布图(获取指定用户下级)", + "/api/institutionalManagement/eggEnergy/userCoin/eggPointsUserCoinList": { + "post": { + "description": "蛋蛋积分持有者明细(获取)", "consumes": [ "application/json" ], @@ -2238,7 +2277,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)", + "summary": "制度中心-绿色能量持有者明细-蛋蛋积分持有者明细(获取)", "parameters": [ { "type": "string", @@ -2248,18 +2287,19 @@ "required": true }, { - "type": "string", - "description": "用户ID", - "name": "uid", - "in": "query", - "required": true + "description": "落地页不填页大小默认20条数据", + "name": "req", + "in": "body", + "schema": { + "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.TreeNode" + "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp" } }, "400": { @@ -2271,9 +2311,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/getBasic": { - "get": { - "description": "公排基础设置(获取)", + "/api/institutionalManagement/eggEnergy/userCoin/getEggPointsUserCoinFlowList": { + "post": { + "description": "蛋蛋积分流水明细(查询)", "consumes": [ "application/json" ], @@ -2283,7 +2323,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-公排基础设置(获取)", + "summary": "制度中心-绿色能量持有者明细-蛋蛋积分流水明细(查询)", "parameters": [ { "type": "string", @@ -2291,13 +2331,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.GetPublicPlatoonBasicResp" + "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp" } }, "400": { @@ -2309,9 +2358,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/delete": { - "delete": { - "description": "免罚用户(删除)", + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { + "post": { + "description": "社区分红(新增)", "consumes": [ "application/json" ], @@ -2321,7 +2370,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-免罚用户(删除)", + "summary": "制度中心-公排管理-社区分红(新增)", "parameters": [ { "type": "string", @@ -2331,20 +2380,20 @@ "required": true }, { - "description": "免罚用户ID", + "description": "分红名称、分红总量", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteFreePublishUserReq" + "$ref": "#/definitions/md.AddCommunityDividendsReq" } } ], "responses": { "200": { - "description": "删除数据数量", + "description": "成功", "schema": { - "type": "int" + "type": "success" } }, "400": { @@ -2356,9 +2405,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": { + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": { "post": { - "description": "免罚用户(查询)", + "description": "社区分红(查询)", "consumes": [ "application/json" ], @@ -2368,7 +2417,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-免罚用户(查询)", + "summary": "制度中心-公排管理-社区分红(查询)", "parameters": [ { "type": "string", @@ -2378,20 +2427,20 @@ "required": true }, { - "description": "页数和行数必填,uid选填", + "description": "页数、每页大小必填 起止时间、起止数量选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.GetFreePublishUserReq" + "$ref": "#/definitions/md.ListCommunityDividendsReq" } } ], "responses": { "200": { - "description": "成功返回", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetFreePublishUserResp" + "$ref": "#/definitions/md.ListCommunityDividendsResp" } }, "400": { @@ -2403,9 +2452,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": { + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": { "post": { - "description": "免罚用户(新增)", + "description": "社区长列表(新增)", "consumes": [ "application/json" ], @@ -2415,7 +2464,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-免罚用户(新增)", + "summary": "制度中心-公排管理-社区长列表(新增)", "parameters": [ { "type": "string", @@ -2425,12 +2474,12 @@ "required": true }, { - "description": "免罚用户ID", + "description": "新增社区长 ID、备注", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddFreePublishUserReq" + "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq" } } ], @@ -2450,9 +2499,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/relationshipMap": { - "get": { - "description": "关系分布图(获取)", + "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": { + "post": { + "description": "社区长列表(查询)", "consumes": [ "application/json" ], @@ -2462,7 +2511,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-关系分布图(获取)", + "summary": "制度中心-公排管理-社区长列表(查询)", "parameters": [ { "type": "string", @@ -2472,25 +2521,20 @@ "required": true }, { - "type": "string", - "description": "phone", - "name": "phone", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "uid", - "name": "uid", - "in": "query", - "required": true + "description": "页数、每页大小必填 手机号、用户ID选填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "社区长列表", "schema": { - "$ref": "#/definitions/md.TreeNode" + "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp" } }, "400": { @@ -2502,9 +2546,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/selectMember": { + "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": { "post": { - "description": "公排基础设置选择会员(查询)", + "description": "关系分布图(位置转换)", "consumes": [ "application/json" ], @@ -2514,7 +2558,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-公排基础设置选择会员(查询)", + "summary": "制度中心-公排管理-关系分布图(位置转换)", "parameters": [ { "type": "string", @@ -2524,20 +2568,20 @@ "required": true }, { - "description": "分页信息必填", + "description": "需要交换的两个位置", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.SelectMemberReq" + "$ref": "#/definitions/md.ExchangeUserPositionReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.SelectMemberResp" + "type": "" } }, "400": { @@ -2549,9 +2593,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/updateBasic": { - "put": { - "description": "公排基础设置(修改)", + "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": { + "get": { + "description": "关系分布图(获取指定用户上级)", "consumes": [ "application/json" ], @@ -2561,7 +2605,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-公排基础设置(修改)", + "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)", "parameters": [ { "type": "string", @@ -2571,20 +2615,18 @@ "required": true }, { - "description": "公排设置表单内容", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq" - } + "type": "string", + "description": "用户ID", + "name": "uid", + "in": "query", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.FindSubUserRelationshipMapResp" } }, "400": { @@ -2596,9 +2638,9 @@ } } }, - "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": { - "post": { - "description": "日活分析", + "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": { + "get": { + "description": "关系分布图(获取指定用户下级)", "consumes": [ "application/json" ], @@ -2608,7 +2650,7 @@ "tags": [ "公排管理" ], - "summary": "制度中心-公排管理-日活分析", + "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)", "parameters": [ { "type": "string", @@ -2618,20 +2660,18 @@ "required": true }, { - "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.UserDailyActivityAnalysisReq" - } + "type": "string", + "description": "用户ID", + "name": "uid", + "in": "query", + "required": true } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserDailyActivityAnalysisResp" + "$ref": "#/definitions/md.TreeNode" } }, "400": { @@ -2643,9 +2683,9 @@ } } }, - "/api/login": { - "post": { - "description": "登入", + "/api/institutionalManagement/publicPlatoon/getBasic": { + "get": { + "description": "公排基础设置(获取)", "consumes": [ "application/json" ], @@ -2653,25 +2693,23 @@ "application/json" ], "tags": [ - "登录" + "公排管理" ], - "summary": "登陆", + "summary": "制度中心-公排管理-公排基础设置(获取)", "parameters": [ { - "description": "用户名密码", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.LoginReq" - } + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true } ], "responses": { "200": { - "description": "token", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.LoginResponse" + "$ref": "#/definitions/md.GetPublicPlatoonBasicResp" } }, "400": { @@ -2683,9 +2721,9 @@ } } }, - "/api/marketingApplications/newUserRedPackage/getBasic": { - "get": { - "description": "新人红包设置(获取)", + "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/delete": { + "delete": { + "description": "免罚用户(删除)", "consumes": [ "application/json" ], @@ -2693,9 +2731,9 @@ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包设置(获取)", + "summary": "制度中心-公排管理-免罚用户(删除)", "parameters": [ { "type": "string", @@ -2703,13 +2741,22 @@ "name": "Authorization", "in": "header", "required": true + }, + { + "description": "免罚用户ID", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DeleteFreePublishUserReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "删除数据数量", "schema": { - "$ref": "#/definitions/md.NewUserRedPackageGetBasicResp" + "type": "int" } }, "400": { @@ -2721,9 +2768,9 @@ } } }, - "/api/marketingApplications/newUserRedPackage/recordFlowList": { + "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": { "post": { - "description": "新人红包列表明细(查询)", + "description": "免罚用户(查询)", "consumes": [ "application/json" ], @@ -2731,9 +2778,9 @@ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包列表明细(查询)", + "summary": "制度中心-公排管理-免罚用户(查询)", "parameters": [ { "type": "string", @@ -2743,20 +2790,20 @@ "required": true }, { - "description": "新人红包列表明细查询条件(分页信息、用户 ID必填)", + "description": "页数和行数必填,uid选填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListReq" + "$ref": "#/definitions/md.GetFreePublishUserReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功返回", "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListResp" + "$ref": "#/definitions/md.GetFreePublishUserResp" } }, "400": { @@ -2768,9 +2815,9 @@ } } }, - "/api/marketingApplications/newUserRedPackage/recordList": { + "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": { "post": { - "description": "新人红包列表(查询)", + "description": "免罚用户(新增)", "consumes": [ "application/json" ], @@ -2778,9 +2825,9 @@ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包列表(查询)", + "summary": "制度中心-公排管理-免罚用户(新增)", "parameters": [ { "type": "string", @@ -2790,20 +2837,20 @@ "required": true }, { - "description": "新人红包列表查询条件(分页信息必填)", + "description": "免罚用户ID", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordListReq" + "$ref": "#/definitions/md.AddFreePublishUserReq" } } ], "responses": { "200": { - "description": "具体数据", + "description": "插入数据 ID", "schema": { - "$ref": "#/definitions/md.NewUserRedPackageRecordListResp" + "type": "int" } }, "400": { @@ -2815,9 +2862,9 @@ } } }, - "/api/marketingApplications/newUserRedPackage/updateBasic": { - "put": { - "description": "新人红包设置(修改)", + "/api/institutionalManagement/publicPlatoon/relationshipMap": { + "get": { + "description": "关系分布图(获取)", "consumes": [ "application/json" ], @@ -2825,9 +2872,9 @@ "application/json" ], "tags": [ - "营销应用" + "公排管理" ], - "summary": "制度中心-营销应用-新人红包设置(修改)", + "summary": "制度中心-公排管理-关系分布图(获取)", "parameters": [ { "type": "string", @@ -2837,20 +2884,25 @@ "required": true }, { - "description": "新人红包设置表单", - "name": "req", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/md.NewUserRedPackageUpdateBasicReq" - } + "type": "string", + "description": "phone", + "name": "phone", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "uid", + "name": "uid", + "in": "query", + "required": true } ], "responses": { "200": { - "description": "success", + "description": "具体数据", "schema": { - "type": "string" + "$ref": "#/definitions/md.TreeNode" } }, "400": { @@ -2862,9 +2914,9 @@ } } }, - "/api/memberCenter/levelManagement/addLevel": { + "/api/institutionalManagement/publicPlatoon/selectMember": { "post": { - "description": "等级管理(新增)", + "description": "公排基础设置选择会员(查询)", "consumes": [ "application/json" ], @@ -2872,9 +2924,9 @@ "application/json" ], "tags": [ - "会员中心" + "公排管理" ], - "summary": "制度中心-会员中心-等级管理(新增)", + "summary": "制度中心-公排管理-公排基础设置选择会员(查询)", "parameters": [ { "type": "string", @@ -2884,20 +2936,20 @@ "required": true }, { - "description": "需要新增的等级信息", + "description": "分页信息必填", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddLevelReq" + "$ref": "#/definitions/md.SelectMemberReq" } } ], "responses": { "200": { - "description": "新增等级ID", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.SelectMemberResp" } }, "400": { @@ -2909,9 +2961,9 @@ } } }, - "/api/memberCenter/levelManagement/addLevelTask": { - "post": { - "description": "等级任务(新增)", + "/api/institutionalManagement/publicPlatoon/updateBasic": { + "put": { + "description": "公排基础设置(修改)", "consumes": [ "application/json" ], @@ -2919,9 +2971,9 @@ "application/json" ], "tags": [ - "会员中心" + "公排管理" ], - "summary": "制度中心-会员中心-等级明细-等级任务(新增)", + "summary": "制度中心-公排管理-公排基础设置(修改)", "parameters": [ { "type": "string", @@ -2931,20 +2983,20 @@ "required": true }, { - "description": "需要新增的任务信息", + "description": "公排设置表单内容", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddLevelTaskReq" + "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq" } } ], "responses": { "200": { - "description": "新增的任务ID", + "description": "success", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -2956,9 +3008,9 @@ } } }, - "/api/memberCenter/levelManagement/deleteLevel": { - "delete": { - "description": "等级管理(删除)", + "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": { + "post": { + "description": "日活分析", "consumes": [ "application/json" ], @@ -2966,9 +3018,9 @@ "application/json" ], "tags": [ - "会员中心" + "公排管理" ], - "summary": "制度中心-会员中心-等级管理(删除)", + "summary": "制度中心-公排管理-日活分析", "parameters": [ { "type": "string", @@ -2978,20 +3030,20 @@ "required": true }, { - "description": "需要删除的等级 ID", + "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteLevelReq" + "$ref": "#/definitions/md.UserDailyActivityAnalysisReq" } } ], "responses": { "200": { - "description": "成功删除数据数量", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.UserDailyActivityAnalysisResp" } }, "400": { @@ -3003,9 +3055,9 @@ } } }, - "/api/memberCenter/levelManagement/deleteLevelTask": { - "delete": { - "description": "等级任务(删除)", + "/api/login": { + "post": { + "description": "登入", "consumes": [ "application/json" ], @@ -3013,32 +3065,25 @@ "application/json" ], "tags": [ - "会员中心" + "登录" ], - "summary": "制度中心-会员中心-等级管理-等级任务(删除)", + "summary": "登陆", "parameters": [ { - "type": "string", - "description": "验证参数Bearer和token空格拼接", - "name": "Authorization", - "in": "header", - "required": true - }, - { - "description": "需要删除的等级任务ID", + "description": "用户名密码", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteTaskReq" + "$ref": "#/definitions/md.LoginReq" } } ], "responses": { "200": { - "description": "成功删除数据数量", + "description": "token", "schema": { - "type": "int" + "$ref": "#/definitions/md.LoginResponse" } }, "400": { @@ -3050,9 +3095,9 @@ } } }, - "/api/memberCenter/levelManagement/getLevelList": { + "/api/marketingApplications/newUserRedPackage/getBasic": { "get": { - "description": "标签管理(获取)", + "description": "新人红包设置(获取)", "consumes": [ "application/json" ], @@ -3060,9 +3105,9 @@ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级管理(获取)", + "summary": "制度中心-营销应用-新人红包设置(获取)", "parameters": [ { "type": "string", @@ -3070,27 +3115,13 @@ "name": "Authorization", "in": "header", "required": true - }, - { - "type": "integer", - "description": "每页大小", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "页数", - "name": "page", - "in": "query", - "required": true } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetLevelListResp" + "$ref": "#/definitions/md.NewUserRedPackageGetBasicResp" } }, "400": { @@ -3102,9 +3133,9 @@ } } }, - "/api/memberCenter/levelManagement/getOneLevel": { - "get": { - "description": "等级明细(获取)", + "/api/marketingApplications/newUserRedPackage/recordFlowList": { + "post": { + "description": "新人红包列表明细(查询)", "consumes": [ "application/json" ], @@ -3112,9 +3143,9 @@ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级管理-等级明细(获取)", + "summary": "制度中心-营销应用-新人红包列表明细(查询)", "parameters": [ { "type": "string", @@ -3124,18 +3155,20 @@ "required": true }, { - "type": "integer", - "description": "等级 ID", - "name": "level_id", - "in": "query", - "required": true + "description": "新人红包列表明细查询条件(分页信息、用户 ID必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.GetOneLevelResp" + "$ref": "#/definitions/md.NewUserRedPackageRecordFlowListResp" } }, "400": { @@ -3147,9 +3180,9 @@ } } }, - "/api/memberCenter/levelManagement/updateLevel": { + "/api/marketingApplications/newUserRedPackage/recordList": { "post": { - "description": "等级管理(更新)", + "description": "新人红包列表(查询)", "consumes": [ "application/json" ], @@ -3157,9 +3190,9 @@ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级管理(更新)", + "summary": "制度中心-营销应用-新人红包列表(查询)", "parameters": [ { "type": "string", @@ -3169,20 +3202,20 @@ "required": true }, { - "description": "需要修改的等级信息", + "description": "新人红包列表查询条件(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateLevelReq" + "$ref": "#/definitions/md.NewUserRedPackageRecordListReq" } } ], "responses": { "200": { - "description": "成功修改数据条数", + "description": "具体数据", "schema": { - "type": "int" + "$ref": "#/definitions/md.NewUserRedPackageRecordListResp" } }, "400": { @@ -3194,9 +3227,9 @@ } } }, - "/api/memberCenter/levelManagement/updateLevelTask": { - "post": { - "description": "等级任务(更新)", + "/api/marketingApplications/newUserRedPackage/updateBasic": { + "put": { + "description": "新人红包设置(修改)", "consumes": [ "application/json" ], @@ -3204,9 +3237,9 @@ "application/json" ], "tags": [ - "会员中心" + "营销应用" ], - "summary": "制度中心-会员中心-等级明细-等级任务(更新)", + "summary": "制度中心-营销应用-新人红包设置(修改)", "parameters": [ { "type": "string", @@ -3216,20 +3249,20 @@ "required": true }, { - "description": "需要修改的等级任务信息", + "description": "新人红包设置表单", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateLevelTaskReq" + "$ref": "#/definitions/md.NewUserRedPackageUpdateBasicReq" } } ], "responses": { "200": { - "description": "成功修改数据条数", + "description": "success", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -3241,9 +3274,9 @@ } } }, - "/api/memberCenter/tagManagement/addTag": { + "/api/memberCenter/levelManagement/addLevel": { "post": { - "description": "标签管理(新增)", + "description": "等级管理(新增)", "consumes": [ "application/json" ], @@ -3253,7 +3286,7 @@ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(新增)", + "summary": "制度中心-会员中心-等级管理(新增)", "parameters": [ { "type": "string", @@ -3263,18 +3296,18 @@ "required": true }, { - "description": "新增的标签信息", + "description": "需要新增的等级信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.AddTagReq" + "$ref": "#/definitions/md.AddLevelReq" } } ], "responses": { "200": { - "description": "新增的标签 ID", + "description": "新增等级ID", "schema": { "type": "int" } @@ -3288,9 +3321,9 @@ } } }, - "/api/memberCenter/tagManagement/deleteTag": { - "delete": { - "description": "标签管理(删除)", + "/api/memberCenter/levelManagement/addLevelTask": { + "post": { + "description": "等级任务(新增)", "consumes": [ "application/json" ], @@ -3300,7 +3333,7 @@ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(删除)", + "summary": "制度中心-会员中心-等级明细-等级任务(新增)", "parameters": [ { "type": "string", @@ -3310,18 +3343,18 @@ "required": true }, { - "description": "需要删除的标签 ID", + "description": "需要新增的任务信息", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.DeleteTagReq" + "$ref": "#/definitions/md.AddLevelTaskReq" } } ], "responses": { "200": { - "description": "成功删除标签用户数", + "description": "新增的任务ID", "schema": { "type": "int" } @@ -3335,9 +3368,9 @@ } } }, - "/api/memberCenter/tagManagement/getTagList": { - "get": { - "description": "标签管理(获取)", + "/api/memberCenter/levelManagement/deleteLevel": { + "delete": { + "description": "等级管理(删除)", "consumes": [ "application/json" ], @@ -3347,7 +3380,7 @@ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(获取)", + "summary": "制度中心-会员中心-等级管理(删除)", "parameters": [ { "type": "string", @@ -3357,25 +3390,20 @@ "required": true }, { - "type": "integer", - "description": "每页大小", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "页数", - "name": "page", - "in": "query", - "required": true + "description": "需要删除的等级 ID", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DeleteLevelReq" + } } ], "responses": { "200": { - "description": "具体数据", + "description": "成功删除数据数量", "schema": { - "$ref": "#/definitions/md.GetTagListResp" + "type": "int" } }, "400": { @@ -3387,9 +3415,9 @@ } } }, - "/api/memberCenter/tagManagement/updateTag": { - "post": { - "description": "标签管理(更新)", + "/api/memberCenter/levelManagement/deleteLevelTask": { + "delete": { + "description": "等级任务(删除)", "consumes": [ "application/json" ], @@ -3399,7 +3427,7 @@ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-标签管理(更新)", + "summary": "制度中心-会员中心-等级管理-等级任务(删除)", "parameters": [ { "type": "string", @@ -3409,18 +3437,18 @@ "required": true }, { - "description": "需要修改的标签信息", + "description": "需要删除的等级任务ID", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UpdateTagReq" + "$ref": "#/definitions/md.DeleteTaskReq" } } ], "responses": { "200": { - "description": "成功修改数据条数", + "description": "成功删除数据数量", "schema": { "type": "int" } @@ -3434,9 +3462,9 @@ } } }, - "/api/memberCenter/userManagement/balanceDetail": { + "/api/memberCenter/levelManagement/getLevelList": { "get": { - "description": "会员明细(余额获取)", + "description": "标签管理(获取)", "consumes": [ "application/json" ], @@ -3446,7 +3474,7 @@ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细(余额获取)", + "summary": "制度中心-会员中心-等级管理(获取)", "parameters": [ { "type": "string", @@ -3456,21 +3484,14 @@ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", - "in": "query", - "required": true - }, - { - "type": "string", + "type": "integer", "description": "每页大小", "name": "limit", "in": "query", "required": true }, { - "type": "string", + "type": "integer", "description": "页数", "name": "page", "in": "query", @@ -3481,7 +3502,7 @@ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetBalanceDetailResp" + "$ref": "#/definitions/md.GetLevelListResp" } }, "400": { @@ -3493,9 +3514,9 @@ } } }, - "/api/memberCenter/userManagement/getFans": { + "/api/memberCenter/levelManagement/getOneLevel": { "get": { - "description": "会员明细粉丝情况(获取)", + "description": "等级明细(获取)", "consumes": [ "application/json" ], @@ -3505,7 +3526,7 @@ "tags": [ "会员中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细粉丝情况(获取)", + "summary": "制度中心-会员中心-等级管理-等级明细(获取)", "parameters": [ { "type": "string", @@ -3515,39 +3536,991 @@ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", + "type": "integer", + "description": "等级 ID", + "name": "level_id", "in": "query", "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.GetOneLevelResp" + } }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/levelManagement/updateLevel": { + "post": { + "description": "等级管理(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-等级管理(更新)", + "parameters": [ { "type": "string", - "description": "粉丝类型(1.全部 2.直推 3.二代 4.二代以后)", - "name": "type", - "in": "query", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", "required": true }, + { + "description": "需要修改的等级信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateLevelReq" + } + } + ], + "responses": { + "200": { + "description": "成功修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/levelManagement/updateLevelTask": { + "post": { + "description": "等级任务(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-等级明细-等级任务(更新)", + "parameters": [ { "type": "string", - "description": "每页大小", - "name": "limit", - "in": "query", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", "required": true }, + { + "description": "需要修改的等级任务信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateLevelTaskReq" + } + } + ], + "responses": { + "200": { + "description": "成功修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/addTag": { + "post": { + "description": "标签管理(新增)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(新增)", + "parameters": [ { "type": "string", - "description": "页数", - "name": "page", - "in": "query", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", "required": true + }, + { + "description": "新增的标签信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.AddTagReq" + } + } + ], + "responses": { + "200": { + "description": "新增的标签 ID", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/deleteTag": { + "delete": { + "description": "标签管理(删除)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(删除)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "需要删除的标签 ID", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.DeleteTagReq" + } + } + ], + "responses": { + "200": { + "description": "成功删除标签用户数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/getTagList": { + "get": { + "description": "标签管理(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "integer", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "integer", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.GetTagListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/tagManagement/updateTag": { + "post": { + "description": "标签管理(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-标签管理(更新)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "需要修改的标签信息", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UpdateTagReq" + } + } + ], + "responses": { + "200": { + "description": "成功修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/balanceDetail": { + "get": { + "description": "会员明细(余额获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细(余额获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetBalanceDetailResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/getFans": { + "get": { + "description": "会员明细粉丝情况(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细粉丝情况(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "粉丝类型(1.全部 2.直推 3.二代 4.二代以后)", + "name": "type", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetFansResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/getUserList": { + "post": { + "description": "用户信息管理(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-用户信息管理(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "分页信息必填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UserManagementGetUserListReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetUserListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/getVirtualCoinDetail": { + "get": { + "description": "会员明细(积分明细获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细(积分明细获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "货币 ID", + "name": "coinId", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "每页大小", + "name": "limit", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "页数", + "name": "page", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetVirtualCoinDetailResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/updateUserInfo": { + "post": { + "description": "用户信息管理(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-用户信息管理(更新)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "用户ID 必传", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.UserManagementUpdateUserInfoReq" + } + } + ], + "responses": { + "200": { + "description": "修改数据行数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/memberCenter/userManagement/userData": { + "get": { + "description": "会员明细概况(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "会员中心" + ], + "summary": "制度中心-会员中心-用户管理-会员明细概况(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "用户 ID", + "name": "uid", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "会员明细概况具体数据", + "schema": { + "$ref": "#/definitions/md.UserManagementGetOneBasicResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/base": { + "get": { + "description": "短信推送记录-通知模板", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-通知模板", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/file/phone": { + "post": { + "description": "短信推送记录-通知模板", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-通知模板", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "参数 file-----文件上传格式", + "name": "file", + "in": "formData", + "required": true + } + ], + "responses": { + "200": { + "description": "phone 一个数组", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/push/list": { + "post": { + "description": "短信推送记录-推送记录列表", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-推送记录列表", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsListReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.NoticePushListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/push/save": { + "post": { + "description": "短信推送记录-推送记录添加-发送 (不做编辑了)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-推送记录添加-发送(不做编辑了)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsSaveReq" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/sale/base": { + "get": { + "description": "短信推送记录-营销短信-通知模板", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-营销短信-通知模板", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.NoticeAliyunSmsListResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/sale/save": { + "post": { + "description": "短信推送记录-营销短信-通知模板添加编辑", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-营销短信-通知模板添加编辑", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "数组 把列表的数组传过来", + "name": "req", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/aliyunSms/save": { + "post": { + "description": "短信推送记录-通知模板添加编辑", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-短信推送记录-通知模板添加编辑", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "数组 把列表的数组传过来", + "name": "req", + "in": "body", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "type": "string" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/notice/jPush/del": { + "post": { + "description": "APP推送记录-通知模板删除", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "消息中心" + ], + "summary": "消息中心-APP推送记录-通知模板删除", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeDelReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetFansResp" + "type": "string" } }, "400": { @@ -3559,9 +4532,9 @@ } } }, - "/api/memberCenter/userManagement/getUserList": { + "/api/notice/jPush/list": { "post": { - "description": "用户信息管理(获取)", + "description": "APP推送记录-通知模板", "consumes": [ "application/json" ], @@ -3569,9 +4542,9 @@ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-用户信息管理(获取)", + "summary": "消息中心-APP推送记录-通知模板", "parameters": [ { "type": "string", @@ -3581,12 +4554,12 @@ "required": true }, { - "description": "分页信息必填", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UserManagementGetUserListReq" + "$ref": "#/definitions/md.NoticeListReq" } } ], @@ -3594,7 +4567,7 @@ "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetUserListResp" + "$ref": "#/definitions/md.NoticeListResp" } }, "400": { @@ -3606,9 +4579,9 @@ } } }, - "/api/memberCenter/userManagement/getVirtualCoinDetail": { - "get": { - "description": "会员明细(积分明细获取)", + "/api/notice/jPush/push/list": { + "post": { + "description": "APP推送记录-推送记录列表", "consumes": [ "application/json" ], @@ -3616,9 +4589,9 @@ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细(积分明细获取)", + "summary": "消息中心-APP推送记录-推送记录列表", "parameters": [ { "type": "string", @@ -3628,39 +4601,20 @@ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "货币 ID", - "name": "coinId", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "每页大小", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "页数", - "name": "page", - "in": "query", - "required": true + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeListReq" + } } ], "responses": { "200": { "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetVirtualCoinDetailResp" + "$ref": "#/definitions/md.NoticePushListResp" } }, "400": { @@ -3672,9 +4626,9 @@ } } }, - "/api/memberCenter/userManagement/updateUserInfo": { + "/api/notice/jPush/push/save": { "post": { - "description": "用户信息管理(更新)", + "description": "APP推送记录-推送记录添加-发送 (不做编辑了)", "consumes": [ "application/json" ], @@ -3682,9 +4636,9 @@ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-用户信息管理(更新)", + "summary": "消息中心-APP推送记录-推送记录添加-发送(不做编辑了)", "parameters": [ { "type": "string", @@ -3694,20 +4648,20 @@ "required": true }, { - "description": "用户ID 必传", + "description": "(分页信息必填)", "name": "req", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/md.UserManagementUpdateUserInfoReq" + "$ref": "#/definitions/md.NoticeSaveReq" } } ], "responses": { "200": { - "description": "修改数据行数", + "description": "具体数据", "schema": { - "type": "int" + "type": "string" } }, "400": { @@ -3719,9 +4673,9 @@ } } }, - "/api/memberCenter/userManagement/userData": { - "get": { - "description": "会员明细概况(获取)", + "/api/notice/jPush/save": { + "post": { + "description": "APP推送记录-通知模板添加编辑", "consumes": [ "application/json" ], @@ -3729,9 +4683,9 @@ "application/json" ], "tags": [ - "会员中心" + "消息中心" ], - "summary": "制度中心-会员中心-用户管理-会员明细概况(获取)", + "summary": "消息中心-APP推送记录-通知模板添加编辑", "parameters": [ { "type": "string", @@ -3741,18 +4695,20 @@ "required": true }, { - "type": "string", - "description": "用户 ID", - "name": "uid", - "in": "query", - "required": true + "description": "(分页信息必填)", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.NoticeSaveReq" + } } ], "responses": { "200": { - "description": "会员明细概况具体数据", + "description": "具体数据", "schema": { - "$ref": "#/definitions/md.UserManagementGetOneBasicResp" + "type": "string" } }, "400": { @@ -3783,6 +4739,19 @@ } } }, + "applet_app_md_financial_center.WithdrawFrequencySettingStruct": { + "type": "object", + "properties": { + "duration": { + "description": "周期 (0.天 1.小时 2.周 3.天 4.月 5.年)", + "type": "integer" + }, + "num": { + "description": "周期数", + "type": "integer" + } + } + }, "applet_app_md_im.GetBasicResp": { "type": "object", "properties": { @@ -4243,12 +5212,211 @@ "description": "是否为处罚标签(0:否 1:是)", "type": "string" }, - "memo": { - "description": "备注", + "memo": { + "description": "备注", + "type": "string" + }, + "name": { + "description": "标签名称", + "type": "string" + } + } + }, + "md.ArticleCateDelReq": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "md.ArticleCateList": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_show": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pid": { + "type": "string" + }, + "sort": { + "type": "string" + } + } + }, + "md.ArticleCateListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.ArticleCateListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.ArticleCateList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.ArticleCateSaveReq": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "is_show": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pid": { + "type": "string" + }, + "sort": { + "type": "string" + } + } + }, + "md.ArticleDelReq": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "md.ArticleList": { + "type": "object", + "properties": { + "cate_id": { + "type": "string", + "example": "二级分类id" + }, + "content": { + "type": "string" + }, + "cover": { + "type": "string", + "example": "一级分类id=4 显示 封面图" + }, + "cover_url": { + "type": "string" + }, + "id": { + "type": "string" + }, + "is_show": { + "type": "string" + }, + "pid": { + "type": "string", + "example": "一级分类id" + }, + "sort": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "md.ArticleListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.ArticleListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.ArticleList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "total": { + "type": "integer" + } + } + }, + "md.ArticleSaveReq": { + "type": "object", + "properties": { + "cate_id": { + "type": "string", + "example": "二级分类id" + }, + "content": { + "type": "string" + }, + "cover": { + "type": "string", + "example": "一级分类id=4 显示 封面图" + }, + "id": { + "type": "string" + }, + "is_show": { "type": "string" }, - "name": { - "description": "标签名称", + "pid": { + "type": "string", + "example": "一级分类id" + }, + "sort": { + "type": "string" + }, + "title": { "type": "string" } } @@ -5715,7 +6883,7 @@ "description": "频率设置(0:日 1:周 2:月 3:年)", "allOf": [ { - "$ref": "#/definitions/md.WithdrawFrequencySettingStruct" + "$ref": "#/definitions/applet_app_md_financial_center.WithdrawFrequencySettingStruct" } ] }, @@ -6207,6 +7375,234 @@ } } }, + "md.NoticeAliyunSmsList": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "md.NoticeAliyunSmsListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.NoticeAliyunSmsListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.NoticeAliyunSmsList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.NoticeAliyunSmsSaveReq": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "md.NoticeDelReq": { + "type": "object", + "properties": { + "id": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "md.NoticeList": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "md.NoticeListReq": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "string" + }, + "page": { + "description": "页数", + "type": "string" + } + } + }, + "md.NoticeListResp": { + "type": "object", + "properties": { + "change_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.NoticeList" + } + }, + "select_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.NoticePushList": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "platform": { + "type": "string" + }, + "send_end_time": { + "type": "string", + "example": "如 2024-11-25 11:56:00" + }, + "send_start_time": { + "type": "string", + "example": "如 2024-11-25 11:56:00" + }, + "send_type": { + "type": "string", + "example": "0立即推送 1定时推送" + }, + "state": { + "type": "string", + "example": "0待发送 1发送成功" + }, + "target": { + "type": "string" + }, + "title": { + "type": "string" + } + } + }, + "md.NoticePushListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.NoticePushList" + } + }, + "platform_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "target_data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "total": { + "type": "integer" + } + } + }, + "md.NoticeSaveReq": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "id": { + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, "md.OtherNode": { "type": "object", "properties": { @@ -6262,6 +7658,56 @@ } } }, + "md.PageSendRedPackageOrdReq": { + "type": "object", + "properties": { + "invite_code": { + "description": "邀请码", + "type": "string", + "example": "邀请码" + }, + "nickname": { + "description": "昵称", + "type": "string", + "example": "昵称" + }, + "ord_no": { + "description": "订单号", + "type": "string", + "example": "订单号" + }, + "page": { + "type": "integer" + }, + "page_size": { + "type": "integer" + }, + "phone": { + "description": "手机号", + "type": "string", + "example": "手机号" + }, + "red_packet_type": { + "description": "红包类型", + "type": "integer" + }, + "start_time_end": { + "type": "string", + "example": "发送时间-截止" + }, + "start_time_start": { + "type": "string", + "example": "发送时间-起始" + }, + "state": { + "description": "状态", + "type": "integer" + }, + "uid": { + "type": "integer" + } + } + }, "md.PlatformRevenueDataNode": { "type": "object", "properties": { @@ -7091,7 +8537,7 @@ "description": "频率设置(num 个 duration) (duration (0.天 1.小时 2.周 3.月 4.年))", "allOf": [ { - "$ref": "#/definitions/md.WithdrawFrequencySettingStruct" + "$ref": "#/definitions/applet_app_md_financial_center.WithdrawFrequencySettingStruct" } ] }, @@ -8039,19 +9485,6 @@ } } }, - "md.WithdrawFrequencySettingStruct": { - "type": "object", - "properties": { - "duration": { - "description": "周期 (0.天 1.小时 2.周 3.天 4.月 5.年)", - "type": "integer" - }, - "num": { - "description": "周期数", - "type": "integer" - } - } - }, "model.EggEnergyUserEggIndexWeight": { "type": "object", "properties": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 830f077..9f51df0 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -11,6 +11,15 @@ definitions: description: 总数据量 type: integer type: object + applet_app_md_financial_center.WithdrawFrequencySettingStruct: + properties: + duration: + description: 周期 (0.天 1.小时 2.周 3.天 4.月 5.年) + type: integer + num: + description: 周期数 + type: integer + type: object applet_app_md_im.GetBasicResp: properties: chat_sensitive_words: @@ -345,6 +354,139 @@ definitions: description: 标签名称 type: string type: object + md.ArticleCateDelReq: + properties: + id: + items: + type: string + type: array + type: object + md.ArticleCateList: + properties: + id: + type: string + is_show: + type: string + name: + type: string + pid: + type: string + sort: + type: string + type: object + md.ArticleCateListReq: + properties: + limit: + description: 每页大小 + type: string + page: + description: 页数 + type: string + type: object + md.ArticleCateListResp: + properties: + list: + items: + $ref: '#/definitions/md.ArticleCateList' + type: array + select_data: + items: + additionalProperties: + type: string + type: object + type: array + total: + type: integer + type: object + md.ArticleCateSaveReq: + properties: + id: + type: string + is_show: + type: string + name: + type: string + pid: + type: string + sort: + type: string + type: object + md.ArticleDelReq: + properties: + id: + items: + type: string + type: array + type: object + md.ArticleList: + properties: + cate_id: + example: 二级分类id + type: string + content: + type: string + cover: + example: 一级分类id=4 显示 封面图 + type: string + cover_url: + type: string + id: + type: string + is_show: + type: string + pid: + example: 一级分类id + type: string + sort: + type: string + title: + type: string + type: object + md.ArticleListReq: + properties: + limit: + description: 每页大小 + type: string + page: + description: 页数 + type: string + type: object + md.ArticleListResp: + properties: + list: + items: + $ref: '#/definitions/md.ArticleList' + type: array + select_data: + items: + additionalProperties: true + type: object + type: array + total: + type: integer + type: object + md.ArticleSaveReq: + properties: + cate_id: + example: 二级分类id + type: string + content: + type: string + cover: + example: 一级分类id=4 显示 封面图 + type: string + id: + type: string + is_show: + type: string + pid: + example: 一级分类id + type: string + sort: + type: string + title: + type: string + type: object md.BalanceDetailNode: properties: after_amount: @@ -1365,7 +1507,7 @@ definitions: type: string frequency_set: allOf: - - $ref: '#/definitions/md.WithdrawFrequencySettingStruct' + - $ref: '#/definitions/applet_app_md_financial_center.WithdrawFrequencySettingStruct' description: 频率设置(0:日 1:周 2:月 3:年) id: type: integer @@ -1711,6 +1853,157 @@ definitions: description: 奖励系数 type: number type: object + md.NoticeAliyunSmsList: + properties: + content: + type: string + id: + type: string + title: + type: string + type: + type: string + type: object + md.NoticeAliyunSmsListReq: + properties: + limit: + description: 每页大小 + type: string + page: + description: 页数 + type: string + type: object + md.NoticeAliyunSmsListResp: + properties: + list: + items: + $ref: '#/definitions/md.NoticeAliyunSmsList' + type: array + select_data: + items: + additionalProperties: + type: string + type: object + type: array + total: + type: integer + type: object + md.NoticeAliyunSmsSaveReq: + properties: + content: + type: string + id: + type: string + title: + type: string + type: + type: string + type: object + md.NoticeDelReq: + properties: + id: + items: + type: string + type: array + type: object + md.NoticeList: + properties: + content: + type: string + id: + type: string + title: + type: string + type: + type: string + type: object + md.NoticeListReq: + properties: + limit: + description: 每页大小 + type: string + page: + description: 页数 + type: string + type: object + md.NoticeListResp: + properties: + change_data: + items: + additionalProperties: + type: string + type: object + type: array + list: + items: + $ref: '#/definitions/md.NoticeList' + type: array + select_data: + items: + additionalProperties: + type: string + type: object + type: array + total: + type: integer + type: object + md.NoticePushList: + properties: + content: + type: string + id: + type: string + platform: + type: string + send_end_time: + example: 如 2024-11-25 11:56:00 + type: string + send_start_time: + example: 如 2024-11-25 11:56:00 + type: string + send_type: + example: 0立即推送 1定时推送 + type: string + state: + example: 0待发送 1发送成功 + type: string + target: + type: string + title: + type: string + type: object + md.NoticePushListResp: + properties: + list: + items: + $ref: '#/definitions/md.NoticePushList' + type: array + platform_data: + items: + additionalProperties: + type: string + type: object + type: array + target_data: + items: + additionalProperties: + type: string + type: object + type: array + total: + type: integer + type: object + md.NoticeSaveReq: + properties: + content: + type: string + id: + type: string + title: + type: string + type: + type: string + type: object md.OtherNode: properties: create_at: @@ -1749,6 +2042,43 @@ definitions: description: 状态 type: integer type: object + md.PageSendRedPackageOrdReq: + properties: + invite_code: + description: 邀请码 + example: 邀请码 + type: string + nickname: + description: 昵称 + example: 昵称 + type: string + ord_no: + description: 订单号 + example: 订单号 + type: string + page: + type: integer + page_size: + type: integer + phone: + description: 手机号 + example: 手机号 + type: string + red_packet_type: + description: 红包类型 + type: integer + start_time_end: + example: 发送时间-截止 + type: string + start_time_start: + example: 发送时间-起始 + type: string + state: + description: 状态 + type: integer + uid: + type: integer + type: object md.PlatformRevenueDataNode: properties: balance_amount: @@ -2321,7 +2651,7 @@ definitions: properties: frequency_set: allOf: - - $ref: '#/definitions/md.WithdrawFrequencySettingStruct' + - $ref: '#/definitions/applet_app_md_financial_center.WithdrawFrequencySettingStruct' description: 频率设置(num 个 duration) (duration (0.天 1.小时 2.周 3.月 4.年)) id: type: integer @@ -2994,16 +3324,7 @@ definitions: example: 货币类型名称 type: string type: object - md.WithdrawFrequencySettingStruct: - properties: - duration: - description: 周期 (0.天 1.小时 2.周 3.天 4.月 5.年) - type: integer - num: - description: 周期数 - type: integer - type: object - model.EggEnergyUserEggIndexWeight: + model.EggEnergyUserEggIndexWeight: properties: account_balance_exchange_egg_energy_nums: type: string @@ -3075,6 +3396,217 @@ info: title: 蛋蛋星球-管理后台 version: "1.0" paths: + /api/advertising/base: + get: + consumes: + - application/json + description: 广告管理-广告设置-信息 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.NoticeAliyunSmsListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 广告管理-广告设置-信息 + tags: + - 广告管理 + /api/article/cate/del: + post: + consumes: + - application/json + description: 分类列表-分类删除 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ArticleCateDelReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 文章资讯-分类列表-分类删除 + tags: + - 文章资讯 + /api/article/cate/list: + post: + consumes: + - application/json + description: 分类列表 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ArticleCateListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.ArticleCateListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 文章资讯-分类列表 + tags: + - 文章资讯 + /api/article/cate/save: + post: + consumes: + - application/json + description: 分类列表-分类保存 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ArticleCateSaveReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 文章资讯-分类列表-分类保存 + tags: + - 文章资讯 + /api/article/content/del: + post: + consumes: + - application/json + description: 文章列表-文章删除 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ArticleDelReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 文章资讯-文章列表-文章删除 + tags: + - 文章资讯 + /api/article/content/list: + post: + consumes: + - application/json + description: 文章列表 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ArticleListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.ArticleListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 文章资讯-文章列表 + tags: + - 文章资讯 + /api/article/content/save: + post: + consumes: + - application/json + description: 文章列表-文章保存 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ArticleSaveReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 文章资讯-文章列表-文章保存 + tags: + - 文章资讯 /api/comm/getOssUrl: get: consumes: @@ -3448,6 +3980,67 @@ paths: summary: Im-表情包(列表) tags: - 表情包 + /api/im/pageSendRedPackageOrd: + post: + consumes: + - application/json + description: 红包记录(列表) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 相关参数 + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.PageSendRedPackageOrdReq' + produces: + - application/json + responses: + "200": + description: success + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: Im-红包记录(列表) + tags: + - 红包记录 + /api/im/redPackageRecordsDetail: + get: + consumes: + - application/json + description: 红包记录(详情) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 红包id + in: query + name: red_package_id + required: true + type: string + produces: + - application/json + responses: + "200": + description: success + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: Im-红包记录(详情) + tags: + - 红包记录 /api/im/setBasic: post: consumes: @@ -5552,6 +6145,365 @@ paths: summary: 制度中心-会员中心-用户管理-会员明细概况(获取) tags: - 会员中心 + /api/notice/aliyunSms/base: + get: + consumes: + - application/json + description: 短信推送记录-通知模板 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.NoticeAliyunSmsListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-通知模板 + tags: + - 消息中心 + /api/notice/aliyunSms/file/phone: + post: + consumes: + - application/json + description: 短信推送记录-通知模板 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 参数 file-----文件上传格式 + in: formData + name: file + required: true + type: string + produces: + - application/json + responses: + "200": + description: phone 一个数组 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-通知模板 + tags: + - 消息中心 + /api/notice/aliyunSms/push/list: + post: + consumes: + - application/json + description: 短信推送记录-推送记录列表 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeAliyunSmsListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.NoticePushListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-推送记录列表 + tags: + - 消息中心 + /api/notice/aliyunSms/push/save: + post: + consumes: + - application/json + description: 短信推送记录-推送记录添加-发送 (不做编辑了) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeAliyunSmsSaveReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-推送记录添加-发送(不做编辑了) + tags: + - 消息中心 + /api/notice/aliyunSms/sale/base: + get: + consumes: + - application/json + description: 短信推送记录-营销短信-通知模板 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.NoticeAliyunSmsListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-营销短信-通知模板 + tags: + - 消息中心 + /api/notice/aliyunSms/sale/save: + post: + consumes: + - application/json + description: 短信推送记录-营销短信-通知模板添加编辑 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 数组 把列表的数组传过来 + in: body + name: req + required: true + schema: + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-营销短信-通知模板添加编辑 + tags: + - 消息中心 + /api/notice/aliyunSms/save: + post: + consumes: + - application/json + description: 短信推送记录-通知模板添加编辑 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 数组 把列表的数组传过来 + in: body + name: req + required: true + schema: + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-短信推送记录-通知模板添加编辑 + tags: + - 消息中心 + /api/notice/jPush/del: + post: + consumes: + - application/json + description: APP推送记录-通知模板删除 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeDelReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-APP推送记录-通知模板删除 + tags: + - 消息中心 + /api/notice/jPush/list: + post: + consumes: + - application/json + description: APP推送记录-通知模板 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.NoticeListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-APP推送记录-通知模板 + tags: + - 消息中心 + /api/notice/jPush/push/list: + post: + consumes: + - application/json + description: APP推送记录-推送记录列表 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.NoticePushListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-APP推送记录-推送记录列表 + tags: + - 消息中心 + /api/notice/jPush/push/save: + post: + consumes: + - application/json + description: APP推送记录-推送记录添加-发送 (不做编辑了) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeSaveReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-APP推送记录-推送记录添加-发送(不做编辑了) + tags: + - 消息中心 + /api/notice/jPush/save: + post: + consumes: + - application/json + description: APP推送记录-通知模板添加编辑 + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: (分页信息必填) + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.NoticeSaveReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + type: string + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 消息中心-APP推送记录-通知模板添加编辑 + tags: + - 消息中心 securityDefinitions: MasterID: in: header diff --git a/go.mod b/go.mod index 15a3c6b..88670d2 100644 --- a/go.mod +++ b/go.mod @@ -37,6 +37,7 @@ require ( code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241125081706-0915be3f4144 code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 + github.com/360EntSecGroup-Skylar/excelize v1.4.1 github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible github.com/gin-contrib/sessions v1.0.1 github.com/go-sql-driver/mysql v1.8.1 @@ -48,7 +49,6 @@ require ( require ( filippo.io/edwards25519 v1.1.0 // indirect - github.com/360EntSecGroup-Skylar/excelize v1.4.1 // indirect github.com/BurntSushi/toml v1.4.0 // indirect github.com/KyleBanks/depth v1.2.1 // indirect github.com/PuerkitoBio/goquery v1.9.2 // indirect From 2e11a75f7fd2d87af6dff77d0506dc83684fbc3d Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 26 Nov 2024 15:36:20 +0800 Subject: [PATCH 4/4] update --- docs/docs.go | 160 ++++++++++++++++++++++++++++++++++++++++++++++ docs/swagger.json | 160 ++++++++++++++++++++++++++++++++++++++++++++++ docs/swagger.yaml | 111 ++++++++++++++++++++++++++++++++ 3 files changed, 431 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index 459483f..f8f2e8d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2365,6 +2365,98 @@ const docTemplate = `{ } } }, + "/api/institutionalManagement/moduleSetting/getModuleSetting": { + "get": { + "description": "个性化设置(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "模块设置" + ], + "summary": "制度中心-模块设置-个性化设置(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "模块类型值", + "name": "mod_name_value", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.ModuleSettingGetResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/institutionalManagement/moduleSetting/updateModuleSetting": { + "post": { + "description": "个性化设置(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "模块设置" + ], + "summary": "制度中心-模块设置-个性化设置(更新)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "模块类型值必填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ModuleSettingUpdateReq" + } + } + ], + "responses": { + "200": { + "description": "修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { "post": { "description": "社区分红(新增)", @@ -7145,6 +7237,74 @@ const docTemplate = `{ } } }, + "md.ModuleSettingGetResp": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name": { + "description": "模块名称", + "type": "string" + }, + "mod_name_list": { + "description": "模块名称对照", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, + "md.ModuleSettingUpdateReq": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name_value": { + "description": "模块类型值", + "type": "string" + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, "md.NewUserRedPackageGetBasicResp": { "type": "object", "properties": { diff --git a/docs/swagger.json b/docs/swagger.json index 864af8e..d463cac 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2358,6 +2358,98 @@ } } }, + "/api/institutionalManagement/moduleSetting/getModuleSetting": { + "get": { + "description": "个性化设置(获取)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "模块设置" + ], + "summary": "制度中心-模块设置-个性化设置(获取)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "模块类型值", + "name": "mod_name_value", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "具体数据", + "schema": { + "$ref": "#/definitions/md.ModuleSettingGetResp" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, + "/api/institutionalManagement/moduleSetting/updateModuleSetting": { + "post": { + "description": "个性化设置(更新)", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "模块设置" + ], + "summary": "制度中心-模块设置-个性化设置(更新)", + "parameters": [ + { + "type": "string", + "description": "验证参数Bearer和token空格拼接", + "name": "Authorization", + "in": "header", + "required": true + }, + { + "description": "模块类型值必填", + "name": "req", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/md.ModuleSettingUpdateReq" + } + } + ], + "responses": { + "200": { + "description": "修改数据条数", + "schema": { + "type": "int" + } + }, + "400": { + "description": "具体错误", + "schema": { + "$ref": "#/definitions/md.Response" + } + } + } + } + }, "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": { "post": { "description": "社区分红(新增)", @@ -7138,6 +7230,74 @@ } } }, + "md.ModuleSettingGetResp": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name": { + "description": "模块名称", + "type": "string" + }, + "mod_name_list": { + "description": "模块名称对照", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, + "md.ModuleSettingUpdateReq": { + "type": "object", + "properties": { + "data": { + "description": "内容", + "type": "object", + "additionalProperties": true + }, + "mod_name_value": { + "description": "模块类型值", + "type": "string" + }, + "position": { + "description": "位置", + "type": "string" + }, + "skip_identifier": { + "description": "跳转标识", + "type": "string" + }, + "subtitle": { + "description": "副标题", + "type": "string" + }, + "title": { + "description": "标题", + "type": "string" + } + } + }, "md.NewUserRedPackageGetBasicResp": { "type": "object", "properties": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 9f51df0..838144f 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -1684,6 +1684,56 @@ definitions: example: 分数 type: string type: object + md.ModuleSettingGetResp: + properties: + data: + additionalProperties: true + description: 内容 + type: object + mod_name: + description: 模块名称 + type: string + mod_name_list: + description: 模块名称对照 + items: + additionalProperties: true + type: object + type: array + position: + description: 位置 + type: string + skip_identifier: + description: 跳转标识 + type: string + subtitle: + description: 副标题 + type: string + title: + description: 标题 + type: string + type: object + md.ModuleSettingUpdateReq: + properties: + data: + additionalProperties: true + description: 内容 + type: object + mod_name_value: + description: 模块类型值 + type: string + position: + description: 位置 + type: string + skip_identifier: + description: 跳转标识 + type: string + subtitle: + description: 副标题 + type: string + title: + description: 标题 + type: string + type: object md.NewUserRedPackageGetBasicResp: properties: create_at: @@ -4939,6 +4989,67 @@ paths: summary: 制度中心-绿色能量持有者明细-蛋蛋积分流水明细(查询) tags: - 公排管理 + /api/institutionalManagement/moduleSetting/getModuleSetting: + get: + consumes: + - application/json + description: 个性化设置(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 模块类型值 + in: query + name: mod_name_value + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.ModuleSettingGetResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-模块设置-个性化设置(获取) + tags: + - 模块设置 + /api/institutionalManagement/moduleSetting/updateModuleSetting: + post: + consumes: + - application/json + description: 个性化设置(更新) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 模块类型值必填 + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.ModuleSettingUpdateReq' + produces: + - application/json + responses: + "200": + description: 修改数据条数 + schema: + type: int + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-模块设置-个性化设置(更新) + tags: + - 模块设置 /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd: post: consumes: