From da6adfeffc8959e9f3f20395868d0ebd2eed8d72 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Tue, 19 Nov 2024 16:02:55 +0800 Subject: [PATCH] update --- .../egg_energy/hdl_basic.go | 1 + app/hdl/member_center/hdl_tag__management.go | 33 +- .../member_center/md_tag_management.go | 1 + .../member_center/md_user_management.go | 86 +- app/router/router.go | 4 +- docs/docs.go | 3473 +++++++++++------ docs/swagger.json | 3473 +++++++++++------ docs/swagger.yaml | 1035 ++++- go.mod | 13 +- 9 files changed, 5754 insertions(+), 2365 deletions(-) diff --git a/app/hdl/institutional_management/egg_energy/hdl_basic.go b/app/hdl/institutional_management/egg_energy/hdl_basic.go index d5bb1f1..db00185 100644 --- a/app/hdl/institutional_management/egg_energy/hdl_basic.go +++ b/app/hdl/institutional_management/egg_energy/hdl_basic.go @@ -213,6 +213,7 @@ func UpdateEggEnergyBasic(c *gin.Context) { forceColums := []string{"is_open", "video_reward_is_open"} energyBasicSettingDb := implement.NewEggEnergyBasicSettingDb(db.Db) session := db.Db.NewSession() + defer session.Close() affected, err := energyBasicSettingDb.EggEnergyBasicSettingUpdate(session, req.SystemID, &m, forceColums...) if err != nil { e.OutErr(c, e.ERR_DB_ORM, err.Error()) diff --git a/app/hdl/member_center/hdl_tag__management.go b/app/hdl/member_center/hdl_tag__management.go index 9628c3b..661ba7d 100644 --- a/app/hdl/member_center/hdl_tag__management.go +++ b/app/hdl/member_center/hdl_tag__management.go @@ -99,11 +99,40 @@ func UpdateTag(c *gin.Context) { e.OutSuc(c, affected, nil) } +// DeleteTag +// @Summary 制度中心-会员中心-标签管理(删除) +// @Tags 会员中心 +// @Description 标签管理(删除) +// @Accept json +// @Produce json +// @param Authorization header string true "验证参数Bearer和token空格拼接" +// @Param req body md.DeleteTagReq true "需要删除的标签 ID" +// @Success 200 {int} "成功删除标签用户数" +// @Failure 400 {object} md.Response "具体错误" +// @Router /api/memberCenter/tagManagement/deleteTag [post] func DeleteTag(c *gin.Context) { - var req *md.UpdateTagReq + var req *md.DeleteTagReq if err := c.ShouldBindJSON(&req); err != nil { e.OutErr(c, e.ERR_INVALID_ARGS, err.Error()) return } - // todo 删除标签 + + tagDb := implement.NewUserTagDb(db.Db) + recordsDb := implement.NewUserTagRecordsDb(db.Db) + session := db.Db.NewSession() + defer session.Close() + + _, err := tagDb.UserTagDeleteBySession(session, req.TagID) + if err != nil { + session.Rollback() + e.OutErr(c, e.ERR_DB_ORM, err.Error()) + return + } + affected, err := recordsDb.UserTagRecordDeleteBySession(session, utils.StrToInt64(req.TagID)) + if err != nil { + session.Rollback() + e.OutErr(c, e.ERR_DB_ORM, err.Error()) + return + } + e.OutSuc(c, affected, nil) } diff --git a/app/md/institutional_management/member_center/md_tag_management.go b/app/md/institutional_management/member_center/md_tag_management.go index 0499508..a3e5d36 100644 --- a/app/md/institutional_management/member_center/md_tag_management.go +++ b/app/md/institutional_management/member_center/md_tag_management.go @@ -22,4 +22,5 @@ type UpdateTagReq struct { } type DeleteTagReq struct { + TagID string `json:"tag_id,required"` // 标签 ID } diff --git a/app/md/institutional_management/member_center/md_user_management.go b/app/md/institutional_management/member_center/md_user_management.go index eb19165..c5eaafc 100644 --- a/app/md/institutional_management/member_center/md_user_management.go +++ b/app/md/institutional_management/member_center/md_user_management.go @@ -25,8 +25,8 @@ type UserManagementGetUserListReq struct { RegisterAfter string `json:"register_after"` // 注册时间终点 LoginBefore string `json:"login_before"` // 最近登录开始时间 LoginAfter string `json:"login_after"` // 最近登录结束时间 - Page int `json:"page"` - Limit int `json:"limit"` + Page int `json:"page,required"` + Limit int `json:"limit,required"` } type Paginate struct { @@ -49,7 +49,6 @@ type UserManagementGetUserListNode struct { ParentPhone string `json:"parent_phone" example:"推荐人手机号"` RegisterTime string `json:"register_time"` // 注册时间 Memo string `json:"memo"` // 备注 - model.User } type UserManagementGetUserListResp struct { @@ -74,44 +73,39 @@ type LevelCount struct { type UserManagementUpdateUserInfoReq struct { UID int64 `json:"uid,required"` + Avatar string `json:"avatar"` // 头像 + Sex string `json:"sex"` // 性别(0:未知 1:男 2:女) + Level string `json:"level"` // 会员等级 ID + Tag string `json:"tag"` // 用户标签 ID + Phone string `json:"phone"` // 手机号 + Nickname string `json:"nickname"` // 用户名 + UnionId string `json:"union_id"` // 微信号 Memo string `json:"memo" example:"备注"` - Disable bool `json:"disable"` // 是否禁用用户 - Tag string `json:"tag"` // 用户标签 ID + State string `json:"state"` // 账号状态 1正常,2冻结 LastLoginIp string `json:"last_login_ip"` // 用户最后登录 IP - Avatar string `json:"avatar"` // 头像 - Phone string `json:"phone"` // 手机号 - UnionId string `json:"union_id"` // 微信号 - Nickname string `json:"nickname"` // 用户昵称 - Level string `json:"level"` // 用户等级 ID - State string `json:"state"` // 用户状态 1正常,2冻结 - Sex string `json:"sex"` // 用户性别 性别(0:未知 1:男 2:女) - ParentUid string `json:"parent_uid"` // 用户父级 ID + ParentUid string `json:"parent_uid"` // 邀请人 ID } type BasicInfoNode struct { - Avatar string `json:"avatar"` // 头像 - Sex int `json:"sex"` // 性别 - Nickname string `json:"nickname"` // 会员名称 - TagName string `json:"tag_name"` // 标签名称 - Phone string `json:"phone"` // 手机号 - UnionId string `json:"union_id"` // 微信号 - Password string `json:"password"` // 登录密码 - Passcode string `json:"passcode"` // 支付密码 - State int `json:"state"` // 账号状态 1正常,2冻结 - Memo string `json:"memo"` // 备注 - ParentUid int64 `json:"parent_uid"` // 推荐人 - ParentName string `json:"parent_name"` // 推荐人名称 - ParentPhone string `json:"parent_phone"` // 推荐人手机号 - SystemInviteCode string `json:"system_invite_code"` // 系统邀请码 - CustomInviteCode string `json:"custom_invite_code"` // 自定义邀请码 - LevelName string `json:"level_name"` // 等级名称 + Avatar string `json:"avatar"` // 头像 + Sex int `json:"sex"` // 性别 + Nickname string `json:"nickname"` // 用户名称 + LevelName string `json:"level_name"` // 会员等级名称 + TagName string `json:"tag_name"` // 标签名称 + Phone string `json:"phone"` // 手机号 + UnionId string `json:"union_id"` // 微信号 + Password string `json:"password"` // 登录密码 + State int `json:"state"` // 账号状态 1正常,2冻结 + Memo string `json:"memo"` // 备注 + ParentUid int64 `json:"parent_uid"` // 推荐人 + ParentName string `json:"parent_name"` // 推荐人名称 + ParentPhone string `json:"parent_phone"` // 推荐人手机号 } type OtherNode struct { - LastLoginIp string `json:"last_login_ip" ` // 最后登录 IP - LastLoginAt string `json:"last_login_at" ` // 最近登录时间 - CreateAt string `json:"create_at" ` // 注册时间 - RegisterType int `json:"register_at" ` // 注册类型(0.未知, 1.免验证码手机号注册,2.微信授权) + LastLoginIp string `json:"last_login_ip" ` // 最后登录 IP + LastLoginAt string `json:"last_login_at" ` // 最近登录时间 + CreateAt string `json:"create_at" ` // 注册时间 } type WalletNode struct { @@ -124,13 +118,10 @@ type VirtualAmountInfoNode struct { } type UserManagementGetOneBasicResp struct { - TagsList []map[string]interface{} `json:"tags_list"` // 标签列表 - LevelsList []map[string]interface{} `json:"levels_list"` // 等级列表 - CoinsList []map[string]interface{} `json:"coins_list"` // 货币列表 - VirtualAmountInfo []VirtualAmountInfoNode `json:"virtual_amount_info"` // 虚拟资产钱包数据 - BasicInfo BasicInfoNode `json:"basic_info"` // 基本信息 - WalletInfo WalletNode `json:"wallet_info"` // 钱包信息 - OtherInfo OtherNode `json:"other_info"` // 其他信息 + TagsList []map[string]interface{} `json:"tags_list"` // 标签列表 + LevelsList []map[string]interface{} `json:"levels_list"` // 等级列表 + BasicInfo BasicInfoNode `json:"basic_info"` // 基本信息 + OtherInfo OtherNode `json:"other_info"` // 其他信息 } type FansNode struct { @@ -149,15 +140,12 @@ type UserManagementGetFansResp struct { } type BalanceDetailNode struct { - ID int64 `json:"id"` // 记录ID - Uid int64 `json:"uid"` // 用户ID - Nickname string `json:"nickname"` // 用户昵称 - Phone string `json:"phone"` // 用户手机号 - Amount string `json:"amount"` // 变更余额 - AfterAmount string `json:"after_amount"` // 变更后余额 - Kind string `json:"kind"` //类型 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量 - OrdID string `json:"ord_Id"` // 订单号 - CreateAt string `json:"create_at"` // 创建时间 + ID int64 `json:"id"` // 记录ID + Amount string `json:"amount"` // 变更数量 + BeforeAmount string `json:"before_amount"` // 变更前余额 + AfterAmount string `json:"after_amount"` // 变更后余额 + Kind string `json:"kind"` //类型 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量 + CreateAt string `json:"create_at"` // 创建时间 } type UserManagementGetBalanceDetailResp struct { diff --git a/app/router/router.go b/app/router/router.go index 84fa545..756c8c5 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -54,9 +54,9 @@ func Init() *gin.Engine { func route(r *gin.RouterGroup) { r.GET("/test", hdl.Demo) r.POST("/login", hdl.Login) - r.Use(mw.Auth) // 以下接口需要JWT验证 + //r.Use(mw.Auth) // 以下接口需要JWT验证 rComm(r.Group("/comm")) - r.Use(mw.CheckPermission) // 检测权限 + //r.Use(mw.CheckPermission) // 检测权限 rInstitutionalManagement(r.Group("/institutionalManagement")) rMarketingApplications(r.Group("/marketingApplications")) rMemberCenter(r.Group("/memberCenter")) diff --git a/docs/docs.go b/docs/docs.go index 1adf59f..8a3151d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1730,329 +1730,1383 @@ const docTemplate = `{ } } } + }, + "/api/memberCenter/levelManagement/getLevelList": { + "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.GetLevelListResp" + } + }, + "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": "验证参数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/tagManagement/deleteTag": { + "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.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/getOneBasicInfo": { + "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/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" + } + } + } + } } }, "definitions": { "applet_app_md_institutional_management_egg_energy.BasicSetting": { "type": "object", "properties": { - "direct_push_reward": { - "description": "直推奖励", - "allOf": [ - { - "$ref": "#/definitions/md.TeamRewardSettingStruct" - } - ] + "direct_push_reward": { + "description": "直推奖励", + "allOf": [ + { + "$ref": "#/definitions/md.TeamRewardSettingStruct" + } + ] + }, + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" + }, + "person_egg_energy_coin_id": { + "description": "个人蛋蛋能量对应虚拟币 id", + "type": "integer" + }, + "person_egg_points_coin_id": { + "description": "个人蛋蛋积分对应虚拟币 id", + "type": "integer" + }, + "team_egg_energy_coin_id": { + "description": "团队蛋蛋能量对应虚拟币 id", + "type": "integer" + }, + "team_egg_points_coin_id": { + "description": "团队蛋蛋积分对应虚拟币 id", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_egg_energy.Paginate": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", + "type": "integer" + }, + "total": { + "description": "总数据量", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_member_center.Paginate": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", + "type": "integer" + }, + "total": { + "description": "总数据量", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_new_user_red_package.Paginate": { + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "total": { + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_public_platoon.BasicSetting": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" + }, + "is_self_active_get_team_revenue": { + "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "type": "integer" + }, + "originator_uid": { + "description": "创始人uid", + "type": "integer" + }, + "several_rows": { + "description": "几排", + "type": "integer" + }, + "several_times": { + "description": "几乘", + "type": "integer" + }, + "system_punish_replace": { + "description": "是否位置滑落 被新用户替换 0否 1是", + "type": "integer" + }, + "system_punish_replace_value": { + "description": "xx天未活跃,处罚滑落", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_public_platoon.Paginate": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", + "type": "integer" + }, + "total": { + "description": "总数据量", + "type": "integer" + } + } + }, + "md.ActivePointsWalletNode": { + "type": "object", + "properties": { + "amount": { + "type": "string", + "example": "账户余额" + }, + "uid": { + "description": "用户 ID", + "type": "integer" + }, + "user_name": { + "type": "string", + "example": "用户名" + }, + "user_phone": { + "type": "string", + "example": "手机号" + } + } + }, + "md.AddCommunityDividendsReq": { + "type": "object", + "properties": { + "amount": { + "description": "社区分红数量", + "type": "string" }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", + "name": { + "type": "string", + "example": "社区分红名称" + } + } + }, + "md.AddCommunityDividendsWithUserReq": { + "type": "object", + "properties": { + "memo": { + "type": "string", + "example": "备注" + }, + "uid": { + "description": "新增社区长用户 ID", + "type": "integer" + } + } + }, + "md.AddFreePublishUserReq": { + "type": "object", + "properties": { + "uid": { + "type": "integer" + } + } + }, + "md.AddFundDataReq": { + "type": "object", + "properties": { + "frequency": { + "description": "频率(分钟)", "type": "integer" }, - "person_egg_energy_coin_id": { - "description": "个人蛋蛋能量对应虚拟币 id", + "hours": { + "description": "时长(小时)", "type": "integer" }, - "person_egg_points_coin_id": { - "description": "个人蛋蛋积分对应虚拟币 id", + "kind": { + "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", "type": "integer" }, - "team_egg_energy_coin_id": { - "description": "团队蛋蛋能量对应虚拟币 id", + "memo": { + "type": "string", + "example": "备注" + }, + "total_amount": { + "description": "金额", + "type": "string" + } + } + }, + "md.AddPlatformRevenueReq": { + "type": "object", + "properties": { + "frequency": { + "description": "频率(分钟)", "type": "integer" }, - "team_egg_points_coin_id": { - "description": "团队蛋蛋积分对应虚拟币 id", + "hours": { + "description": "时长(小时)", + "type": "integer" + }, + "kind": { + "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", "type": "integer" + }, + "memo": { + "type": "string", + "example": "备注" + }, + "total_amount": { + "description": "金额", + "type": "string" } } }, - "applet_app_md_institutional_management_egg_energy.Paginate": { + "md.BalanceDetailNode": { "type": "object", "properties": { - "limit": { - "description": "每页大小", + "after_amount": { + "description": "变更后余额", + "type": "string" + }, + "amount": { + "description": "变更数量", + "type": "string" + }, + "before_amount": { + "description": "变更前余额", + "type": "string" + }, + "create_at": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "记录ID", + "type": "integer" + }, + "kind": { + "description": "类型 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量", + "type": "string" + } + } + }, + "md.BasicInfoNode": { + "type": "object", + "properties": { + "avatar": { + "description": "头像", + "type": "string" + }, + "level_name": { + "description": "会员等级名称", + "type": "string" + }, + "memo": { + "description": "备注", + "type": "string" + }, + "nickname": { + "description": "用户名称", + "type": "string" + }, + "parent_name": { + "description": "推荐人名称", + "type": "string" + }, + "parent_phone": { + "description": "推荐人手机号", + "type": "string" + }, + "parent_uid": { + "description": "推荐人", + "type": "integer" + }, + "password": { + "description": "登录密码", + "type": "string" + }, + "phone": { + "description": "手机号", + "type": "string" + }, + "sex": { + "description": "性别", + "type": "integer" + }, + "state": { + "description": "账号状态 1正常,2冻结", + "type": "integer" + }, + "tag_name": { + "description": "标签名称", + "type": "string" + }, + "union_id": { + "description": "微信号", + "type": "string" + } + } + }, + "md.DailyActivityAnalysisTopData": { + "type": "object", + "properties": { + "activity_count": { + "description": "子节点活跃天数", + "type": "integer" + }, + "team_activity_user_count": { + "description": "子节点活跃人数", + "type": "integer" + }, + "team_user_count": { + "description": "团队人数", + "type": "integer" + } + } + }, + "md.DataSetting": { + "type": "object", + "properties": { + "total_angel_investor": { + "description": "天使投资人", + "type": "string", + "example": "天使投资人" + }, + "total_ecological_development": { + "description": "生态建设", + "type": "string", + "example": "当前价格" + }, + "total_issuance_amount": { + "description": "总发行量", + "type": "string", + "example": "总发行量" + }, + "total_operate_fund": { + "description": "运营资金", + "type": "string", + "example": "运营资金" + }, + "total_technology_team": { + "description": "技术团队", + "type": "string", + "example": "技术团队" + }, + "total_user_for_person": { + "description": "TotalTeamDividends string` + "`" + `json:\"total_team_dividends\" example:\"团队分红\"` + "`" + ` // 团队分红", + "type": "string", + "example": "个人区域" + }, + "total_user_for_team": { + "description": "团队区域", + "type": "string", + "example": "团队区域" + } + } + }, + "md.DeleteTagReq": { + "type": "object", + "properties": { + "tag_id": { + "description": "标签 ID", + "type": "string" + } + } + }, + "md.DestructionSettingStruct": { + "type": "object", + "properties": { + "community_dividends": { + "description": "社区分红百分比", + "type": "string" + }, + "destruction_quantity": { + "description": "销毁百分比", + "type": "string" + }, + "development_committee": { + "description": "发展委员会百分比", + "type": "string" + }, + "marketplace_merchant": { + "description": "市商数量百分比", + "type": "string" + }, + "public_welfare_and_charity": { + "description": "公益慈善百分比", + "type": "string" + }, + "star_level_dividends": { + "description": "星级分红百分比", + "type": "string" + } + } + }, + "md.DynamicDataFlowListReq": { + "type": "object", + "properties": { + "end_at": { + "description": "结束时间", + "type": "string", + "example": "结束时间" + }, + "kind": { + "description": "持有类型", "type": "integer" }, "page": { "description": "页数", "type": "integer" }, - "total": { - "description": "总数据量", + "page_size": { + "description": "每页大小", "type": "integer" + }, + "start_at": { + "description": "开始时间", + "type": "string", + "example": "开始时间" } } }, - "applet_app_md_institutional_management_new_user_red_package.Paginate": { + "md.DynamicDataFlowListResp": { "type": "object", "properties": { - "limit": { - "type": "integer" + "kind_list": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } }, - "page": { - "type": "integer" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow" + } }, - "total": { - "type": "integer" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" } } }, - "applet_app_md_institutional_management_public_platoon.BasicSetting": { + "md.EggEnergyAvailableEnergyFlow": { "type": "object", "properties": { - "id": { - "type": "integer" + "after_community_dividends": { + "type": "string" }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", - "type": "integer" + "after_destruction_quantity_values": { + "type": "string" }, - "is_self_active_get_team_revenue": { - "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", - "type": "integer" + "after_development_committee_values": { + "type": "string" }, - "originator_uid": { - "description": "创始人uid", - "type": "integer" + "after_marketplace_merchant_fund_values": { + "type": "string" }, - "several_rows": { - "description": "几排", - "type": "integer" + "after_marketplace_merchant_values": { + "type": "string" }, - "several_times": { - "description": "几乘", - "type": "integer" + "after_now_energy_total_nums": { + "type": "string" }, - "system_punish_replace": { - "description": "是否位置滑落 被新用户替换 0否 1是", + "after_planet_total_value": { + "type": "string" + }, + "after_price": { + "type": "string" + }, + "after_public_welfare_and_charity_values": { + "type": "string" + }, + "after_star_level_dividends_values": { + "type": "string" + }, + "amount": { + "type": "string" + }, + "before_community_dividends": { + "type": "string" + }, + "before_destruction_quantity_values": { + "type": "string" + }, + "before_development_committee_values": { + "type": "string" + }, + "before_marketplace_merchant_fund_values": { + "type": "string" + }, + "before_marketplace_merchant_values": { + "type": "string" + }, + "before_now_energy_total_nums": { + "type": "string" + }, + "before_planet_total_value": { + "type": "string" + }, + "before_price": { + "type": "string" + }, + "before_public_welfare_and_charity_values": { + "type": "string" + }, + "before_star_level_dividends_values": { + "type": "string" + }, + "create_time": { + "type": "string" + }, + "id": { "type": "integer" }, - "system_punish_replace_value": { - "description": "xx天未活跃,处罚滑落", + "kind": { "type": "integer" + }, + "title": { + "type": "string" } } }, - "applet_app_md_institutional_management_public_platoon.Paginate": { + "md.EggEnergyCommunityDividends": { "type": "object", "properties": { - "limit": { - "description": "每页大小", - "type": "integer" + "amount": { + "description": "分红数量", + "type": "string" }, - "page": { - "description": "页数", + "coin_id": { + "description": "虚拟币 id", "type": "integer" }, - "total": { - "description": "总数据量", + "create_at": { + "description": "分红时间", + "type": "string" + }, + "id": { "type": "integer" - } - } - }, - "md.ActivePointsWalletNode": { - "type": "object", - "properties": { - "amount": { - "type": "string", - "example": "账户余额" }, - "uid": { - "description": "用户 ID", + "is_over": { + "description": "是否分红完毕", "type": "integer" }, - "user_name": { + "name": { "type": "string", - "example": "用户名" + "example": "名称" }, - "user_phone": { - "type": "string", - "example": "手机号" + "persons_num": { + "description": "分红人数", + "type": "integer" + }, + "update_at": { + "type": "string" } } }, - "md.AddCommunityDividendsReq": { + "md.EggEnergyCommunityDividendsWithUser": { "type": "object", "properties": { - "amount": { - "description": "社区分红数量", - "type": "string" + "id": { + "type": "integer" }, - "name": { + "memo": { "type": "string", - "example": "社区分红名称" + "example": "备注" + }, + "nickname": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "uid": { + "type": "integer" } } }, - "md.AddCommunityDividendsWithUserReq": { + "md.ExchangeRulesStruct": { "type": "object", "properties": { - "memo": { - "type": "string", - "example": "备注" + "auto_exchange_nums_by_person": { + "description": "个人数量X个,自动兑换可用蛋蛋能量", + "type": "string" }, - "uid": { - "description": "新增社区长用户 ID", - "type": "integer" + "auto_exchange_nums_by_team": { + "description": "团队数量X个,自动兑换团队蛋蛋能量", + "type": "string" + }, + "auto_exchange_rate_by_person": { + "description": "个人数量百分比,自动兑换可用蛋蛋能量", + "type": "string" + }, + "auto_exchange_rate_by_team": { + "description": "团队数量百分比,自动兑换团队蛋蛋能量", + "type": "string" } } }, - "md.AddFreePublishUserReq": { + "md.ExchangeUserPositionReq": { "type": "object", "properties": { - "uid": { + "position_1": { + "description": "位置1,具体值取返回数据中的 system_id", + "type": "integer" + }, + "position_2": { + "description": "位置2,具体值取返回数据中的 system_id", "type": "integer" } } }, - "md.AddFundDataReq": { + "md.FansNode": { "type": "object", "properties": { - "frequency": { - "description": "频率(分钟)", - "type": "integer" + "amount": { + "description": "可提现余额", + "type": "string" }, - "hours": { - "description": "时长(小时)", + "id": { + "description": "用户ID", "type": "integer" }, - "kind": { - "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", + "level_total": { + "description": "所属代数", "type": "integer" }, - "memo": { + "nickname": { "type": "string", - "example": "备注" + "example": "用户昵称" }, - "total_amount": { - "description": "金额", + "phone": { + "type": "string", + "example": "手机号" + }, + "register_at": { + "description": "注册时间", + "type": "string" + }, + "total_income": { + "description": "累计收益", "type": "string" } } }, - "md.AddPlatformRevenueReq": { + "md.FindSubUserRelationshipMapResp": { "type": "object", "properties": { - "frequency": { - "description": "频率(分钟)", - "type": "integer" - }, - "hours": { - "description": "时长(小时)", - "type": "integer" - }, - "kind": { - "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", - "type": "integer" - }, - "memo": { - "type": "string", - "example": "备注" + "basic_setting": { + "description": "公排设置", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting" + } + ] }, - "total_amount": { - "description": "金额", + "search_uid": { + "description": "查找的用户 ID", "type": "string" + }, + "sub_user": { + "description": "上级用户信息", + "allOf": [ + { + "$ref": "#/definitions/md.SubUser" + } + ] } } }, - "md.DailyActivityAnalysisTopData": { + "md.FreePublishUserNode": { "type": "object", "properties": { - "activity_count": { - "description": "子节点活跃天数", - "type": "integer" + "nickname": { + "type": "string", + "example": "昵称" }, - "team_activity_user_count": { - "description": "子节点活跃人数", - "type": "integer" + "phone": { + "type": "string", + "example": "手机号" }, - "team_user_count": { - "description": "团队人数", + "uid": { "type": "integer" } } }, - "md.DataSetting": { + "md.FundDataNode": { "type": "object", "properties": { - "total_angel_investor": { - "description": "天使投资人", - "type": "string", - "example": "天使投资人" + "balance_amount": { + "description": "余额", + "type": "string" }, - "total_ecological_development": { - "description": "生态建设", - "type": "string", - "example": "当前价格" + "balance_times": { + "description": "剩余执行次数", + "type": "integer" }, - "total_issuance_amount": { - "description": "总发行量", - "type": "string", - "example": "总发行量" + "create_at": { + "description": "创建时间", + "type": "string" }, - "total_operate_fund": { - "description": "运营资金", - "type": "string", - "example": "运营资金" + "hours": { + "description": "时长", + "type": "integer" }, - "total_technology_team": { - "description": "技术团队", - "type": "string", - "example": "技术团队" + "kind": { + "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", + "type": "integer" }, - "total_user_for_person": { - "description": "TotalTeamDividends string` + "`" + `json:\"total_team_dividends\" example:\"团队分红\"` + "`" + ` // 团队分红", - "type": "string", - "example": "个人区域" + "memo": { + "description": "备注", + "type": "string" }, - "total_user_for_team": { - "description": "团队区域", - "type": "string", - "example": "团队区域" + "system_id": { + "type": "integer" + }, + "total_amount": { + "description": "金额", + "type": "string" } } }, - "md.DestructionSettingStruct": { + "md.FundDataRecordNode": { "type": "object", "properties": { - "community_dividends": { - "description": "社区分红百分比", + "after_planet_total_value": { + "description": "执行后-星球价值", "type": "string" }, - "destruction_quantity": { - "description": "销毁百分比", + "after_price": { + "description": "执行后-价格", "type": "string" }, - "development_committee": { - "description": "发展委员会百分比", + "balance_amount": { + "description": "余额", "type": "string" }, - "marketplace_merchant": { - "description": "市商数量百分比", + "balance_times": { + "description": "剩余执行次数", + "type": "integer" + }, + "before_planet_total_value": { + "description": "执行前-星球价值", "type": "string" }, - "public_welfare_and_charity": { - "description": "公益慈善百分比", + "before_price": { + "description": "执行前-价格", "type": "string" }, - "star_level_dividends": { - "description": "星级分红百分比", + "create_at": { + "type": "string" + }, + "total_amount": { + "description": "金额", "type": "string" } } }, - "md.DynamicDataFlowListReq": { + "md.GetActivePointsUserCoinFlowListReq": { "type": "object", "properties": { - "end_at": { - "description": "结束时间", - "type": "string", - "example": "结束时间" + "coin_id": { + "description": "货币类型 ID", + "type": "integer" }, - "kind": { - "description": "持有类型", + "direction": { + "description": "流水方向:1收入 2支出", "type": "integer" }, + "end_at": { + "description": "结束时间", + "type": "string" + }, "page": { "description": "页数", "type": "integer" @@ -2063,316 +3117,357 @@ const docTemplate = `{ }, "start_at": { "description": "开始时间", - "type": "string", - "example": "开始时间" + "type": "string" + }, + "uid": { + "description": "用户 ID", + "type": "integer" } } }, - "md.DynamicDataFlowListResp": { + "md.GetActivePointsUserCoinFlowListResp": { "type": "object", "properties": { - "kind_list": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } - }, "list": { + "description": "流水信息", "type": "array", "items": { - "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow" + "$ref": "#/definitions/md.UserVirtualCoinFlow" } }, "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + "description": "分页信息", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + } + ] + }, + "select_data": { + "description": "流水类型", + "allOf": [ + { + "$ref": "#/definitions/md.SelectData" + } + ] } } }, - "md.EggEnergyAvailableEnergyFlow": { + "md.GetActivePointsUserCoinListReq": { "type": "object", "properties": { - "after_community_dividends": { - "type": "string" - }, - "after_destruction_quantity_values": { - "type": "string" - }, - "after_development_committee_values": { - "type": "string" - }, - "after_marketplace_merchant_fund_values": { - "type": "string" - }, - "after_marketplace_merchant_values": { - "type": "string" - }, - "after_now_energy_total_nums": { - "type": "string" - }, - "after_planet_total_value": { - "type": "string" - }, - "after_price": { - "type": "string" - }, - "after_public_welfare_and_charity_values": { - "type": "string" - }, - "after_star_level_dividends_values": { - "type": "string" - }, - "amount": { - "type": "string" - }, - "before_community_dividends": { - "type": "string" - }, - "before_destruction_quantity_values": { - "type": "string" - }, - "before_development_committee_values": { - "type": "string" + "end_coin": { + "type": "string", + "example": "最大金额" }, - "before_marketplace_merchant_fund_values": { - "type": "string" + "kind": { + "description": "虚拟币种类编号", + "type": "integer" }, - "before_marketplace_merchant_values": { - "type": "string" + "page": { + "description": "页数", + "type": "integer" }, - "before_now_energy_total_nums": { - "type": "string" + "page_size": { + "description": "单页大小", + "type": "integer" }, - "before_planet_total_value": { - "type": "string" + "start_coin": { + "type": "string", + "example": "最小金额" }, - "before_price": { - "type": "string" + "uid": { + "description": "指定查询用户 ID", + "type": "integer" }, - "before_public_welfare_and_charity_values": { - "type": "string" + "user_name": { + "type": "string", + "example": "用户名称" }, - "before_star_level_dividends_values": { - "type": "string" + "user_phone": { + "type": "string", + "example": "手机号" + } + } + }, + "md.GetActivePointsUserCoinListResp": { + "type": "object", + "properties": { + "kind_list": { + "description": "货币类型集合", + "type": "array", + "items": { + "$ref": "#/definitions/md.VirtualCoinListNode" + } }, - "create_time": { - "type": "string" + "list": { + "description": "余额集合", + "type": "array", + "items": { + "$ref": "#/definitions/md.ActivePointsWalletNode" + } }, - "id": { - "type": "integer" + "sum_user_amount": { + "description": "用户持有总数", + "type": "number" }, - "kind": { + "total": { + "description": "持有该类型用户数", "type": "integer" - }, - "title": { - "type": "string" } } }, - "md.EggEnergyCommunityDividends": { + "md.GetBasicResp": { "type": "object", "properties": { - "amount": { - "description": "分红数量", - "type": "string" - }, - "coin_id": { - "description": "虚拟币 id", - "type": "integer" - }, - "create_at": { - "description": "分红时间", - "type": "string" + "oss_access_key_id": { + "type": "string", + "example": "oss访问秘钥id" }, - "id": { - "type": "integer" + "oss_access_key_secret": { + "type": "string", + "example": "oss访问秘钥" }, - "is_over": { - "description": "是否分红完毕", - "type": "integer" + "oss_bucket_name": { + "type": "string", + "example": "oss存储桶名称" }, - "name": { + "oss_bucket_scheme": { "type": "string", - "example": "名称" + "example": "oss上传方式" }, - "persons_num": { - "description": "分红人数", - "type": "integer" + "oss_endpoint": { + "type": "string", + "example": "oss地域节点" }, - "update_at": { - "type": "string" + "oss_object_domain": { + "type": "string", + "example": "oss域名" } } }, - "md.EggEnergyCommunityDividendsWithUser": { + "md.GetEggCoreDataListResp": { "type": "object", "properties": { - "id": { - "type": "integer" - }, - "memo": { + "now_energy_total_nums": { + "description": "现行总量", "type": "string", - "example": "备注" + "example": "现行总量" }, - "nickname": { - "type": "string" + "now_price": { + "description": "当前价格", + "type": "string", + "example": "当前价格" }, - "phone": { - "type": "string" + "planet_total_value": { + "description": "星球价值", + "type": "string", + "example": "星球价值" }, - "uid": { - "type": "integer" + "user_hold_total_nums": { + "description": "用户持有总量", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, - "md.ExchangeRulesStruct": { + "md.GetEggEnergyBasicResp": { "type": "object", "properties": { - "auto_exchange_nums_by_person": { - "description": "个人数量X个,自动兑换可用蛋蛋能量", - "type": "string" + "basic_setting": { + "description": "基础设置", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" + } + ] }, - "auto_exchange_nums_by_team": { - "description": "团队数量X个,自动兑换团队蛋蛋能量", - "type": "string" + "data_setting": { + "description": "数据设置", + "allOf": [ + { + "$ref": "#/definitions/md.DataSetting" + } + ] }, - "auto_exchange_rate_by_person": { - "description": "个人数量百分比,自动兑换可用蛋蛋能量", - "type": "string" + "destruction_setting": { + "description": "销毁设置", + "allOf": [ + { + "$ref": "#/definitions/md.DestructionSettingStruct" + } + ] }, - "auto_exchange_rate_by_team": { - "description": "团队数量百分比,自动兑换团队蛋蛋能量", - "type": "string" + "exchange_rules": { + "description": "兑换规则", + "allOf": [ + { + "$ref": "#/definitions/md.ExchangeRulesStruct" + } + ] + }, + "new_user_incentive_rules": { + "description": "新用户奖励规则", + "allOf": [ + { + "$ref": "#/definitions/md.NewUserRewardRules" + } + ] + }, + "price_setting": { + "description": "价格设置", + "allOf": [ + { + "$ref": "#/definitions/md.PriceSettingStruct" + } + ] + }, + "reward_system": { + "description": "圈层奖励", + "allOf": [ + { + "$ref": "#/definitions/md.RewardSystemStruct" + } + ] + }, + "system_id": { + "description": "该设置系统 ID", + "type": "integer" + }, + "video_reward_setting": { + "description": "视频奖励", + "allOf": [ + { + "$ref": "#/definitions/md.VideoRewardSetting" + } + ] } } }, - "md.ExchangeUserPositionReq": { + "md.GetFreePublishUserReq": { "type": "object", "properties": { - "position_1": { - "description": "位置1,具体值取返回数据中的 system_id", + "limit": { + "description": "每页大小", "type": "integer" }, - "position_2": { - "description": "位置2,具体值取返回数据中的 system_id", + "page": { + "description": "当前页数", + "type": "integer" + }, + "uid": { + "description": "筛选的用户 ID", "type": "integer" } } }, - "md.FindSubUserRelationshipMapResp": { + "md.GetFreePublishUserResp": { "type": "object", "properties": { - "basic_setting": { - "description": "公排设置", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting" - } - ] - }, - "search_uid": { - "description": "查找的用户 ID", - "type": "string" + "list": { + "description": "免罚用户列表", + "type": "array", + "items": { + "$ref": "#/definitions/md.FreePublishUserNode" + } }, - "sub_user": { - "description": "上级用户信息", + "paginate": { + "description": "分页信息", "allOf": [ { - "$ref": "#/definitions/md.SubUser" + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" } ] } } }, - "md.FreePublishUserNode": { + "md.GetFundDataListReq": { "type": "object", "properties": { - "nickname": { + "end_at": { "type": "string", - "example": "昵称" + "example": "结束时间" }, - "phone": { - "type": "string", - "example": "手机号" + "kind": { + "description": "数据类型", + "type": "integer" }, - "uid": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", "type": "integer" + }, + "start_at": { + "type": "string", + "example": "开始时间" + } + } + }, + "md.GetFundDataListResp": { + "type": "object", + "properties": { + "kind_list": { + "description": "类型列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "list": { + "description": "数据列表", + "type": "array", + "items": { + "$ref": "#/definitions/md.FundDataNode" + } + }, + "paginate": { + "description": "分页数据", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + } + ] } } }, - "md.FundDataNode": { + "md.GetFundDataRecordListReq": { "type": "object", "properties": { - "balance_amount": { - "description": "余额", - "type": "string" - }, - "balance_times": { - "description": "剩余执行次数", - "type": "integer" - }, - "create_at": { - "description": "创建时间", - "type": "string" - }, - "hours": { - "description": "时长", + "limit": { + "description": "页面大小", "type": "integer" }, - "kind": { - "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", + "page": { + "description": "页数", "type": "integer" }, - "memo": { - "description": "备注", - "type": "string" - }, "system_id": { + "description": "数据在系统中的 ID", "type": "integer" - }, - "total_amount": { - "description": "金额", - "type": "string" } } }, - "md.FundDataRecordNode": { + "md.GetFundDataRecordListResp": { "type": "object", "properties": { - "after_planet_total_value": { - "description": "执行后-星球价值", - "type": "string" - }, - "after_price": { - "description": "执行后-价格", - "type": "string" - }, - "balance_amount": { - "description": "余额", - "type": "string" - }, - "balance_times": { - "description": "剩余执行次数", - "type": "integer" - }, - "before_planet_total_value": { - "description": "执行前-星球价值", - "type": "string" - }, - "before_price": { - "description": "执行前-价格", - "type": "string" - }, - "create_at": { - "type": "string" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.FundDataRecordNode" + } }, - "total_amount": { - "description": "金额", - "type": "string" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" } } }, - "md.GetActivePointsUserCoinFlowListReq": { + "md.GetGreenEnergyUserCoinFlowListReq": { "type": "object", "properties": { "coin_id": { @@ -2405,7 +3500,7 @@ const docTemplate = `{ } } }, - "md.GetActivePointsUserCoinFlowListResp": { + "md.GetGreenEnergyUserCoinFlowListResp": { "type": "object", "properties": { "list": { @@ -2433,7 +3528,7 @@ const docTemplate = `{ } } }, - "md.GetActivePointsUserCoinListReq": { + "md.GetGreenEnergyUserCoinListReq": { "type": "object", "properties": { "end_coin": { @@ -2470,7 +3565,7 @@ const docTemplate = `{ } } }, - "md.GetActivePointsUserCoinListResp": { + "md.GetGreenEnergyUserCoinListResp": { "type": "object", "properties": { "kind_list": { @@ -2497,173 +3592,188 @@ const docTemplate = `{ } } }, - "md.GetBasicResp": { + "md.GetLevelListResp": { "type": "object", "properties": { - "oss_access_key_id": { - "type": "string", - "example": "oss访问秘钥id" - }, - "oss_access_key_secret": { - "type": "string", - "example": "oss访问秘钥" - }, - "oss_bucket_name": { - "type": "string", - "example": "oss存储桶名称" - }, - "oss_bucket_scheme": { - "type": "string", - "example": "oss上传方式" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.LevelListNode" + } }, - "oss_endpoint": { - "type": "string", - "example": "oss地域节点" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" + } + } + }, + "md.GetPriceCurveResp": { + "type": "object", + "properties": { + "x_data": { + "type": "array", + "items": {} }, - "oss_object_domain": { - "type": "string", - "example": "oss域名" + "y_data": { + "type": "array", + "items": {} } } }, - "md.GetEggCoreDataListResp": { + "md.GetPublicPlatoonBasicResp": { "type": "object", "properties": { - "now_energy_total_nums": { - "description": "现行总量", - "type": "string", - "example": "现行总量" + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" }, - "now_price": { - "description": "当前价格", - "type": "string", - "example": "当前价格" + "is_self_active_get_team_revenue": { + "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "type": "integer" }, - "planet_total_value": { - "description": "星球价值", - "type": "string", - "example": "星球价值" + "originator_uid": { + "description": "创始人uid", + "type": "integer" }, - "user_hold_total_nums": { - "description": "用户持有总量", - "type": "object", - "additionalProperties": { - "type": "string" + "several_rows": { + "description": "几排", + "type": "integer" + }, + "several_times": { + "description": "几乘", + "type": "integer" + }, + "system_punish_replace": { + "description": "是否位置滑落 被新用户替换 0否 1是", + "type": "integer" + }, + "system_punish_replace_value": { + "description": "xx天未活跃,处罚滑落", + "type": "integer" + } + } + }, + "md.GetTagListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.TagListNode" } + }, + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } } }, - "md.GetEggEnergyBasicResp": { + "md.LevelListNode": { "type": "object", "properties": { - "basic_setting": { - "description": "基础设置", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" - } - ] + "count": { + "description": "等级人数", + "type": "string" }, - "data_setting": { - "description": "数据设置", - "allOf": [ - { - "$ref": "#/definitions/md.DataSetting" - } - ] + "create_at": { + "description": "创建时间", + "type": "string" }, - "destruction_setting": { - "description": "销毁设置", - "allOf": [ - { - "$ref": "#/definitions/md.DestructionSettingStruct" - } - ] + "is_use": { + "description": "是否开启(0.否, 1.是)", + "type": "integer" }, - "exchange_rules": { - "description": "兑换规则", - "allOf": [ - { - "$ref": "#/definitions/md.ExchangeRulesStruct" - } - ] + "level_id": { + "description": "等级 ID", + "type": "integer" }, - "new_user_incentive_rules": { - "description": "新用户奖励规则", - "allOf": [ - { - "$ref": "#/definitions/md.NewUserRewardRules" - } - ] + "level_name": { + "description": "等级名称", + "type": "string" }, - "price_setting": { - "description": "价格设置", - "allOf": [ - { - "$ref": "#/definitions/md.PriceSettingStruct" - } - ] + "level_weight": { + "description": "等级权重", + "type": "integer" }, - "reward_system": { - "description": "圈层奖励", - "allOf": [ - { - "$ref": "#/definitions/md.RewardSystemStruct" - } - ] + "memo": { + "description": "备注", + "type": "string" + } + } + }, + "md.ListCommunityDividendsReq": { + "type": "object", + "properties": { + "end_at": { + "description": "结束时间", + "type": "string" + }, + "end_nums": { + "description": "分红总量上限", + "type": "integer" + }, + "limit": { + "description": "每页大小", + "type": "integer" }, - "system_id": { - "description": "该设置系统 ID", + "page": { + "description": "页数", "type": "integer" }, - "video_reward_setting": { - "description": "视频奖励", - "allOf": [ - { - "$ref": "#/definitions/md.VideoRewardSetting" - } - ] + "start_at": { + "description": "开始时间", + "type": "string" + }, + "start_nums": { + "description": "分红总量下限", + "type": "integer" } } }, - "md.GetFreePublishUserReq": { + "md.ListCommunityDividendsResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.EggEnergyCommunityDividends" + } + }, + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" + } + } + }, + "md.ListCommunityDividendsWithUserReq": { "type": "object", "properties": { "limit": { - "description": "每页大小", "type": "integer" }, "page": { - "description": "当前页数", "type": "integer" }, + "phone": { + "type": "string" + }, "uid": { - "description": "筛选的用户 ID", "type": "integer" } } }, - "md.GetFreePublishUserResp": { + "md.ListCommunityDividendsWithUserResp": { "type": "object", "properties": { "list": { - "description": "免罚用户列表", "type": "array", "items": { - "$ref": "#/definitions/md.FreePublishUserNode" + "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser" } }, "paginate": { - "description": "分页信息", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" - } - ] + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" } } }, - "md.GetFundDataListReq": { + "md.ListPlatformRevenueReq": { "type": "object", "properties": { "end_at": { @@ -2688,7 +3798,7 @@ const docTemplate = `{ } } }, - "md.GetFundDataListResp": { + "md.ListPlatformRevenueResp": { "type": "object", "properties": { "kind_list": { @@ -2703,7 +3813,7 @@ const docTemplate = `{ "description": "数据列表", "type": "array", "items": { - "$ref": "#/definitions/md.FundDataNode" + "$ref": "#/definitions/md.PlatformRevenueDataNode" } }, "paginate": { @@ -2716,219 +3826,157 @@ const docTemplate = `{ } } }, - "md.GetFundDataRecordListReq": { + "md.LoginReq": { "type": "object", + "required": [ + "password", + "username" + ], "properties": { - "limit": { - "description": "页面大小", - "type": "integer" + "code": { + "type": "string", + "example": "验证码" }, - "page": { - "description": "页数", - "type": "integer" + "password": { + "type": "string", + "example": "登录密码" }, - "system_id": { - "description": "数据在系统中的 ID", - "type": "integer" + "username": { + "type": "string", + "example": "登录账号" } } }, - "md.GetFundDataRecordListResp": { + "md.LoginResponse": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.FundDataRecordNode" - } - }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + "token": { + "type": "string" } } }, - "md.GetGreenEnergyUserCoinFlowListReq": { + "md.NewUserRedPackageGetBasicResp": { "type": "object", "properties": { - "coin_id": { - "description": "货币类型 ID", - "type": "integer" - }, - "direction": { - "description": "流水方向:1收入 2支出", - "type": "integer" - }, - "end_at": { - "description": "结束时间", + "create_at": { "type": "string" }, - "page": { - "description": "页数", + "days": { + "description": "天数", "type": "integer" }, - "page_size": { - "description": "每页大小", + "is_double": { + "description": "是否翻倍", "type": "integer" }, - "start_at": { - "description": "开始时间", - "type": "string" - }, - "uid": { - "description": "用户 ID", + "is_open": { + "description": "是否开启(1:开启 0:关闭)", "type": "integer" - } - } - }, - "md.GetGreenEnergyUserCoinFlowListResp": { - "type": "object", - "properties": { - "list": { - "description": "流水信息", - "type": "array", - "items": { - "$ref": "#/definitions/md.UserVirtualCoinFlow" - } }, - "paginate": { - "description": "分页信息", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" - } - ] + "total_amount": { + "type": "string", + "example": "总金额" }, - "select_data": { - "description": "流水类型", - "allOf": [ - { - "$ref": "#/definitions/md.SelectData" - } - ] + "update_at": { + "type": "string" } } }, - "md.GetGreenEnergyUserCoinListReq": { + "md.NewUserRedPackageRecordFlowListReq": { "type": "object", "properties": { - "end_coin": { - "type": "string", - "example": "最大金额" + "end_at": { + "description": "结束时间", + "type": "string" }, - "kind": { - "description": "虚拟币种类编号", + "limit": { + "description": "每页大小", "type": "integer" }, "page": { "description": "页数", "type": "integer" }, - "page_size": { - "description": "单页大小", - "type": "integer" - }, - "start_coin": { - "type": "string", - "example": "最小金额" + "start_at": { + "description": "开始时间", + "type": "string" }, "uid": { - "description": "指定查询用户 ID", + "description": "用户 ID", "type": "integer" - }, - "user_name": { - "type": "string", - "example": "用户名称" - }, - "user_phone": { - "type": "string", - "example": "手机号" } } }, - "md.GetGreenEnergyUserCoinListResp": { + "md.NewUserRedPackageRecordFlowListResp": { "type": "object", "properties": { - "kind_list": { - "description": "货币类型集合", - "type": "array", - "items": { - "$ref": "#/definitions/md.VirtualCoinListNode" - } - }, "list": { - "description": "余额集合", "type": "array", "items": { - "$ref": "#/definitions/md.ActivePointsWalletNode" + "$ref": "#/definitions/md.NewUserRedPackageRecordFlowNode" } }, - "sum_user_amount": { - "description": "用户持有总数", - "type": "number" - }, - "total": { - "description": "持有该类型用户数", - "type": "integer" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" } } }, - "md.GetPriceCurveResp": { + "md.NewUserRedPackageRecordFlowNode": { "type": "object", "properties": { - "x_data": { - "type": "array", - "items": {} + "balance_amount": { + "description": "剩余金额", + "type": "string" }, - "y_data": { - "type": "array", - "items": {} - } - } - }, - "md.GetPublicPlatoonBasicResp": { - "type": "object", - "properties": { - "is_open": { - "description": "是否开启(1:开启 0:关闭)", + "balance_days": { + "description": "剩余天数", "type": "integer" }, - "is_self_active_get_team_revenue": { - "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "basic_amount": { + "description": "基础金额", + "type": "string" + }, + "create_at": { + "description": "创建时间", + "type": "string" + }, + "day_num": { + "description": "第x天", "type": "integer" }, - "originator_uid": { - "description": "创始人uid", + "double_rate": { + "description": "倍率", + "type": "string" + }, + "id": { + "description": "流水 ID", "type": "integer" }, - "several_rows": { - "description": "几排", + "is_double": { + "description": "是否翻倍", "type": "integer" }, - "several_times": { - "description": "几乘", + "receive_days": { + "description": "领取天数", "type": "integer" }, - "system_punish_replace": { - "description": "是否位置滑落 被新用户替换 0否 1是", - "type": "integer" + "total_amount": { + "description": "实际金额", + "type": "string" }, - "system_punish_replace_value": { - "description": "xx天未活跃,处罚滑落", + "uid": { + "description": "用户 ID", "type": "integer" } } }, - "md.ListCommunityDividendsReq": { + "md.NewUserRedPackageRecordListReq": { "type": "object", "properties": { "end_at": { "description": "结束时间", "type": "string" }, - "end_nums": { - "description": "分红总量上限", - "type": "integer" - }, "limit": { "description": "每页大小", "type": "integer" @@ -2941,782 +3989,964 @@ const docTemplate = `{ "description": "开始时间", "type": "string" }, - "start_nums": { - "description": "分红总量下限", + "uid": { + "description": "用户 ID", "type": "integer" } } }, - "md.ListCommunityDividendsResp": { + "md.NewUserRedPackageRecordListResp": { "type": "object", "properties": { "list": { "type": "array", "items": { - "$ref": "#/definitions/md.EggEnergyCommunityDividends" + "$ref": "#/definitions/md.NewUserRedPackageRecordNode" } }, "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" + "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" } } }, - "md.ListCommunityDividendsWithUserReq": { + "md.NewUserRedPackageRecordNode": { "type": "object", "properties": { - "limit": { + "balance_amount": { + "description": "剩余金额", + "type": "string" + }, + "balance_days": { + "description": "剩余天数", "type": "integer" }, - "page": { + "create_at": { + "description": "创建时间", + "type": "string" + }, + "days": { + "description": "天数", "type": "integer" }, - "phone": { + "receive_days": { + "description": "领取天数", + "type": "integer" + }, + "state": { + "description": "状态(0:待领取 1:领取中 2:已领取 3:已冻结)", + "type": "integer" + }, + "system_id": { + "description": "系统中记录的 ID", + "type": "integer" + }, + "total_amount": { + "description": "金额", "type": "string" }, "uid": { + "description": "用户 ID", "type": "integer" + }, + "update_at": { + "description": "修改时间", + "type": "string" } } }, - "md.ListCommunityDividendsWithUserResp": { + "md.NewUserRedPackageUpdateBasicReq": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser" - } + "days": { + "description": "天数", + "type": "integer" }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" + "is_double": { + "description": "是否翻倍", + "type": "integer" + }, + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" + }, + "total_amount": { + "type": "string", + "example": "总金额" } } }, - "md.ListPlatformRevenueReq": { + "md.NewUserRewardRules": { "type": "object", "properties": { - "end_at": { - "type": "string", - "example": "结束时间" + "continue_days": { + "description": "连续x天", + "type": "integer" }, - "kind": { - "description": "数据类型", + "invite_user_reward_value": { + "description": "拉新用户奖励x个活跃积分", "type": "integer" }, - "limit": { - "description": "每页大小", + "reward_coefficient": { + "description": "奖励系数", + "type": "number" + } + } + }, + "md.OtherNode": { + "type": "object", + "properties": { + "create_at": { + "description": "注册时间", + "type": "string" + }, + "last_login_at": { + "description": "最近登录时间", + "type": "string" + }, + "last_login_ip": { + "description": "最后登录 IP", + "type": "string" + } + } + }, + "md.PlatformRevenueDataNode": { + "type": "object", + "properties": { + "balance_amount": { + "description": "余额", + "type": "string" + }, + "balance_times": { + "description": "剩余执行次数", "type": "integer" }, - "page": { - "description": "页数", + "create_at": { + "description": "创建时间", + "type": "string" + }, + "hours": { + "description": "时长", "type": "integer" }, - "start_at": { - "type": "string", - "example": "开始时间" + "kind": { + "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", + "type": "integer" + }, + "memo": { + "description": "备注", + "type": "string" + }, + "system_id": { + "type": "integer" + }, + "total_amount": { + "description": "金额", + "type": "string" } } }, - "md.ListPlatformRevenueResp": { + "md.PriceSettingStruct": { "type": "object", "properties": { - "kind_list": { - "description": "类型列表", - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } + "marketplace_merchants_fund_exchange_marketplace_merchants_nums_value": { + "description": "市商资金单笔x元自动兑换", + "type": "string" }, - "list": { - "description": "数据列表", - "type": "array", - "items": { - "$ref": "#/definitions/md.PlatformRevenueDataNode" - } + "marketplace_merchants_nums_exchange_marketplace_merchants_fund_value": { + "description": "市商数量单笔x数量自动兑换", + "type": "string" }, - "paginate": { - "description": "分页数据", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" - } - ] + "price_below_value": { + "description": "低于x元", + "type": "string" + }, + "price_higher_than_value": { + "description": "高于x元", + "type": "string" } } }, - "md.LoginReq": { + "md.Response": { "type": "object", - "required": [ - "password", - "username" - ], "properties": { "code": { "type": "string", - "example": "验证码" + "example": "响应码" }, - "password": { - "type": "string", - "example": "登录密码" + "data": { + "description": "内容" }, - "username": { + "msg": { "type": "string", - "example": "登录账号" + "example": "具体错误原因" } } }, - "md.LoginResponse": { + "md.RewardSystemStruct": { "type": "object", "properties": { - "token": { + "level": { + "description": "圈层", + "type": "integer" + }, + "reward_condition": { + "description": "奖励条件", + "type": "string" + }, + "reward_value": { + "description": "奖励值", "type": "string" } } }, - "md.NewUserRedPackageGetBasicResp": { + "md.SelectData": { "type": "object", "properties": { - "create_at": { - "type": "string" + "direction": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "md.SetBasicReq": { + "type": "object", + "properties": { + "oss_access_key_id": { + "type": "string", + "example": "oss访问秘钥id" }, - "days": { - "description": "天数", - "type": "integer" + "oss_access_key_secret": { + "type": "string", + "example": "oss访问秘钥" }, - "is_double": { - "description": "是否翻倍", - "type": "integer" + "oss_bucket_name": { + "type": "string", + "example": "oss存储桶名称" }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", - "type": "integer" + "oss_bucket_scheme": { + "type": "string", + "example": "oss上传方式" }, - "total_amount": { + "oss_endpoint": { "type": "string", - "example": "总金额" + "example": "oss地域节点" }, - "update_at": { - "type": "string" + "oss_object_domain": { + "type": "string", + "example": "oss域名" } } }, - "md.NewUserRedPackageRecordFlowListReq": { + "md.SetVideoRewardReq": { "type": "object", "properties": { - "end_at": { - "description": "结束时间", + "ecmp": { + "description": "当前 Ecmp 值", "type": "string" }, - "limit": { - "description": "每页大小", - "type": "integer" - }, - "page": { - "description": "页数", - "type": "integer" - }, - "start_at": { - "description": "开始时间", + "unit_price": { + "description": "单价", "type": "string" - }, - "uid": { - "description": "用户 ID", - "type": "integer" } } }, - "md.NewUserRedPackageRecordFlowListResp": { + "md.SonUserDailyActivityAnalysisNode": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.NewUserRedPackageRecordFlowNode" - } + "activity_day_nums": { + "description": "活跃子节点活跃天数", + "type": "integer" }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" + "nickname": { + "type": "string", + "example": "昵称" + }, + "phone": { + "type": "string", + "example": "手机号" + }, + "uid": { + "description": "查询用户活跃子节点 ID", + "type": "integer" } } }, - "md.NewUserRedPackageRecordFlowNode": { + "md.SubUser": { "type": "object", "properties": { - "balance_amount": { - "description": "剩余金额", - "type": "string" - }, - "balance_days": { - "description": "剩余天数", - "type": "integer" - }, - "basic_amount": { - "description": "基础金额", - "type": "string" - }, - "create_at": { - "description": "创建时间", - "type": "string" + "avatar_url": { + "type": "string", + "example": "头像" }, - "day_num": { - "description": "第x天", + "level": { + "description": "整个系统中的等级", "type": "integer" }, - "double_rate": { - "description": "倍率", - "type": "string" + "nickname": { + "type": "string", + "example": "昵称" }, - "id": { - "description": "流水 ID", - "type": "integer" + "phone": { + "type": "string", + "example": "手机号" }, - "is_double": { - "description": "是否翻倍", + "pid": { "type": "integer" }, - "receive_days": { - "description": "领取天数", + "position": { + "description": "以pid1为创始人中网的位置", "type": "integer" }, - "total_amount": { - "description": "实际金额", - "type": "string" - }, "uid": { - "description": "用户 ID", "type": "integer" } } }, - "md.NewUserRedPackageRecordListReq": { + "md.TagListNode": { "type": "object", "properties": { - "end_at": { - "description": "结束时间", + "count": { + "description": "标签人数", "type": "string" }, - "limit": { - "description": "每页大小", - "type": "integer" + "create_at": { + "description": "创建时间", + "type": "string" }, - "page": { - "description": "页数", - "type": "integer" + "memo": { + "description": "备注", + "type": "string" }, - "start_at": { - "description": "开始时间", + "name": { + "description": "名称", "type": "string" }, - "uid": { - "description": "用户 ID", - "type": "integer" + "tag_id": { + "description": "标签 ID", + "type": "string" } } }, - "md.NewUserRedPackageRecordListResp": { + "md.TeamRewardSettingStruct": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.NewUserRedPackageRecordNode" - } + "member_self_is_open_get_team_reward": { + "description": "会员是否活跃得到团队奖励", + "type": "string" }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" + "one_round_duration": { + "description": "一轮持续时间", + "type": "string" + }, + "reward_decrement_value": { + "description": "递减百分比", + "type": "string" + }, + "reward_end_value": { + "description": "奖励结束值", + "type": "string" } } }, - "md.NewUserRedPackageRecordNode": { + "md.TreeNode": { "type": "object", "properties": { - "balance_amount": { - "description": "剩余金额", - "type": "string" + "avatar_url": { + "type": "string", + "example": "头像" }, - "balance_days": { - "description": "剩余天数", + "level": { "type": "integer" }, - "create_at": { - "description": "创建时间", - "type": "string" + "nickname": { + "type": "string", + "example": "昵称" }, - "days": { - "description": "天数", - "type": "integer" + "phone": { + "type": "string", + "example": "手机号" }, - "receive_days": { - "description": "领取天数", + "pid": { "type": "integer" }, - "state": { - "description": "状态(0:待领取 1:领取中 2:已领取 3:已冻结)", + "position": { "type": "integer" }, + "son": { + "type": "array", + "items": { + "$ref": "#/definitions/md.TreeNode" + } + }, "system_id": { - "description": "系统中记录的 ID", + "description": "公排网中id", "type": "integer" }, - "total_amount": { - "description": "金额", - "type": "string" - }, "uid": { - "description": "用户 ID", "type": "integer" - }, - "update_at": { - "description": "修改时间", - "type": "string" } } }, - "md.NewUserRedPackageUpdateBasicReq": { + "md.UpdateEggEnergyBasicReq": { "type": "object", "properties": { - "days": { - "description": "天数", - "type": "integer" + "basic_setting": { + "description": "基础设置", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" + } + ] }, - "is_double": { - "description": "是否翻倍", - "type": "integer" + "data_setting": { + "description": "数据设置", + "allOf": [ + { + "$ref": "#/definitions/md.DataSetting" + } + ] }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", + "destruction_setting": { + "description": "销毁设置", + "allOf": [ + { + "$ref": "#/definitions/md.DestructionSettingStruct" + } + ] + }, + "exchange_rules": { + "description": "兑换规则", + "allOf": [ + { + "$ref": "#/definitions/md.ExchangeRulesStruct" + } + ] + }, + "new_user_incentive_rules": { + "description": "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则", + "allOf": [ + { + "$ref": "#/definitions/md.NewUserRewardRules" + } + ] + }, + "price_setting": { + "description": "价格设置", + "allOf": [ + { + "$ref": "#/definitions/md.PriceSettingStruct" + } + ] + }, + "reward_system": { + "description": "圈层奖励", + "allOf": [ + { + "$ref": "#/definitions/md.RewardSystemStruct" + } + ] + }, + "system_id": { + "description": "该设置系统 ID", "type": "integer" }, - "total_amount": { - "type": "string", - "example": "总金额" + "video_reward_setting": { + "description": "视频奖励", + "allOf": [ + { + "$ref": "#/definitions/md.VideoRewardSetting" + } + ] } } }, - "md.NewUserRewardRules": { + "md.UpdateLevelReq": { "type": "object", "properties": { - "continue_days": { - "description": "连续x天", + "is_use": { + "description": "是否开启(0.否, 1.是)", "type": "integer" }, - "invite_user_reward_value": { - "description": "拉新用户奖励x个活跃积分", + "level_id": { + "type": "string" + }, + "level_name": { + "description": "等级名称", + "type": "string" + }, + "level_weight": { + "description": "等级权重", "type": "integer" }, - "reward_coefficient": { - "description": "奖励系数", - "type": "number" + "memo": { + "description": "备注", + "type": "string" } } }, - "md.PlatformRevenueDataNode": { + "md.UpdatePublicPlatoonBasicReq": { "type": "object", "properties": { - "balance_amount": { - "description": "余额", - "type": "string" - }, - "balance_times": { - "description": "剩余执行次数", + "is_open": { + "description": "是否开启(1:开启 0:关闭)", "type": "integer" }, - "create_at": { - "description": "创建时间", - "type": "string" + "is_self_active_get_team_revenue": { + "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "type": "integer" }, - "hours": { - "description": "时长", + "originator_uid": { + "description": "创始人uid", "type": "integer" }, - "kind": { - "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", + "several_rows": { + "description": "几排", "type": "integer" }, - "memo": { - "description": "备注", - "type": "string" + "several_times": { + "description": "几乘", + "type": "integer" }, - "system_id": { + "system_punish_replace": { + "description": "是否位置滑落 被新用户替换 0否 1是", "type": "integer" }, - "total_amount": { - "description": "金额", - "type": "string" + "system_punish_replace_value": { + "description": "xx天未活跃,处罚滑落", + "type": "integer" } } }, - "md.PriceSettingStruct": { + "md.UpdateTagReq": { "type": "object", "properties": { - "marketplace_merchants_fund_exchange_marketplace_merchants_nums_value": { - "description": "市商资金单笔x元自动兑换", - "type": "string" - }, - "marketplace_merchants_nums_exchange_marketplace_merchants_fund_value": { - "description": "市商数量单笔x数量自动兑换", + "memo": { + "description": "备注", "type": "string" }, - "price_below_value": { - "description": "低于x元", + "name": { + "description": "标签名称", "type": "string" }, - "price_higher_than_value": { - "description": "高于x元", + "tag_id": { + "description": "标签 ID", "type": "string" } } }, - "md.Response": { + "md.UserDailyActivityAnalysisReq": { "type": "object", "properties": { - "code": { + "end_date": { "type": "string", - "example": "响应码" + "example": "结束日期" }, - "data": { - "description": "内容" + "page": { + "description": "页数", + "type": "integer" }, - "msg": { + "page_size": { + "description": "每页大小", + "type": "integer" + }, + "start_date": { "type": "string", - "example": "具体错误原因" + "example": "开始日期" + }, + "uid": { + "description": "查询用户 ID", + "type": "integer" } } }, - "md.RewardSystemStruct": { + "md.UserDailyActivityAnalysisResp": { "type": "object", "properties": { - "level": { - "description": "圈层", - "type": "integer" - }, - "reward_condition": { - "description": "奖励条件", - "type": "string" + "son_user_data": { + "description": "被查询用户子节点信息", + "type": "array", + "items": { + "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode" + } }, - "reward_value": { - "description": "奖励值", - "type": "string" + "top_data": { + "description": "统计信息", + "allOf": [ + { + "$ref": "#/definitions/md.DailyActivityAnalysisTopData" + } + ] } } }, - "md.SelectData": { + "md.UserManagementGetBalanceDetailResp": { "type": "object", "properties": { - "direction": { + "list": { "type": "array", "items": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/md.BalanceDetailNode" } + }, + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } } }, - "md.SetBasicReq": { + "md.UserManagementGetFansResp": { "type": "object", "properties": { - "oss_access_key_id": { - "type": "string", - "example": "oss访问秘钥id" - }, - "oss_access_key_secret": { - "type": "string", - "example": "oss访问秘钥" - }, - "oss_bucket_name": { - "type": "string", - "example": "oss存储桶名称" - }, - "oss_bucket_scheme": { - "type": "string", - "example": "oss上传方式" - }, - "oss_endpoint": { - "type": "string", - "example": "oss地域节点" + "list": { + "description": "用户数据", + "type": "array", + "items": { + "$ref": "#/definitions/md.FansNode" + } }, - "oss_object_domain": { - "type": "string", - "example": "oss域名" + "paginate": { + "description": "分页信息", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" + } + ] } } }, - "md.SetVideoRewardReq": { + "md.UserManagementGetOneBasicResp": { "type": "object", "properties": { - "ecmp": { - "description": "当前 Ecmp 值", - "type": "string" + "basic_info": { + "description": "基本信息", + "allOf": [ + { + "$ref": "#/definitions/md.BasicInfoNode" + } + ] }, - "unit_price": { - "description": "单价", - "type": "string" + "levels_list": { + "description": "等级列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "other_info": { + "description": "其他信息", + "allOf": [ + { + "$ref": "#/definitions/md.OtherNode" + } + ] + }, + "tags_list": { + "description": "标签列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } } } }, - "md.SonUserDailyActivityAnalysisNode": { + "md.UserManagementGetUserListNode": { "type": "object", "properties": { - "activity_day_nums": { - "description": "活跃子节点活跃天数", + "avatar": { + "type": "string" + }, + "create_at": { + "type": "string" + }, + "custom_invite_code": { + "type": "string" + }, + "id": { "type": "integer" }, - "nickname": { + "invite_code": { "type": "string", - "example": "昵称" + "example": "会员邀请码" }, - "phone": { - "type": "string", - "example": "手机号" + "invite_total": { + "type": "integer" }, - "uid": { - "description": "查询用户活跃子节点 ID", + "is_real_name": { "type": "integer" - } - } - }, - "md.SubUser": { - "type": "object", - "properties": { - "avatar_url": { - "type": "string", - "example": "头像" + }, + "last_login_ip": { + "type": "string" }, "level": { - "description": "整个系统中的等级", "type": "integer" }, + "level_name": { + "description": "会员等级", + "type": "string" + }, + "memo": { + "type": "string" + }, "nickname": { + "type": "string" + }, + "open_id": { + "type": "string" + }, + "parent_id": { + "description": "推荐人 ID", + "type": "integer" + }, + "parent_invite_code": { "type": "string", - "example": "昵称" + "example": "推荐人邀请码" }, - "phone": { + "parent_phone": { "type": "string", - "example": "手机号" + "example": "推荐人手机号" }, - "pid": { + "parent_uid": { + "type": "integer" + }, + "passcode": { + "type": "string" + }, + "password": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "register_time": { + "description": "注册时间", + "type": "string" + }, + "register_type": { "type": "integer" }, - "position": { - "description": "以pid1为创始人中网的位置", + "sex": { "type": "integer" }, - "uid": { + "state": { "type": "integer" - } - } - }, - "md.TeamRewardSettingStruct": { - "type": "object", - "properties": { - "member_self_is_open_get_team_reward": { - "description": "会员是否活跃得到团队奖励", + }, + "system_invite_code": { "type": "string" }, - "one_round_duration": { - "description": "一轮持续时间", + "tag_name": { + "description": "会员标签", "type": "string" }, - "reward_decrement_value": { - "description": "递减百分比", + "union_id": { "type": "string" }, - "reward_end_value": { - "description": "奖励结束值", + "update_at": { "type": "string" } } }, - "md.TreeNode": { + "md.UserManagementGetUserListReq": { "type": "object", "properties": { - "avatar_url": { + "effective": { + "description": "有效会员", + "type": "integer" + }, + "id": { + "description": "会员 ID", + "type": "integer" + }, + "invite_code": { "type": "string", - "example": "头像" + "example": "会员邀请码" + }, + "is_real_name": { + "description": "是否实名 0.未实名,1.已实名", + "type": "integer" }, "level": { + "description": "会员等级", + "type": "integer" + }, + "limit": { "type": "integer" }, + "login_after": { + "description": "最近登录结束时间", + "type": "string" + }, + "login_before": { + "description": "最近登录开始时间", + "type": "string" + }, + "memo": { + "description": "备注", + "type": "string" + }, "nickname": { "type": "string", - "example": "昵称" + "example": "会员昵称" + }, + "page": { + "type": "integer" + }, + "parent_invite_code": { + "type": "string", + "example": "上级邀请码" + }, + "parent_phone": { + "type": "string", + "example": "上级手机号" }, "phone": { "type": "string", - "example": "手机号" + "example": "会员手机号" }, - "pid": { + "recommend_id": { + "description": "推荐人 ID", "type": "integer" }, - "position": { + "register_after": { + "description": "注册时间终点", + "type": "string" + }, + "register_before": { + "description": "注册时间起点", + "type": "string" + }, + "register_type": { + "description": "注册类型(0.未知, 1.免验证码手机号注册,2.微信授权)", "type": "integer" }, - "son": { - "type": "array", - "items": { - "$ref": "#/definitions/md.TreeNode" - } + "sex": { + "description": "性别", + "type": "integer" }, - "system_id": { - "description": "公排网中id", + "state": { + "description": "状态", "type": "integer" }, - "uid": { + "tag": { + "description": "标签 id", "type": "integer" + }, + "union_id": { + "type": "string", + "example": "微信号" } } }, - "md.UpdateEggEnergyBasicReq": { + "md.UserManagementGetUserListResp": { "type": "object", "properties": { - "basic_setting": { - "description": "基础设置", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" - } - ] - }, - "data_setting": { - "description": "数据设置", - "allOf": [ - { - "$ref": "#/definitions/md.DataSetting" - } - ] - }, - "destruction_setting": { - "description": "销毁设置", - "allOf": [ - { - "$ref": "#/definitions/md.DestructionSettingStruct" - } - ] - }, - "exchange_rules": { - "description": "兑换规则", - "allOf": [ - { - "$ref": "#/definitions/md.ExchangeRulesStruct" - } - ] - }, - "new_user_incentive_rules": { - "description": "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则", - "allOf": [ - { - "$ref": "#/definitions/md.NewUserRewardRules" - } - ] + "levels_list": { + "description": "等级列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } }, - "price_setting": { - "description": "价格设置", - "allOf": [ - { - "$ref": "#/definitions/md.PriceSettingStruct" - } - ] + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.UserManagementGetUserListNode" + } }, - "reward_system": { - "description": "圈层奖励", + "paginate": { + "description": "分页信息", "allOf": [ { - "$ref": "#/definitions/md.RewardSystemStruct" + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } ] }, - "system_id": { - "description": "该设置系统 ID", - "type": "integer" - }, - "video_reward_setting": { - "description": "视频奖励", - "allOf": [ - { - "$ref": "#/definitions/md.VideoRewardSetting" - } - ] + "tags_list": { + "description": "标签列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } } } }, - "md.UpdatePublicPlatoonBasicReq": { + "md.UserManagementGetVirtualCoinDetailResp": { "type": "object", "properties": { - "is_open": { - "description": "是否开启(1:开启 0:关闭)", - "type": "integer" - }, - "is_self_active_get_team_revenue": { - "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", - "type": "integer" - }, - "originator_uid": { - "description": "创始人uid", - "type": "integer" - }, - "several_rows": { - "description": "几排", - "type": "integer" - }, - "several_times": { - "description": "几乘", - "type": "integer" + "coin_list": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } }, - "system_punish_replace": { - "description": "是否位置滑落 被新用户替换 0否 1是", - "type": "integer" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.VirtualCoinDetailNode" + } }, - "system_punish_replace_value": { - "description": "xx天未活跃,处罚滑落", - "type": "integer" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } } }, - "md.UserDailyActivityAnalysisReq": { + "md.UserManagementUpdateUserInfoReq": { "type": "object", "properties": { - "end_date": { - "type": "string", - "example": "结束日期" + "avatar": { + "description": "头像", + "type": "string" }, - "page": { - "description": "页数", - "type": "integer" + "last_login_ip": { + "description": "用户最后登录 IP", + "type": "string" }, - "page_size": { - "description": "每页大小", - "type": "integer" + "level": { + "description": "会员等级 ID", + "type": "string" }, - "start_date": { + "memo": { "type": "string", - "example": "开始日期" + "example": "备注" + }, + "nickname": { + "description": "用户名", + "type": "string" + }, + "parent_uid": { + "description": "邀请人 ID", + "type": "string" + }, + "phone": { + "description": "手机号", + "type": "string" + }, + "sex": { + "description": "性别(0:未知 1:男 2:女)", + "type": "string" + }, + "state": { + "description": "账号状态 1正常,2冻结", + "type": "string" + }, + "tag": { + "description": "用户标签 ID", + "type": "string" }, "uid": { - "description": "查询用户 ID", "type": "integer" - } - } - }, - "md.UserDailyActivityAnalysisResp": { - "type": "object", - "properties": { - "son_user_data": { - "description": "被查询用户子节点信息", - "type": "array", - "items": { - "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode" - } }, - "top_data": { - "description": "统计信息", - "allOf": [ - { - "$ref": "#/definitions/md.DailyActivityAnalysisTopData" - } - ] + "union_id": { + "description": "微信号", + "type": "string" } } }, @@ -3837,6 +5067,31 @@ const docTemplate = `{ } } }, + "md.VirtualCoinDetailNode": { + "type": "object", + "properties": { + "after_amount": { + "description": "变更后积分余额", + "type": "string" + }, + "amount": { + "description": "变更数量", + "type": "string" + }, + "create_at": { + "description": "创建时间", + "type": "string" + }, + "direction": { + "description": "类型 1.收入 2.支出", + "type": "integer" + }, + "uid": { + "description": "用户 ID", + "type": "integer" + } + } + }, "md.VirtualCoinListNode": { "type": "object", "properties": { diff --git a/docs/swagger.json b/docs/swagger.json index f1e6e51..c42d256 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1723,329 +1723,1383 @@ } } } + }, + "/api/memberCenter/levelManagement/getLevelList": { + "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.GetLevelListResp" + } + }, + "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": "验证参数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/tagManagement/deleteTag": { + "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.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/getOneBasicInfo": { + "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/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" + } + } + } + } } }, "definitions": { "applet_app_md_institutional_management_egg_energy.BasicSetting": { "type": "object", "properties": { - "direct_push_reward": { - "description": "直推奖励", - "allOf": [ - { - "$ref": "#/definitions/md.TeamRewardSettingStruct" - } - ] + "direct_push_reward": { + "description": "直推奖励", + "allOf": [ + { + "$ref": "#/definitions/md.TeamRewardSettingStruct" + } + ] + }, + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" + }, + "person_egg_energy_coin_id": { + "description": "个人蛋蛋能量对应虚拟币 id", + "type": "integer" + }, + "person_egg_points_coin_id": { + "description": "个人蛋蛋积分对应虚拟币 id", + "type": "integer" + }, + "team_egg_energy_coin_id": { + "description": "团队蛋蛋能量对应虚拟币 id", + "type": "integer" + }, + "team_egg_points_coin_id": { + "description": "团队蛋蛋积分对应虚拟币 id", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_egg_energy.Paginate": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", + "type": "integer" + }, + "total": { + "description": "总数据量", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_member_center.Paginate": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", + "type": "integer" + }, + "total": { + "description": "总数据量", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_new_user_red_package.Paginate": { + "type": "object", + "properties": { + "limit": { + "type": "integer" + }, + "page": { + "type": "integer" + }, + "total": { + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_public_platoon.BasicSetting": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" + }, + "is_self_active_get_team_revenue": { + "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "type": "integer" + }, + "originator_uid": { + "description": "创始人uid", + "type": "integer" + }, + "several_rows": { + "description": "几排", + "type": "integer" + }, + "several_times": { + "description": "几乘", + "type": "integer" + }, + "system_punish_replace": { + "description": "是否位置滑落 被新用户替换 0否 1是", + "type": "integer" + }, + "system_punish_replace_value": { + "description": "xx天未活跃,处罚滑落", + "type": "integer" + } + } + }, + "applet_app_md_institutional_management_public_platoon.Paginate": { + "type": "object", + "properties": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", + "type": "integer" + }, + "total": { + "description": "总数据量", + "type": "integer" + } + } + }, + "md.ActivePointsWalletNode": { + "type": "object", + "properties": { + "amount": { + "type": "string", + "example": "账户余额" + }, + "uid": { + "description": "用户 ID", + "type": "integer" + }, + "user_name": { + "type": "string", + "example": "用户名" + }, + "user_phone": { + "type": "string", + "example": "手机号" + } + } + }, + "md.AddCommunityDividendsReq": { + "type": "object", + "properties": { + "amount": { + "description": "社区分红数量", + "type": "string" }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", + "name": { + "type": "string", + "example": "社区分红名称" + } + } + }, + "md.AddCommunityDividendsWithUserReq": { + "type": "object", + "properties": { + "memo": { + "type": "string", + "example": "备注" + }, + "uid": { + "description": "新增社区长用户 ID", + "type": "integer" + } + } + }, + "md.AddFreePublishUserReq": { + "type": "object", + "properties": { + "uid": { + "type": "integer" + } + } + }, + "md.AddFundDataReq": { + "type": "object", + "properties": { + "frequency": { + "description": "频率(分钟)", "type": "integer" }, - "person_egg_energy_coin_id": { - "description": "个人蛋蛋能量对应虚拟币 id", + "hours": { + "description": "时长(小时)", "type": "integer" }, - "person_egg_points_coin_id": { - "description": "个人蛋蛋积分对应虚拟币 id", + "kind": { + "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", "type": "integer" }, - "team_egg_energy_coin_id": { - "description": "团队蛋蛋能量对应虚拟币 id", + "memo": { + "type": "string", + "example": "备注" + }, + "total_amount": { + "description": "金额", + "type": "string" + } + } + }, + "md.AddPlatformRevenueReq": { + "type": "object", + "properties": { + "frequency": { + "description": "频率(分钟)", "type": "integer" }, - "team_egg_points_coin_id": { - "description": "团队蛋蛋积分对应虚拟币 id", + "hours": { + "description": "时长(小时)", + "type": "integer" + }, + "kind": { + "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", "type": "integer" + }, + "memo": { + "type": "string", + "example": "备注" + }, + "total_amount": { + "description": "金额", + "type": "string" } } }, - "applet_app_md_institutional_management_egg_energy.Paginate": { + "md.BalanceDetailNode": { "type": "object", "properties": { - "limit": { - "description": "每页大小", + "after_amount": { + "description": "变更后余额", + "type": "string" + }, + "amount": { + "description": "变更数量", + "type": "string" + }, + "before_amount": { + "description": "变更前余额", + "type": "string" + }, + "create_at": { + "description": "创建时间", + "type": "string" + }, + "id": { + "description": "记录ID", + "type": "integer" + }, + "kind": { + "description": "类型 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量", + "type": "string" + } + } + }, + "md.BasicInfoNode": { + "type": "object", + "properties": { + "avatar": { + "description": "头像", + "type": "string" + }, + "level_name": { + "description": "会员等级名称", + "type": "string" + }, + "memo": { + "description": "备注", + "type": "string" + }, + "nickname": { + "description": "用户名称", + "type": "string" + }, + "parent_name": { + "description": "推荐人名称", + "type": "string" + }, + "parent_phone": { + "description": "推荐人手机号", + "type": "string" + }, + "parent_uid": { + "description": "推荐人", + "type": "integer" + }, + "password": { + "description": "登录密码", + "type": "string" + }, + "phone": { + "description": "手机号", + "type": "string" + }, + "sex": { + "description": "性别", + "type": "integer" + }, + "state": { + "description": "账号状态 1正常,2冻结", + "type": "integer" + }, + "tag_name": { + "description": "标签名称", + "type": "string" + }, + "union_id": { + "description": "微信号", + "type": "string" + } + } + }, + "md.DailyActivityAnalysisTopData": { + "type": "object", + "properties": { + "activity_count": { + "description": "子节点活跃天数", + "type": "integer" + }, + "team_activity_user_count": { + "description": "子节点活跃人数", + "type": "integer" + }, + "team_user_count": { + "description": "团队人数", + "type": "integer" + } + } + }, + "md.DataSetting": { + "type": "object", + "properties": { + "total_angel_investor": { + "description": "天使投资人", + "type": "string", + "example": "天使投资人" + }, + "total_ecological_development": { + "description": "生态建设", + "type": "string", + "example": "当前价格" + }, + "total_issuance_amount": { + "description": "总发行量", + "type": "string", + "example": "总发行量" + }, + "total_operate_fund": { + "description": "运营资金", + "type": "string", + "example": "运营资金" + }, + "total_technology_team": { + "description": "技术团队", + "type": "string", + "example": "技术团队" + }, + "total_user_for_person": { + "description": "TotalTeamDividends string`json:\"total_team_dividends\" example:\"团队分红\"` // 团队分红", + "type": "string", + "example": "个人区域" + }, + "total_user_for_team": { + "description": "团队区域", + "type": "string", + "example": "团队区域" + } + } + }, + "md.DeleteTagReq": { + "type": "object", + "properties": { + "tag_id": { + "description": "标签 ID", + "type": "string" + } + } + }, + "md.DestructionSettingStruct": { + "type": "object", + "properties": { + "community_dividends": { + "description": "社区分红百分比", + "type": "string" + }, + "destruction_quantity": { + "description": "销毁百分比", + "type": "string" + }, + "development_committee": { + "description": "发展委员会百分比", + "type": "string" + }, + "marketplace_merchant": { + "description": "市商数量百分比", + "type": "string" + }, + "public_welfare_and_charity": { + "description": "公益慈善百分比", + "type": "string" + }, + "star_level_dividends": { + "description": "星级分红百分比", + "type": "string" + } + } + }, + "md.DynamicDataFlowListReq": { + "type": "object", + "properties": { + "end_at": { + "description": "结束时间", + "type": "string", + "example": "结束时间" + }, + "kind": { + "description": "持有类型", "type": "integer" }, "page": { "description": "页数", "type": "integer" }, - "total": { - "description": "总数据量", + "page_size": { + "description": "每页大小", "type": "integer" + }, + "start_at": { + "description": "开始时间", + "type": "string", + "example": "开始时间" } } }, - "applet_app_md_institutional_management_new_user_red_package.Paginate": { + "md.DynamicDataFlowListResp": { "type": "object", "properties": { - "limit": { - "type": "integer" + "kind_list": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } }, - "page": { - "type": "integer" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow" + } }, - "total": { - "type": "integer" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" } } }, - "applet_app_md_institutional_management_public_platoon.BasicSetting": { + "md.EggEnergyAvailableEnergyFlow": { "type": "object", "properties": { - "id": { - "type": "integer" + "after_community_dividends": { + "type": "string" }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", - "type": "integer" + "after_destruction_quantity_values": { + "type": "string" }, - "is_self_active_get_team_revenue": { - "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", - "type": "integer" + "after_development_committee_values": { + "type": "string" }, - "originator_uid": { - "description": "创始人uid", - "type": "integer" + "after_marketplace_merchant_fund_values": { + "type": "string" }, - "several_rows": { - "description": "几排", - "type": "integer" + "after_marketplace_merchant_values": { + "type": "string" }, - "several_times": { - "description": "几乘", - "type": "integer" + "after_now_energy_total_nums": { + "type": "string" }, - "system_punish_replace": { - "description": "是否位置滑落 被新用户替换 0否 1是", + "after_planet_total_value": { + "type": "string" + }, + "after_price": { + "type": "string" + }, + "after_public_welfare_and_charity_values": { + "type": "string" + }, + "after_star_level_dividends_values": { + "type": "string" + }, + "amount": { + "type": "string" + }, + "before_community_dividends": { + "type": "string" + }, + "before_destruction_quantity_values": { + "type": "string" + }, + "before_development_committee_values": { + "type": "string" + }, + "before_marketplace_merchant_fund_values": { + "type": "string" + }, + "before_marketplace_merchant_values": { + "type": "string" + }, + "before_now_energy_total_nums": { + "type": "string" + }, + "before_planet_total_value": { + "type": "string" + }, + "before_price": { + "type": "string" + }, + "before_public_welfare_and_charity_values": { + "type": "string" + }, + "before_star_level_dividends_values": { + "type": "string" + }, + "create_time": { + "type": "string" + }, + "id": { "type": "integer" }, - "system_punish_replace_value": { - "description": "xx天未活跃,处罚滑落", + "kind": { "type": "integer" + }, + "title": { + "type": "string" } } }, - "applet_app_md_institutional_management_public_platoon.Paginate": { + "md.EggEnergyCommunityDividends": { "type": "object", "properties": { - "limit": { - "description": "每页大小", - "type": "integer" + "amount": { + "description": "分红数量", + "type": "string" }, - "page": { - "description": "页数", + "coin_id": { + "description": "虚拟币 id", "type": "integer" }, - "total": { - "description": "总数据量", + "create_at": { + "description": "分红时间", + "type": "string" + }, + "id": { "type": "integer" - } - } - }, - "md.ActivePointsWalletNode": { - "type": "object", - "properties": { - "amount": { - "type": "string", - "example": "账户余额" }, - "uid": { - "description": "用户 ID", + "is_over": { + "description": "是否分红完毕", "type": "integer" }, - "user_name": { + "name": { "type": "string", - "example": "用户名" + "example": "名称" }, - "user_phone": { - "type": "string", - "example": "手机号" + "persons_num": { + "description": "分红人数", + "type": "integer" + }, + "update_at": { + "type": "string" } } }, - "md.AddCommunityDividendsReq": { + "md.EggEnergyCommunityDividendsWithUser": { "type": "object", "properties": { - "amount": { - "description": "社区分红数量", - "type": "string" + "id": { + "type": "integer" }, - "name": { + "memo": { "type": "string", - "example": "社区分红名称" + "example": "备注" + }, + "nickname": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "uid": { + "type": "integer" } } }, - "md.AddCommunityDividendsWithUserReq": { + "md.ExchangeRulesStruct": { "type": "object", "properties": { - "memo": { - "type": "string", - "example": "备注" + "auto_exchange_nums_by_person": { + "description": "个人数量X个,自动兑换可用蛋蛋能量", + "type": "string" }, - "uid": { - "description": "新增社区长用户 ID", - "type": "integer" + "auto_exchange_nums_by_team": { + "description": "团队数量X个,自动兑换团队蛋蛋能量", + "type": "string" + }, + "auto_exchange_rate_by_person": { + "description": "个人数量百分比,自动兑换可用蛋蛋能量", + "type": "string" + }, + "auto_exchange_rate_by_team": { + "description": "团队数量百分比,自动兑换团队蛋蛋能量", + "type": "string" } } }, - "md.AddFreePublishUserReq": { + "md.ExchangeUserPositionReq": { "type": "object", "properties": { - "uid": { + "position_1": { + "description": "位置1,具体值取返回数据中的 system_id", + "type": "integer" + }, + "position_2": { + "description": "位置2,具体值取返回数据中的 system_id", "type": "integer" } } }, - "md.AddFundDataReq": { + "md.FansNode": { "type": "object", "properties": { - "frequency": { - "description": "频率(分钟)", - "type": "integer" + "amount": { + "description": "可提现余额", + "type": "string" }, - "hours": { - "description": "时长(小时)", + "id": { + "description": "用户ID", "type": "integer" }, - "kind": { - "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", + "level_total": { + "description": "所属代数", "type": "integer" }, - "memo": { + "nickname": { "type": "string", - "example": "备注" + "example": "用户昵称" }, - "total_amount": { - "description": "金额", + "phone": { + "type": "string", + "example": "手机号" + }, + "register_at": { + "description": "注册时间", + "type": "string" + }, + "total_income": { + "description": "累计收益", "type": "string" } } }, - "md.AddPlatformRevenueReq": { + "md.FindSubUserRelationshipMapResp": { "type": "object", "properties": { - "frequency": { - "description": "频率(分钟)", - "type": "integer" - }, - "hours": { - "description": "时长(小时)", - "type": "integer" - }, - "kind": { - "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", - "type": "integer" - }, - "memo": { - "type": "string", - "example": "备注" + "basic_setting": { + "description": "公排设置", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting" + } + ] }, - "total_amount": { - "description": "金额", + "search_uid": { + "description": "查找的用户 ID", "type": "string" + }, + "sub_user": { + "description": "上级用户信息", + "allOf": [ + { + "$ref": "#/definitions/md.SubUser" + } + ] } } }, - "md.DailyActivityAnalysisTopData": { + "md.FreePublishUserNode": { "type": "object", "properties": { - "activity_count": { - "description": "子节点活跃天数", - "type": "integer" + "nickname": { + "type": "string", + "example": "昵称" }, - "team_activity_user_count": { - "description": "子节点活跃人数", - "type": "integer" + "phone": { + "type": "string", + "example": "手机号" }, - "team_user_count": { - "description": "团队人数", + "uid": { "type": "integer" } } }, - "md.DataSetting": { + "md.FundDataNode": { "type": "object", "properties": { - "total_angel_investor": { - "description": "天使投资人", - "type": "string", - "example": "天使投资人" + "balance_amount": { + "description": "余额", + "type": "string" }, - "total_ecological_development": { - "description": "生态建设", - "type": "string", - "example": "当前价格" + "balance_times": { + "description": "剩余执行次数", + "type": "integer" }, - "total_issuance_amount": { - "description": "总发行量", - "type": "string", - "example": "总发行量" + "create_at": { + "description": "创建时间", + "type": "string" }, - "total_operate_fund": { - "description": "运营资金", - "type": "string", - "example": "运营资金" + "hours": { + "description": "时长", + "type": "integer" }, - "total_technology_team": { - "description": "技术团队", - "type": "string", - "example": "技术团队" + "kind": { + "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", + "type": "integer" }, - "total_user_for_person": { - "description": "TotalTeamDividends string`json:\"total_team_dividends\" example:\"团队分红\"` // 团队分红", - "type": "string", - "example": "个人区域" + "memo": { + "description": "备注", + "type": "string" }, - "total_user_for_team": { - "description": "团队区域", - "type": "string", - "example": "团队区域" + "system_id": { + "type": "integer" + }, + "total_amount": { + "description": "金额", + "type": "string" } } }, - "md.DestructionSettingStruct": { + "md.FundDataRecordNode": { "type": "object", "properties": { - "community_dividends": { - "description": "社区分红百分比", + "after_planet_total_value": { + "description": "执行后-星球价值", "type": "string" }, - "destruction_quantity": { - "description": "销毁百分比", + "after_price": { + "description": "执行后-价格", "type": "string" }, - "development_committee": { - "description": "发展委员会百分比", + "balance_amount": { + "description": "余额", "type": "string" }, - "marketplace_merchant": { - "description": "市商数量百分比", + "balance_times": { + "description": "剩余执行次数", + "type": "integer" + }, + "before_planet_total_value": { + "description": "执行前-星球价值", "type": "string" }, - "public_welfare_and_charity": { - "description": "公益慈善百分比", + "before_price": { + "description": "执行前-价格", "type": "string" }, - "star_level_dividends": { - "description": "星级分红百分比", + "create_at": { + "type": "string" + }, + "total_amount": { + "description": "金额", "type": "string" } } }, - "md.DynamicDataFlowListReq": { + "md.GetActivePointsUserCoinFlowListReq": { "type": "object", "properties": { - "end_at": { - "description": "结束时间", - "type": "string", - "example": "结束时间" + "coin_id": { + "description": "货币类型 ID", + "type": "integer" }, - "kind": { - "description": "持有类型", + "direction": { + "description": "流水方向:1收入 2支出", "type": "integer" }, + "end_at": { + "description": "结束时间", + "type": "string" + }, "page": { "description": "页数", "type": "integer" @@ -2056,316 +3110,357 @@ }, "start_at": { "description": "开始时间", - "type": "string", - "example": "开始时间" + "type": "string" + }, + "uid": { + "description": "用户 ID", + "type": "integer" } } }, - "md.DynamicDataFlowListResp": { + "md.GetActivePointsUserCoinFlowListResp": { "type": "object", "properties": { - "kind_list": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } - }, "list": { + "description": "流水信息", "type": "array", "items": { - "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow" + "$ref": "#/definitions/md.UserVirtualCoinFlow" } }, "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + "description": "分页信息", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + } + ] + }, + "select_data": { + "description": "流水类型", + "allOf": [ + { + "$ref": "#/definitions/md.SelectData" + } + ] } } }, - "md.EggEnergyAvailableEnergyFlow": { + "md.GetActivePointsUserCoinListReq": { "type": "object", "properties": { - "after_community_dividends": { - "type": "string" - }, - "after_destruction_quantity_values": { - "type": "string" - }, - "after_development_committee_values": { - "type": "string" - }, - "after_marketplace_merchant_fund_values": { - "type": "string" - }, - "after_marketplace_merchant_values": { - "type": "string" - }, - "after_now_energy_total_nums": { - "type": "string" - }, - "after_planet_total_value": { - "type": "string" - }, - "after_price": { - "type": "string" - }, - "after_public_welfare_and_charity_values": { - "type": "string" - }, - "after_star_level_dividends_values": { - "type": "string" - }, - "amount": { - "type": "string" - }, - "before_community_dividends": { - "type": "string" - }, - "before_destruction_quantity_values": { - "type": "string" - }, - "before_development_committee_values": { - "type": "string" + "end_coin": { + "type": "string", + "example": "最大金额" }, - "before_marketplace_merchant_fund_values": { - "type": "string" + "kind": { + "description": "虚拟币种类编号", + "type": "integer" }, - "before_marketplace_merchant_values": { - "type": "string" + "page": { + "description": "页数", + "type": "integer" }, - "before_now_energy_total_nums": { - "type": "string" + "page_size": { + "description": "单页大小", + "type": "integer" }, - "before_planet_total_value": { - "type": "string" + "start_coin": { + "type": "string", + "example": "最小金额" }, - "before_price": { - "type": "string" + "uid": { + "description": "指定查询用户 ID", + "type": "integer" }, - "before_public_welfare_and_charity_values": { - "type": "string" + "user_name": { + "type": "string", + "example": "用户名称" }, - "before_star_level_dividends_values": { - "type": "string" + "user_phone": { + "type": "string", + "example": "手机号" + } + } + }, + "md.GetActivePointsUserCoinListResp": { + "type": "object", + "properties": { + "kind_list": { + "description": "货币类型集合", + "type": "array", + "items": { + "$ref": "#/definitions/md.VirtualCoinListNode" + } }, - "create_time": { - "type": "string" + "list": { + "description": "余额集合", + "type": "array", + "items": { + "$ref": "#/definitions/md.ActivePointsWalletNode" + } }, - "id": { - "type": "integer" + "sum_user_amount": { + "description": "用户持有总数", + "type": "number" }, - "kind": { + "total": { + "description": "持有该类型用户数", "type": "integer" - }, - "title": { - "type": "string" } } }, - "md.EggEnergyCommunityDividends": { + "md.GetBasicResp": { "type": "object", "properties": { - "amount": { - "description": "分红数量", - "type": "string" - }, - "coin_id": { - "description": "虚拟币 id", - "type": "integer" - }, - "create_at": { - "description": "分红时间", - "type": "string" + "oss_access_key_id": { + "type": "string", + "example": "oss访问秘钥id" }, - "id": { - "type": "integer" + "oss_access_key_secret": { + "type": "string", + "example": "oss访问秘钥" }, - "is_over": { - "description": "是否分红完毕", - "type": "integer" + "oss_bucket_name": { + "type": "string", + "example": "oss存储桶名称" }, - "name": { + "oss_bucket_scheme": { "type": "string", - "example": "名称" + "example": "oss上传方式" }, - "persons_num": { - "description": "分红人数", - "type": "integer" + "oss_endpoint": { + "type": "string", + "example": "oss地域节点" }, - "update_at": { - "type": "string" + "oss_object_domain": { + "type": "string", + "example": "oss域名" } } }, - "md.EggEnergyCommunityDividendsWithUser": { + "md.GetEggCoreDataListResp": { "type": "object", "properties": { - "id": { - "type": "integer" - }, - "memo": { + "now_energy_total_nums": { + "description": "现行总量", "type": "string", - "example": "备注" + "example": "现行总量" }, - "nickname": { - "type": "string" + "now_price": { + "description": "当前价格", + "type": "string", + "example": "当前价格" }, - "phone": { - "type": "string" + "planet_total_value": { + "description": "星球价值", + "type": "string", + "example": "星球价值" }, - "uid": { - "type": "integer" + "user_hold_total_nums": { + "description": "用户持有总量", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, - "md.ExchangeRulesStruct": { + "md.GetEggEnergyBasicResp": { "type": "object", "properties": { - "auto_exchange_nums_by_person": { - "description": "个人数量X个,自动兑换可用蛋蛋能量", - "type": "string" + "basic_setting": { + "description": "基础设置", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" + } + ] }, - "auto_exchange_nums_by_team": { - "description": "团队数量X个,自动兑换团队蛋蛋能量", - "type": "string" + "data_setting": { + "description": "数据设置", + "allOf": [ + { + "$ref": "#/definitions/md.DataSetting" + } + ] }, - "auto_exchange_rate_by_person": { - "description": "个人数量百分比,自动兑换可用蛋蛋能量", - "type": "string" + "destruction_setting": { + "description": "销毁设置", + "allOf": [ + { + "$ref": "#/definitions/md.DestructionSettingStruct" + } + ] }, - "auto_exchange_rate_by_team": { - "description": "团队数量百分比,自动兑换团队蛋蛋能量", - "type": "string" + "exchange_rules": { + "description": "兑换规则", + "allOf": [ + { + "$ref": "#/definitions/md.ExchangeRulesStruct" + } + ] + }, + "new_user_incentive_rules": { + "description": "新用户奖励规则", + "allOf": [ + { + "$ref": "#/definitions/md.NewUserRewardRules" + } + ] + }, + "price_setting": { + "description": "价格设置", + "allOf": [ + { + "$ref": "#/definitions/md.PriceSettingStruct" + } + ] + }, + "reward_system": { + "description": "圈层奖励", + "allOf": [ + { + "$ref": "#/definitions/md.RewardSystemStruct" + } + ] + }, + "system_id": { + "description": "该设置系统 ID", + "type": "integer" + }, + "video_reward_setting": { + "description": "视频奖励", + "allOf": [ + { + "$ref": "#/definitions/md.VideoRewardSetting" + } + ] } } }, - "md.ExchangeUserPositionReq": { + "md.GetFreePublishUserReq": { "type": "object", "properties": { - "position_1": { - "description": "位置1,具体值取返回数据中的 system_id", + "limit": { + "description": "每页大小", "type": "integer" }, - "position_2": { - "description": "位置2,具体值取返回数据中的 system_id", + "page": { + "description": "当前页数", + "type": "integer" + }, + "uid": { + "description": "筛选的用户 ID", "type": "integer" } } }, - "md.FindSubUserRelationshipMapResp": { + "md.GetFreePublishUserResp": { "type": "object", "properties": { - "basic_setting": { - "description": "公排设置", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting" - } - ] - }, - "search_uid": { - "description": "查找的用户 ID", - "type": "string" + "list": { + "description": "免罚用户列表", + "type": "array", + "items": { + "$ref": "#/definitions/md.FreePublishUserNode" + } }, - "sub_user": { - "description": "上级用户信息", + "paginate": { + "description": "分页信息", "allOf": [ { - "$ref": "#/definitions/md.SubUser" + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" } ] } } }, - "md.FreePublishUserNode": { + "md.GetFundDataListReq": { "type": "object", "properties": { - "nickname": { + "end_at": { "type": "string", - "example": "昵称" + "example": "结束时间" }, - "phone": { - "type": "string", - "example": "手机号" + "kind": { + "description": "数据类型", + "type": "integer" }, - "uid": { + "limit": { + "description": "每页大小", + "type": "integer" + }, + "page": { + "description": "页数", "type": "integer" + }, + "start_at": { + "type": "string", + "example": "开始时间" + } + } + }, + "md.GetFundDataListResp": { + "type": "object", + "properties": { + "kind_list": { + "description": "类型列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "list": { + "description": "数据列表", + "type": "array", + "items": { + "$ref": "#/definitions/md.FundDataNode" + } + }, + "paginate": { + "description": "分页数据", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + } + ] } } }, - "md.FundDataNode": { + "md.GetFundDataRecordListReq": { "type": "object", "properties": { - "balance_amount": { - "description": "余额", - "type": "string" - }, - "balance_times": { - "description": "剩余执行次数", - "type": "integer" - }, - "create_at": { - "description": "创建时间", - "type": "string" - }, - "hours": { - "description": "时长", + "limit": { + "description": "页面大小", "type": "integer" }, - "kind": { - "description": "种类(1:公司补贴 2:资方投资 3:市场期望)", + "page": { + "description": "页数", "type": "integer" }, - "memo": { - "description": "备注", - "type": "string" - }, "system_id": { + "description": "数据在系统中的 ID", "type": "integer" - }, - "total_amount": { - "description": "金额", - "type": "string" } } }, - "md.FundDataRecordNode": { + "md.GetFundDataRecordListResp": { "type": "object", "properties": { - "after_planet_total_value": { - "description": "执行后-星球价值", - "type": "string" - }, - "after_price": { - "description": "执行后-价格", - "type": "string" - }, - "balance_amount": { - "description": "余额", - "type": "string" - }, - "balance_times": { - "description": "剩余执行次数", - "type": "integer" - }, - "before_planet_total_value": { - "description": "执行前-星球价值", - "type": "string" - }, - "before_price": { - "description": "执行前-价格", - "type": "string" - }, - "create_at": { - "type": "string" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.FundDataRecordNode" + } }, - "total_amount": { - "description": "金额", - "type": "string" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" } } }, - "md.GetActivePointsUserCoinFlowListReq": { + "md.GetGreenEnergyUserCoinFlowListReq": { "type": "object", "properties": { "coin_id": { @@ -2398,7 +3493,7 @@ } } }, - "md.GetActivePointsUserCoinFlowListResp": { + "md.GetGreenEnergyUserCoinFlowListResp": { "type": "object", "properties": { "list": { @@ -2426,7 +3521,7 @@ } } }, - "md.GetActivePointsUserCoinListReq": { + "md.GetGreenEnergyUserCoinListReq": { "type": "object", "properties": { "end_coin": { @@ -2463,7 +3558,7 @@ } } }, - "md.GetActivePointsUserCoinListResp": { + "md.GetGreenEnergyUserCoinListResp": { "type": "object", "properties": { "kind_list": { @@ -2490,173 +3585,188 @@ } } }, - "md.GetBasicResp": { + "md.GetLevelListResp": { "type": "object", "properties": { - "oss_access_key_id": { - "type": "string", - "example": "oss访问秘钥id" - }, - "oss_access_key_secret": { - "type": "string", - "example": "oss访问秘钥" - }, - "oss_bucket_name": { - "type": "string", - "example": "oss存储桶名称" - }, - "oss_bucket_scheme": { - "type": "string", - "example": "oss上传方式" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.LevelListNode" + } }, - "oss_endpoint": { - "type": "string", - "example": "oss地域节点" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" + } + } + }, + "md.GetPriceCurveResp": { + "type": "object", + "properties": { + "x_data": { + "type": "array", + "items": {} }, - "oss_object_domain": { - "type": "string", - "example": "oss域名" + "y_data": { + "type": "array", + "items": {} } } }, - "md.GetEggCoreDataListResp": { + "md.GetPublicPlatoonBasicResp": { "type": "object", "properties": { - "now_energy_total_nums": { - "description": "现行总量", - "type": "string", - "example": "现行总量" + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" }, - "now_price": { - "description": "当前价格", - "type": "string", - "example": "当前价格" + "is_self_active_get_team_revenue": { + "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "type": "integer" }, - "planet_total_value": { - "description": "星球价值", - "type": "string", - "example": "星球价值" + "originator_uid": { + "description": "创始人uid", + "type": "integer" }, - "user_hold_total_nums": { - "description": "用户持有总量", - "type": "object", - "additionalProperties": { - "type": "string" + "several_rows": { + "description": "几排", + "type": "integer" + }, + "several_times": { + "description": "几乘", + "type": "integer" + }, + "system_punish_replace": { + "description": "是否位置滑落 被新用户替换 0否 1是", + "type": "integer" + }, + "system_punish_replace_value": { + "description": "xx天未活跃,处罚滑落", + "type": "integer" + } + } + }, + "md.GetTagListResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.TagListNode" } + }, + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } } }, - "md.GetEggEnergyBasicResp": { + "md.LevelListNode": { "type": "object", "properties": { - "basic_setting": { - "description": "基础设置", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" - } - ] + "count": { + "description": "等级人数", + "type": "string" }, - "data_setting": { - "description": "数据设置", - "allOf": [ - { - "$ref": "#/definitions/md.DataSetting" - } - ] + "create_at": { + "description": "创建时间", + "type": "string" }, - "destruction_setting": { - "description": "销毁设置", - "allOf": [ - { - "$ref": "#/definitions/md.DestructionSettingStruct" - } - ] + "is_use": { + "description": "是否开启(0.否, 1.是)", + "type": "integer" }, - "exchange_rules": { - "description": "兑换规则", - "allOf": [ - { - "$ref": "#/definitions/md.ExchangeRulesStruct" - } - ] + "level_id": { + "description": "等级 ID", + "type": "integer" }, - "new_user_incentive_rules": { - "description": "新用户奖励规则", - "allOf": [ - { - "$ref": "#/definitions/md.NewUserRewardRules" - } - ] + "level_name": { + "description": "等级名称", + "type": "string" }, - "price_setting": { - "description": "价格设置", - "allOf": [ - { - "$ref": "#/definitions/md.PriceSettingStruct" - } - ] + "level_weight": { + "description": "等级权重", + "type": "integer" }, - "reward_system": { - "description": "圈层奖励", - "allOf": [ - { - "$ref": "#/definitions/md.RewardSystemStruct" - } - ] + "memo": { + "description": "备注", + "type": "string" + } + } + }, + "md.ListCommunityDividendsReq": { + "type": "object", + "properties": { + "end_at": { + "description": "结束时间", + "type": "string" + }, + "end_nums": { + "description": "分红总量上限", + "type": "integer" + }, + "limit": { + "description": "每页大小", + "type": "integer" }, - "system_id": { - "description": "该设置系统 ID", + "page": { + "description": "页数", "type": "integer" }, - "video_reward_setting": { - "description": "视频奖励", - "allOf": [ - { - "$ref": "#/definitions/md.VideoRewardSetting" - } - ] + "start_at": { + "description": "开始时间", + "type": "string" + }, + "start_nums": { + "description": "分红总量下限", + "type": "integer" } } }, - "md.GetFreePublishUserReq": { + "md.ListCommunityDividendsResp": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.EggEnergyCommunityDividends" + } + }, + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" + } + } + }, + "md.ListCommunityDividendsWithUserReq": { "type": "object", "properties": { "limit": { - "description": "每页大小", "type": "integer" }, "page": { - "description": "当前页数", "type": "integer" }, + "phone": { + "type": "string" + }, "uid": { - "description": "筛选的用户 ID", "type": "integer" } } }, - "md.GetFreePublishUserResp": { + "md.ListCommunityDividendsWithUserResp": { "type": "object", "properties": { "list": { - "description": "免罚用户列表", "type": "array", "items": { - "$ref": "#/definitions/md.FreePublishUserNode" + "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser" } }, "paginate": { - "description": "分页信息", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" - } - ] + "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" } } }, - "md.GetFundDataListReq": { + "md.ListPlatformRevenueReq": { "type": "object", "properties": { "end_at": { @@ -2681,7 +3791,7 @@ } } }, - "md.GetFundDataListResp": { + "md.ListPlatformRevenueResp": { "type": "object", "properties": { "kind_list": { @@ -2696,7 +3806,7 @@ "description": "数据列表", "type": "array", "items": { - "$ref": "#/definitions/md.FundDataNode" + "$ref": "#/definitions/md.PlatformRevenueDataNode" } }, "paginate": { @@ -2709,219 +3819,157 @@ } } }, - "md.GetFundDataRecordListReq": { + "md.LoginReq": { "type": "object", + "required": [ + "password", + "username" + ], "properties": { - "limit": { - "description": "页面大小", - "type": "integer" + "code": { + "type": "string", + "example": "验证码" }, - "page": { - "description": "页数", - "type": "integer" + "password": { + "type": "string", + "example": "登录密码" }, - "system_id": { - "description": "数据在系统中的 ID", - "type": "integer" + "username": { + "type": "string", + "example": "登录账号" } } }, - "md.GetFundDataRecordListResp": { + "md.LoginResponse": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.FundDataRecordNode" - } - }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" + "token": { + "type": "string" } } }, - "md.GetGreenEnergyUserCoinFlowListReq": { + "md.NewUserRedPackageGetBasicResp": { "type": "object", "properties": { - "coin_id": { - "description": "货币类型 ID", - "type": "integer" - }, - "direction": { - "description": "流水方向:1收入 2支出", - "type": "integer" - }, - "end_at": { - "description": "结束时间", + "create_at": { "type": "string" }, - "page": { - "description": "页数", + "days": { + "description": "天数", "type": "integer" }, - "page_size": { - "description": "每页大小", + "is_double": { + "description": "是否翻倍", "type": "integer" }, - "start_at": { - "description": "开始时间", - "type": "string" - }, - "uid": { - "description": "用户 ID", + "is_open": { + "description": "是否开启(1:开启 0:关闭)", "type": "integer" - } - } - }, - "md.GetGreenEnergyUserCoinFlowListResp": { - "type": "object", - "properties": { - "list": { - "description": "流水信息", - "type": "array", - "items": { - "$ref": "#/definitions/md.UserVirtualCoinFlow" - } }, - "paginate": { - "description": "分页信息", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" - } - ] + "total_amount": { + "type": "string", + "example": "总金额" }, - "select_data": { - "description": "流水类型", - "allOf": [ - { - "$ref": "#/definitions/md.SelectData" - } - ] + "update_at": { + "type": "string" } } }, - "md.GetGreenEnergyUserCoinListReq": { + "md.NewUserRedPackageRecordFlowListReq": { "type": "object", "properties": { - "end_coin": { - "type": "string", - "example": "最大金额" + "end_at": { + "description": "结束时间", + "type": "string" }, - "kind": { - "description": "虚拟币种类编号", + "limit": { + "description": "每页大小", "type": "integer" }, "page": { "description": "页数", "type": "integer" }, - "page_size": { - "description": "单页大小", - "type": "integer" - }, - "start_coin": { - "type": "string", - "example": "最小金额" + "start_at": { + "description": "开始时间", + "type": "string" }, "uid": { - "description": "指定查询用户 ID", + "description": "用户 ID", "type": "integer" - }, - "user_name": { - "type": "string", - "example": "用户名称" - }, - "user_phone": { - "type": "string", - "example": "手机号" } } }, - "md.GetGreenEnergyUserCoinListResp": { + "md.NewUserRedPackageRecordFlowListResp": { "type": "object", "properties": { - "kind_list": { - "description": "货币类型集合", - "type": "array", - "items": { - "$ref": "#/definitions/md.VirtualCoinListNode" - } - }, "list": { - "description": "余额集合", "type": "array", "items": { - "$ref": "#/definitions/md.ActivePointsWalletNode" + "$ref": "#/definitions/md.NewUserRedPackageRecordFlowNode" } }, - "sum_user_amount": { - "description": "用户持有总数", - "type": "number" - }, - "total": { - "description": "持有该类型用户数", - "type": "integer" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" } } }, - "md.GetPriceCurveResp": { + "md.NewUserRedPackageRecordFlowNode": { "type": "object", "properties": { - "x_data": { - "type": "array", - "items": {} + "balance_amount": { + "description": "剩余金额", + "type": "string" }, - "y_data": { - "type": "array", - "items": {} - } - } - }, - "md.GetPublicPlatoonBasicResp": { - "type": "object", - "properties": { - "is_open": { - "description": "是否开启(1:开启 0:关闭)", + "balance_days": { + "description": "剩余天数", "type": "integer" }, - "is_self_active_get_team_revenue": { - "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "basic_amount": { + "description": "基础金额", + "type": "string" + }, + "create_at": { + "description": "创建时间", + "type": "string" + }, + "day_num": { + "description": "第x天", "type": "integer" }, - "originator_uid": { - "description": "创始人uid", + "double_rate": { + "description": "倍率", + "type": "string" + }, + "id": { + "description": "流水 ID", "type": "integer" }, - "several_rows": { - "description": "几排", + "is_double": { + "description": "是否翻倍", "type": "integer" }, - "several_times": { - "description": "几乘", + "receive_days": { + "description": "领取天数", "type": "integer" }, - "system_punish_replace": { - "description": "是否位置滑落 被新用户替换 0否 1是", - "type": "integer" + "total_amount": { + "description": "实际金额", + "type": "string" }, - "system_punish_replace_value": { - "description": "xx天未活跃,处罚滑落", + "uid": { + "description": "用户 ID", "type": "integer" } } }, - "md.ListCommunityDividendsReq": { + "md.NewUserRedPackageRecordListReq": { "type": "object", "properties": { "end_at": { "description": "结束时间", "type": "string" }, - "end_nums": { - "description": "分红总量上限", - "type": "integer" - }, "limit": { "description": "每页大小", "type": "integer" @@ -2934,782 +3982,964 @@ "description": "开始时间", "type": "string" }, - "start_nums": { - "description": "分红总量下限", + "uid": { + "description": "用户 ID", "type": "integer" } } }, - "md.ListCommunityDividendsResp": { + "md.NewUserRedPackageRecordListResp": { "type": "object", "properties": { "list": { "type": "array", "items": { - "$ref": "#/definitions/md.EggEnergyCommunityDividends" + "$ref": "#/definitions/md.NewUserRedPackageRecordNode" } }, "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" + "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" } } }, - "md.ListCommunityDividendsWithUserReq": { + "md.NewUserRedPackageRecordNode": { "type": "object", "properties": { - "limit": { + "balance_amount": { + "description": "剩余金额", + "type": "string" + }, + "balance_days": { + "description": "剩余天数", "type": "integer" }, - "page": { + "create_at": { + "description": "创建时间", + "type": "string" + }, + "days": { + "description": "天数", "type": "integer" }, - "phone": { + "receive_days": { + "description": "领取天数", + "type": "integer" + }, + "state": { + "description": "状态(0:待领取 1:领取中 2:已领取 3:已冻结)", + "type": "integer" + }, + "system_id": { + "description": "系统中记录的 ID", + "type": "integer" + }, + "total_amount": { + "description": "金额", "type": "string" }, "uid": { + "description": "用户 ID", "type": "integer" + }, + "update_at": { + "description": "修改时间", + "type": "string" } } }, - "md.ListCommunityDividendsWithUserResp": { + "md.NewUserRedPackageUpdateBasicReq": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser" - } + "days": { + "description": "天数", + "type": "integer" }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate" + "is_double": { + "description": "是否翻倍", + "type": "integer" + }, + "is_open": { + "description": "是否开启(1:开启 0:关闭)", + "type": "integer" + }, + "total_amount": { + "type": "string", + "example": "总金额" } } }, - "md.ListPlatformRevenueReq": { + "md.NewUserRewardRules": { "type": "object", "properties": { - "end_at": { - "type": "string", - "example": "结束时间" + "continue_days": { + "description": "连续x天", + "type": "integer" }, - "kind": { - "description": "数据类型", + "invite_user_reward_value": { + "description": "拉新用户奖励x个活跃积分", "type": "integer" }, - "limit": { - "description": "每页大小", + "reward_coefficient": { + "description": "奖励系数", + "type": "number" + } + } + }, + "md.OtherNode": { + "type": "object", + "properties": { + "create_at": { + "description": "注册时间", + "type": "string" + }, + "last_login_at": { + "description": "最近登录时间", + "type": "string" + }, + "last_login_ip": { + "description": "最后登录 IP", + "type": "string" + } + } + }, + "md.PlatformRevenueDataNode": { + "type": "object", + "properties": { + "balance_amount": { + "description": "余额", + "type": "string" + }, + "balance_times": { + "description": "剩余执行次数", "type": "integer" }, - "page": { - "description": "页数", + "create_at": { + "description": "创建时间", + "type": "string" + }, + "hours": { + "description": "时长", "type": "integer" }, - "start_at": { - "type": "string", - "example": "开始时间" + "kind": { + "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", + "type": "integer" + }, + "memo": { + "description": "备注", + "type": "string" + }, + "system_id": { + "type": "integer" + }, + "total_amount": { + "description": "金额", + "type": "string" } } }, - "md.ListPlatformRevenueResp": { + "md.PriceSettingStruct": { "type": "object", "properties": { - "kind_list": { - "description": "类型列表", - "type": "array", - "items": { - "type": "object", - "additionalProperties": true - } + "marketplace_merchants_fund_exchange_marketplace_merchants_nums_value": { + "description": "市商资金单笔x元自动兑换", + "type": "string" }, - "list": { - "description": "数据列表", - "type": "array", - "items": { - "$ref": "#/definitions/md.PlatformRevenueDataNode" - } + "marketplace_merchants_nums_exchange_marketplace_merchants_fund_value": { + "description": "市商数量单笔x数量自动兑换", + "type": "string" }, - "paginate": { - "description": "分页数据", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate" - } - ] + "price_below_value": { + "description": "低于x元", + "type": "string" + }, + "price_higher_than_value": { + "description": "高于x元", + "type": "string" } } }, - "md.LoginReq": { + "md.Response": { "type": "object", - "required": [ - "password", - "username" - ], "properties": { "code": { "type": "string", - "example": "验证码" + "example": "响应码" }, - "password": { - "type": "string", - "example": "登录密码" + "data": { + "description": "内容" }, - "username": { + "msg": { "type": "string", - "example": "登录账号" + "example": "具体错误原因" } } }, - "md.LoginResponse": { + "md.RewardSystemStruct": { "type": "object", "properties": { - "token": { + "level": { + "description": "圈层", + "type": "integer" + }, + "reward_condition": { + "description": "奖励条件", + "type": "string" + }, + "reward_value": { + "description": "奖励值", "type": "string" } } }, - "md.NewUserRedPackageGetBasicResp": { + "md.SelectData": { "type": "object", "properties": { - "create_at": { - "type": "string" + "direction": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "md.SetBasicReq": { + "type": "object", + "properties": { + "oss_access_key_id": { + "type": "string", + "example": "oss访问秘钥id" }, - "days": { - "description": "天数", - "type": "integer" + "oss_access_key_secret": { + "type": "string", + "example": "oss访问秘钥" }, - "is_double": { - "description": "是否翻倍", - "type": "integer" + "oss_bucket_name": { + "type": "string", + "example": "oss存储桶名称" }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", - "type": "integer" + "oss_bucket_scheme": { + "type": "string", + "example": "oss上传方式" }, - "total_amount": { + "oss_endpoint": { "type": "string", - "example": "总金额" + "example": "oss地域节点" }, - "update_at": { - "type": "string" + "oss_object_domain": { + "type": "string", + "example": "oss域名" } } }, - "md.NewUserRedPackageRecordFlowListReq": { + "md.SetVideoRewardReq": { "type": "object", "properties": { - "end_at": { - "description": "结束时间", + "ecmp": { + "description": "当前 Ecmp 值", "type": "string" }, - "limit": { - "description": "每页大小", - "type": "integer" - }, - "page": { - "description": "页数", - "type": "integer" - }, - "start_at": { - "description": "开始时间", + "unit_price": { + "description": "单价", "type": "string" - }, - "uid": { - "description": "用户 ID", - "type": "integer" } } }, - "md.NewUserRedPackageRecordFlowListResp": { + "md.SonUserDailyActivityAnalysisNode": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.NewUserRedPackageRecordFlowNode" - } + "activity_day_nums": { + "description": "活跃子节点活跃天数", + "type": "integer" }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" + "nickname": { + "type": "string", + "example": "昵称" + }, + "phone": { + "type": "string", + "example": "手机号" + }, + "uid": { + "description": "查询用户活跃子节点 ID", + "type": "integer" } } }, - "md.NewUserRedPackageRecordFlowNode": { + "md.SubUser": { "type": "object", "properties": { - "balance_amount": { - "description": "剩余金额", - "type": "string" - }, - "balance_days": { - "description": "剩余天数", - "type": "integer" - }, - "basic_amount": { - "description": "基础金额", - "type": "string" - }, - "create_at": { - "description": "创建时间", - "type": "string" + "avatar_url": { + "type": "string", + "example": "头像" }, - "day_num": { - "description": "第x天", + "level": { + "description": "整个系统中的等级", "type": "integer" }, - "double_rate": { - "description": "倍率", - "type": "string" + "nickname": { + "type": "string", + "example": "昵称" }, - "id": { - "description": "流水 ID", - "type": "integer" + "phone": { + "type": "string", + "example": "手机号" }, - "is_double": { - "description": "是否翻倍", + "pid": { "type": "integer" }, - "receive_days": { - "description": "领取天数", + "position": { + "description": "以pid1为创始人中网的位置", "type": "integer" }, - "total_amount": { - "description": "实际金额", - "type": "string" - }, "uid": { - "description": "用户 ID", "type": "integer" } } }, - "md.NewUserRedPackageRecordListReq": { + "md.TagListNode": { "type": "object", "properties": { - "end_at": { - "description": "结束时间", + "count": { + "description": "标签人数", "type": "string" }, - "limit": { - "description": "每页大小", - "type": "integer" + "create_at": { + "description": "创建时间", + "type": "string" }, - "page": { - "description": "页数", - "type": "integer" + "memo": { + "description": "备注", + "type": "string" }, - "start_at": { - "description": "开始时间", + "name": { + "description": "名称", "type": "string" }, - "uid": { - "description": "用户 ID", - "type": "integer" + "tag_id": { + "description": "标签 ID", + "type": "string" } } }, - "md.NewUserRedPackageRecordListResp": { + "md.TeamRewardSettingStruct": { "type": "object", "properties": { - "list": { - "type": "array", - "items": { - "$ref": "#/definitions/md.NewUserRedPackageRecordNode" - } + "member_self_is_open_get_team_reward": { + "description": "会员是否活跃得到团队奖励", + "type": "string" }, - "paginate": { - "$ref": "#/definitions/applet_app_md_institutional_management_new_user_red_package.Paginate" + "one_round_duration": { + "description": "一轮持续时间", + "type": "string" + }, + "reward_decrement_value": { + "description": "递减百分比", + "type": "string" + }, + "reward_end_value": { + "description": "奖励结束值", + "type": "string" } } }, - "md.NewUserRedPackageRecordNode": { + "md.TreeNode": { "type": "object", "properties": { - "balance_amount": { - "description": "剩余金额", - "type": "string" + "avatar_url": { + "type": "string", + "example": "头像" }, - "balance_days": { - "description": "剩余天数", + "level": { "type": "integer" }, - "create_at": { - "description": "创建时间", - "type": "string" + "nickname": { + "type": "string", + "example": "昵称" }, - "days": { - "description": "天数", - "type": "integer" + "phone": { + "type": "string", + "example": "手机号" }, - "receive_days": { - "description": "领取天数", + "pid": { "type": "integer" }, - "state": { - "description": "状态(0:待领取 1:领取中 2:已领取 3:已冻结)", + "position": { "type": "integer" }, + "son": { + "type": "array", + "items": { + "$ref": "#/definitions/md.TreeNode" + } + }, "system_id": { - "description": "系统中记录的 ID", + "description": "公排网中id", "type": "integer" }, - "total_amount": { - "description": "金额", - "type": "string" - }, "uid": { - "description": "用户 ID", "type": "integer" - }, - "update_at": { - "description": "修改时间", - "type": "string" } } }, - "md.NewUserRedPackageUpdateBasicReq": { + "md.UpdateEggEnergyBasicReq": { "type": "object", "properties": { - "days": { - "description": "天数", - "type": "integer" + "basic_setting": { + "description": "基础设置", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" + } + ] }, - "is_double": { - "description": "是否翻倍", - "type": "integer" + "data_setting": { + "description": "数据设置", + "allOf": [ + { + "$ref": "#/definitions/md.DataSetting" + } + ] }, - "is_open": { - "description": "是否开启(1:开启 0:关闭)", + "destruction_setting": { + "description": "销毁设置", + "allOf": [ + { + "$ref": "#/definitions/md.DestructionSettingStruct" + } + ] + }, + "exchange_rules": { + "description": "兑换规则", + "allOf": [ + { + "$ref": "#/definitions/md.ExchangeRulesStruct" + } + ] + }, + "new_user_incentive_rules": { + "description": "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则", + "allOf": [ + { + "$ref": "#/definitions/md.NewUserRewardRules" + } + ] + }, + "price_setting": { + "description": "价格设置", + "allOf": [ + { + "$ref": "#/definitions/md.PriceSettingStruct" + } + ] + }, + "reward_system": { + "description": "圈层奖励", + "allOf": [ + { + "$ref": "#/definitions/md.RewardSystemStruct" + } + ] + }, + "system_id": { + "description": "该设置系统 ID", "type": "integer" }, - "total_amount": { - "type": "string", - "example": "总金额" + "video_reward_setting": { + "description": "视频奖励", + "allOf": [ + { + "$ref": "#/definitions/md.VideoRewardSetting" + } + ] } } }, - "md.NewUserRewardRules": { + "md.UpdateLevelReq": { "type": "object", "properties": { - "continue_days": { - "description": "连续x天", + "is_use": { + "description": "是否开启(0.否, 1.是)", "type": "integer" }, - "invite_user_reward_value": { - "description": "拉新用户奖励x个活跃积分", + "level_id": { + "type": "string" + }, + "level_name": { + "description": "等级名称", + "type": "string" + }, + "level_weight": { + "description": "等级权重", "type": "integer" }, - "reward_coefficient": { - "description": "奖励系数", - "type": "number" + "memo": { + "description": "备注", + "type": "string" } } }, - "md.PlatformRevenueDataNode": { + "md.UpdatePublicPlatoonBasicReq": { "type": "object", "properties": { - "balance_amount": { - "description": "余额", - "type": "string" - }, - "balance_times": { - "description": "剩余执行次数", + "is_open": { + "description": "是否开启(1:开启 0:关闭)", "type": "integer" }, - "create_at": { - "description": "创建时间", - "type": "string" + "is_self_active_get_team_revenue": { + "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", + "type": "integer" }, - "hours": { - "description": "时长", + "originator_uid": { + "description": "创始人uid", "type": "integer" }, - "kind": { - "description": "种类(1:开屏广告 2:banner 广告 3:信息流广告 4:插屏广告)", + "several_rows": { + "description": "几排", "type": "integer" }, - "memo": { - "description": "备注", - "type": "string" + "several_times": { + "description": "几乘", + "type": "integer" }, - "system_id": { + "system_punish_replace": { + "description": "是否位置滑落 被新用户替换 0否 1是", "type": "integer" }, - "total_amount": { - "description": "金额", - "type": "string" + "system_punish_replace_value": { + "description": "xx天未活跃,处罚滑落", + "type": "integer" } } }, - "md.PriceSettingStruct": { + "md.UpdateTagReq": { "type": "object", "properties": { - "marketplace_merchants_fund_exchange_marketplace_merchants_nums_value": { - "description": "市商资金单笔x元自动兑换", - "type": "string" - }, - "marketplace_merchants_nums_exchange_marketplace_merchants_fund_value": { - "description": "市商数量单笔x数量自动兑换", + "memo": { + "description": "备注", "type": "string" }, - "price_below_value": { - "description": "低于x元", + "name": { + "description": "标签名称", "type": "string" }, - "price_higher_than_value": { - "description": "高于x元", + "tag_id": { + "description": "标签 ID", "type": "string" } } }, - "md.Response": { + "md.UserDailyActivityAnalysisReq": { "type": "object", "properties": { - "code": { + "end_date": { "type": "string", - "example": "响应码" + "example": "结束日期" }, - "data": { - "description": "内容" + "page": { + "description": "页数", + "type": "integer" }, - "msg": { + "page_size": { + "description": "每页大小", + "type": "integer" + }, + "start_date": { "type": "string", - "example": "具体错误原因" + "example": "开始日期" + }, + "uid": { + "description": "查询用户 ID", + "type": "integer" } } }, - "md.RewardSystemStruct": { + "md.UserDailyActivityAnalysisResp": { "type": "object", "properties": { - "level": { - "description": "圈层", - "type": "integer" - }, - "reward_condition": { - "description": "奖励条件", - "type": "string" + "son_user_data": { + "description": "被查询用户子节点信息", + "type": "array", + "items": { + "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode" + } }, - "reward_value": { - "description": "奖励值", - "type": "string" + "top_data": { + "description": "统计信息", + "allOf": [ + { + "$ref": "#/definitions/md.DailyActivityAnalysisTopData" + } + ] } } }, - "md.SelectData": { + "md.UserManagementGetBalanceDetailResp": { "type": "object", "properties": { - "direction": { + "list": { "type": "array", "items": { - "type": "object", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/md.BalanceDetailNode" } + }, + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } } }, - "md.SetBasicReq": { + "md.UserManagementGetFansResp": { "type": "object", "properties": { - "oss_access_key_id": { - "type": "string", - "example": "oss访问秘钥id" - }, - "oss_access_key_secret": { - "type": "string", - "example": "oss访问秘钥" - }, - "oss_bucket_name": { - "type": "string", - "example": "oss存储桶名称" - }, - "oss_bucket_scheme": { - "type": "string", - "example": "oss上传方式" - }, - "oss_endpoint": { - "type": "string", - "example": "oss地域节点" + "list": { + "description": "用户数据", + "type": "array", + "items": { + "$ref": "#/definitions/md.FansNode" + } }, - "oss_object_domain": { - "type": "string", - "example": "oss域名" + "paginate": { + "description": "分页信息", + "allOf": [ + { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" + } + ] } } }, - "md.SetVideoRewardReq": { + "md.UserManagementGetOneBasicResp": { "type": "object", "properties": { - "ecmp": { - "description": "当前 Ecmp 值", - "type": "string" + "basic_info": { + "description": "基本信息", + "allOf": [ + { + "$ref": "#/definitions/md.BasicInfoNode" + } + ] }, - "unit_price": { - "description": "单价", - "type": "string" + "levels_list": { + "description": "等级列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + }, + "other_info": { + "description": "其他信息", + "allOf": [ + { + "$ref": "#/definitions/md.OtherNode" + } + ] + }, + "tags_list": { + "description": "标签列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } } } }, - "md.SonUserDailyActivityAnalysisNode": { + "md.UserManagementGetUserListNode": { "type": "object", "properties": { - "activity_day_nums": { - "description": "活跃子节点活跃天数", + "avatar": { + "type": "string" + }, + "create_at": { + "type": "string" + }, + "custom_invite_code": { + "type": "string" + }, + "id": { "type": "integer" }, - "nickname": { + "invite_code": { "type": "string", - "example": "昵称" + "example": "会员邀请码" }, - "phone": { - "type": "string", - "example": "手机号" + "invite_total": { + "type": "integer" }, - "uid": { - "description": "查询用户活跃子节点 ID", + "is_real_name": { "type": "integer" - } - } - }, - "md.SubUser": { - "type": "object", - "properties": { - "avatar_url": { - "type": "string", - "example": "头像" + }, + "last_login_ip": { + "type": "string" }, "level": { - "description": "整个系统中的等级", "type": "integer" }, + "level_name": { + "description": "会员等级", + "type": "string" + }, + "memo": { + "type": "string" + }, "nickname": { + "type": "string" + }, + "open_id": { + "type": "string" + }, + "parent_id": { + "description": "推荐人 ID", + "type": "integer" + }, + "parent_invite_code": { "type": "string", - "example": "昵称" + "example": "推荐人邀请码" }, - "phone": { + "parent_phone": { "type": "string", - "example": "手机号" + "example": "推荐人手机号" }, - "pid": { + "parent_uid": { + "type": "integer" + }, + "passcode": { + "type": "string" + }, + "password": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "register_time": { + "description": "注册时间", + "type": "string" + }, + "register_type": { "type": "integer" }, - "position": { - "description": "以pid1为创始人中网的位置", + "sex": { "type": "integer" }, - "uid": { + "state": { "type": "integer" - } - } - }, - "md.TeamRewardSettingStruct": { - "type": "object", - "properties": { - "member_self_is_open_get_team_reward": { - "description": "会员是否活跃得到团队奖励", + }, + "system_invite_code": { "type": "string" }, - "one_round_duration": { - "description": "一轮持续时间", + "tag_name": { + "description": "会员标签", "type": "string" }, - "reward_decrement_value": { - "description": "递减百分比", + "union_id": { "type": "string" }, - "reward_end_value": { - "description": "奖励结束值", + "update_at": { "type": "string" } } }, - "md.TreeNode": { + "md.UserManagementGetUserListReq": { "type": "object", "properties": { - "avatar_url": { + "effective": { + "description": "有效会员", + "type": "integer" + }, + "id": { + "description": "会员 ID", + "type": "integer" + }, + "invite_code": { "type": "string", - "example": "头像" + "example": "会员邀请码" + }, + "is_real_name": { + "description": "是否实名 0.未实名,1.已实名", + "type": "integer" }, "level": { + "description": "会员等级", + "type": "integer" + }, + "limit": { "type": "integer" }, + "login_after": { + "description": "最近登录结束时间", + "type": "string" + }, + "login_before": { + "description": "最近登录开始时间", + "type": "string" + }, + "memo": { + "description": "备注", + "type": "string" + }, "nickname": { "type": "string", - "example": "昵称" + "example": "会员昵称" + }, + "page": { + "type": "integer" + }, + "parent_invite_code": { + "type": "string", + "example": "上级邀请码" + }, + "parent_phone": { + "type": "string", + "example": "上级手机号" }, "phone": { "type": "string", - "example": "手机号" + "example": "会员手机号" }, - "pid": { + "recommend_id": { + "description": "推荐人 ID", "type": "integer" }, - "position": { + "register_after": { + "description": "注册时间终点", + "type": "string" + }, + "register_before": { + "description": "注册时间起点", + "type": "string" + }, + "register_type": { + "description": "注册类型(0.未知, 1.免验证码手机号注册,2.微信授权)", "type": "integer" }, - "son": { - "type": "array", - "items": { - "$ref": "#/definitions/md.TreeNode" - } + "sex": { + "description": "性别", + "type": "integer" }, - "system_id": { - "description": "公排网中id", + "state": { + "description": "状态", "type": "integer" }, - "uid": { + "tag": { + "description": "标签 id", "type": "integer" + }, + "union_id": { + "type": "string", + "example": "微信号" } } }, - "md.UpdateEggEnergyBasicReq": { + "md.UserManagementGetUserListResp": { "type": "object", "properties": { - "basic_setting": { - "description": "基础设置", - "allOf": [ - { - "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting" - } - ] - }, - "data_setting": { - "description": "数据设置", - "allOf": [ - { - "$ref": "#/definitions/md.DataSetting" - } - ] - }, - "destruction_setting": { - "description": "销毁设置", - "allOf": [ - { - "$ref": "#/definitions/md.DestructionSettingStruct" - } - ] - }, - "exchange_rules": { - "description": "兑换规则", - "allOf": [ - { - "$ref": "#/definitions/md.ExchangeRulesStruct" - } - ] - }, - "new_user_incentive_rules": { - "description": "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则", - "allOf": [ - { - "$ref": "#/definitions/md.NewUserRewardRules" - } - ] + "levels_list": { + "description": "等级列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } }, - "price_setting": { - "description": "价格设置", - "allOf": [ - { - "$ref": "#/definitions/md.PriceSettingStruct" - } - ] + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.UserManagementGetUserListNode" + } }, - "reward_system": { - "description": "圈层奖励", + "paginate": { + "description": "分页信息", "allOf": [ { - "$ref": "#/definitions/md.RewardSystemStruct" + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } ] }, - "system_id": { - "description": "该设置系统 ID", - "type": "integer" - }, - "video_reward_setting": { - "description": "视频奖励", - "allOf": [ - { - "$ref": "#/definitions/md.VideoRewardSetting" - } - ] + "tags_list": { + "description": "标签列表", + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } } } }, - "md.UpdatePublicPlatoonBasicReq": { + "md.UserManagementGetVirtualCoinDetailResp": { "type": "object", "properties": { - "is_open": { - "description": "是否开启(1:开启 0:关闭)", - "type": "integer" - }, - "is_self_active_get_team_revenue": { - "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)", - "type": "integer" - }, - "originator_uid": { - "description": "创始人uid", - "type": "integer" - }, - "several_rows": { - "description": "几排", - "type": "integer" - }, - "several_times": { - "description": "几乘", - "type": "integer" + "coin_list": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } }, - "system_punish_replace": { - "description": "是否位置滑落 被新用户替换 0否 1是", - "type": "integer" + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/md.VirtualCoinDetailNode" + } }, - "system_punish_replace_value": { - "description": "xx天未活跃,处罚滑落", - "type": "integer" + "paginate": { + "$ref": "#/definitions/applet_app_md_institutional_management_member_center.Paginate" } } }, - "md.UserDailyActivityAnalysisReq": { + "md.UserManagementUpdateUserInfoReq": { "type": "object", "properties": { - "end_date": { - "type": "string", - "example": "结束日期" + "avatar": { + "description": "头像", + "type": "string" }, - "page": { - "description": "页数", - "type": "integer" + "last_login_ip": { + "description": "用户最后登录 IP", + "type": "string" }, - "page_size": { - "description": "每页大小", - "type": "integer" + "level": { + "description": "会员等级 ID", + "type": "string" }, - "start_date": { + "memo": { "type": "string", - "example": "开始日期" + "example": "备注" + }, + "nickname": { + "description": "用户名", + "type": "string" + }, + "parent_uid": { + "description": "邀请人 ID", + "type": "string" + }, + "phone": { + "description": "手机号", + "type": "string" + }, + "sex": { + "description": "性别(0:未知 1:男 2:女)", + "type": "string" + }, + "state": { + "description": "账号状态 1正常,2冻结", + "type": "string" + }, + "tag": { + "description": "用户标签 ID", + "type": "string" }, "uid": { - "description": "查询用户 ID", "type": "integer" - } - } - }, - "md.UserDailyActivityAnalysisResp": { - "type": "object", - "properties": { - "son_user_data": { - "description": "被查询用户子节点信息", - "type": "array", - "items": { - "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode" - } }, - "top_data": { - "description": "统计信息", - "allOf": [ - { - "$ref": "#/definitions/md.DailyActivityAnalysisTopData" - } - ] + "union_id": { + "description": "微信号", + "type": "string" } } }, @@ -3830,6 +5060,31 @@ } } }, + "md.VirtualCoinDetailNode": { + "type": "object", + "properties": { + "after_amount": { + "description": "变更后积分余额", + "type": "string" + }, + "amount": { + "description": "变更数量", + "type": "string" + }, + "create_at": { + "description": "创建时间", + "type": "string" + }, + "direction": { + "description": "类型 1.收入 2.支出", + "type": "integer" + }, + "uid": { + "description": "用户 ID", + "type": "integer" + } + } + }, "md.VirtualCoinListNode": { "type": "object", "properties": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 80b4245..79a5d2e 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -33,6 +33,18 @@ definitions: description: 总数据量 type: integer type: object + applet_app_md_institutional_management_member_center.Paginate: + properties: + limit: + description: 每页大小 + type: integer + page: + description: 页数 + type: integer + total: + description: 总数据量 + type: integer + type: object applet_app_md_institutional_management_new_user_red_package.Paginate: properties: limit: @@ -154,6 +166,69 @@ definitions: description: 金额 type: string type: object + md.BalanceDetailNode: + properties: + after_amount: + description: 变更后余额 + type: string + amount: + description: 变更数量 + type: string + before_amount: + description: 变更前余额 + type: string + create_at: + description: 创建时间 + type: string + id: + description: 记录ID + type: integer + kind: + description: 类型 1:管理员操作增加余额 2:管理员操作扣除余额 3:蛋蛋能量兑换余额 4:余额兑换蛋蛋能量 + type: string + type: object + md.BasicInfoNode: + properties: + avatar: + description: 头像 + type: string + level_name: + description: 会员等级名称 + type: string + memo: + description: 备注 + type: string + nickname: + description: 用户名称 + type: string + parent_name: + description: 推荐人名称 + type: string + parent_phone: + description: 推荐人手机号 + type: string + parent_uid: + description: 推荐人 + type: integer + password: + description: 登录密码 + type: string + phone: + description: 手机号 + type: string + sex: + description: 性别 + type: integer + state: + description: 账号状态 1正常,2冻结 + type: integer + tag_name: + description: 标签名称 + type: string + union_id: + description: 微信号 + type: string + type: object md.DailyActivityAnalysisTopData: properties: activity_count: @@ -198,6 +273,12 @@ definitions: example: 团队区域 type: string type: object + md.DeleteTagReq: + properties: + tag_id: + description: 标签 ID + type: string + type: object md.DestructionSettingStruct: properties: community_dividends: @@ -369,6 +450,30 @@ definitions: description: 位置2,具体值取返回数据中的 system_id type: integer type: object + md.FansNode: + properties: + amount: + description: 可提现余额 + type: string + id: + description: 用户ID + type: integer + level_total: + description: 所属代数 + type: integer + nickname: + example: 用户昵称 + type: string + phone: + example: 手机号 + type: string + register_at: + description: 注册时间 + type: string + total_income: + description: 累计收益 + type: string + type: object md.FindSubUserRelationshipMapResp: properties: basic_setting: @@ -778,6 +883,15 @@ definitions: description: 持有该类型用户数 type: integer type: object + md.GetLevelListResp: + properties: + list: + items: + $ref: '#/definitions/md.LevelListNode' + type: array + paginate: + $ref: '#/definitions/applet_app_md_institutional_management_member_center.Paginate' + type: object md.GetPriceCurveResp: properties: x_data: @@ -811,6 +925,39 @@ definitions: description: xx天未活跃,处罚滑落 type: integer type: object + md.GetTagListResp: + properties: + list: + items: + $ref: '#/definitions/md.TagListNode' + type: array + paginate: + $ref: '#/definitions/applet_app_md_institutional_management_member_center.Paginate' + type: object + md.LevelListNode: + properties: + count: + description: 等级人数 + type: string + create_at: + description: 创建时间 + type: string + is_use: + description: 是否开启(0.否, 1.是) + type: integer + level_id: + description: 等级 ID + type: integer + level_name: + description: 等级名称 + type: string + level_weight: + description: 等级权重 + type: integer + memo: + description: 备注 + type: string + type: object md.ListCommunityDividendsReq: properties: end_at: @@ -1086,6 +1233,18 @@ definitions: description: 奖励系数 type: number type: object + md.OtherNode: + properties: + create_at: + description: 注册时间 + type: string + last_login_at: + description: 最近登录时间 + type: string + last_login_ip: + description: 最后登录 IP + type: string + type: object md.PlatformRevenueDataNode: properties: balance_amount: @@ -1226,6 +1385,24 @@ definitions: uid: type: integer type: object + md.TagListNode: + properties: + count: + description: 标签人数 + type: string + create_at: + description: 创建时间 + type: string + memo: + description: 备注 + type: string + name: + description: 名称 + type: string + tag_id: + description: 标签 ID + type: string + type: object md.TeamRewardSettingStruct: properties: member_self_is_open_get_team_reward: @@ -1306,6 +1483,23 @@ definitions: - $ref: '#/definitions/md.VideoRewardSetting' description: 视频奖励 type: object + md.UpdateLevelReq: + properties: + is_use: + description: 是否开启(0.否, 1.是) + type: integer + level_id: + type: string + level_name: + description: 等级名称 + type: string + level_weight: + description: 等级权重 + type: integer + memo: + description: 备注 + type: string + type: object md.UpdatePublicPlatoonBasicReq: properties: is_open: @@ -1330,6 +1524,18 @@ definitions: description: xx天未活跃,处罚滑落 type: integer type: object + md.UpdateTagReq: + properties: + memo: + description: 备注 + type: string + name: + description: 标签名称 + type: string + tag_id: + description: 标签 ID + type: string + type: object md.UserDailyActivityAnalysisReq: properties: end_date: @@ -1360,121 +1566,391 @@ definitions: - $ref: '#/definitions/md.DailyActivityAnalysisTopData' description: 统计信息 type: object - md.UserVirtualCoinFlow: + md.UserManagementGetBalanceDetailResp: properties: - after_amount: - example: 变更后数量 + list: + items: + $ref: '#/definitions/md.BalanceDetailNode' + type: array + paginate: + $ref: '#/definitions/applet_app_md_institutional_management_member_center.Paginate' + type: object + md.UserManagementGetFansResp: + properties: + list: + description: 用户数据 + items: + $ref: '#/definitions/md.FansNode' + type: array + paginate: + allOf: + - $ref: '#/definitions/applet_app_md_institutional_management_member_center.Paginate' + description: 分页信息 + type: object + md.UserManagementGetOneBasicResp: + properties: + basic_info: + allOf: + - $ref: '#/definitions/md.BasicInfoNode' + description: 基本信息 + levels_list: + description: 等级列表 + items: + additionalProperties: true + type: object + type: array + other_info: + allOf: + - $ref: '#/definitions/md.OtherNode' + description: 其他信息 + tags_list: + description: 标签列表 + items: + additionalProperties: true + type: object + type: array + type: object + md.UserManagementGetUserListNode: + properties: + avatar: type: string - amount: - example: 变更数量 + create_at: type: string - before_amount: - example: 变更前数量 + custom_invite_code: type: string - coin_id: - description: 虚拟币 ID + id: type: integer - create_at: - example: 创建时间 + invite_code: + example: 会员邀请码 type: string - direction: - description: 方向:1收入 2支出 + invite_total: type: integer - id: + is_real_name: type: integer - sys_fee: - example: 手续费 - type: string - title: - example: 标题 + last_login_ip: type: string - transfer_type: - description: 转账类型 - type: integer - uid: - description: 用户 ID + level: type: integer - update_at: - example: 更新时间 + level_name: + description: 会员等级 type: string - type: object - md.VideoRewardSetting: - properties: - video_reward_is_open: - description: 视频奖励是否开启(1:开启 0:关闭) + memo: + type: string + nickname: + type: string + open_id: + type: string + parent_id: + description: 推荐人 ID type: integer - video_reward_system: - allOf: - - $ref: '#/definitions/md.VideoRewardSystemStruct' - description: 视频奖励机制 - type: object - md.VideoRewardSystemStruct: - properties: - each_round_hour: - description: 每一轮X个小时 + parent_invite_code: + example: 推荐人邀请码 type: string - interval_minutes: - description: 间隔X秒 + parent_phone: + example: 推荐人手机号 type: string - reward_total_num: - description: 一共X个奖励视屏 + parent_uid: + type: integer + passcode: type: string - reward_value: - description: 奖励X个活跃积分 + password: type: string - type: object - md.VirtualCoin: - properties: - create_at: + phone: type: string - exchange_ratio: - description: 兑换比例(与金额) - example: 兑换比例(与金额) + register_time: + description: 注册时间 type: string - id: + register_type: type: integer - is_use: - description: '是否开启: 0否 1是' + sex: type: integer - name: - description: 名称 + state: + type: integer + system_invite_code: + type: string + tag_name: + description: 会员标签 + type: string + union_id: type: string update_at: type: string type: object - md.VirtualCoinListNode: + md.UserManagementGetUserListReq: properties: - coin_id: - description: 货币类型 ID + effective: + description: 有效会员 type: integer - kind: - description: 货币序号 + id: + description: 会员 ID type: integer - name: - example: 货币类型名称 + invite_code: + example: 会员邀请码 type: string - type: object -host: localhost:4001 -info: - contact: - email: 1239118001@qq.com - name: dengbiao - url: http://www.swagger.io/support - description: 管理后台接口文档 - license: - name: Apache 2.0 - url: http://www.apache.org/licenses/LICENSE-2.0.html - termsOfService: http://swagger.io/terms/ - title: 蛋蛋星球-管理后台 - version: "1.0" -paths: - /api/comm/getOssUrl: - get: - consumes: - - application/json - description: 上传许可链接(获取) - parameters: - - description: 验证参数Bearer和token空格拼接 + is_real_name: + description: 是否实名 0.未实名,1.已实名 + type: integer + level: + description: 会员等级 + type: integer + limit: + type: integer + login_after: + description: 最近登录结束时间 + type: string + login_before: + description: 最近登录开始时间 + type: string + memo: + description: 备注 + type: string + nickname: + example: 会员昵称 + type: string + page: + type: integer + parent_invite_code: + example: 上级邀请码 + type: string + parent_phone: + example: 上级手机号 + type: string + phone: + example: 会员手机号 + type: string + recommend_id: + description: 推荐人 ID + type: integer + register_after: + description: 注册时间终点 + type: string + register_before: + description: 注册时间起点 + type: string + register_type: + description: 注册类型(0.未知, 1.免验证码手机号注册,2.微信授权) + type: integer + sex: + description: 性别 + type: integer + state: + description: 状态 + type: integer + tag: + description: 标签 id + type: integer + union_id: + example: 微信号 + type: string + type: object + md.UserManagementGetUserListResp: + properties: + levels_list: + description: 等级列表 + items: + additionalProperties: true + type: object + type: array + list: + items: + $ref: '#/definitions/md.UserManagementGetUserListNode' + type: array + paginate: + allOf: + - $ref: '#/definitions/applet_app_md_institutional_management_member_center.Paginate' + description: 分页信息 + tags_list: + description: 标签列表 + items: + additionalProperties: true + type: object + type: array + type: object + md.UserManagementGetVirtualCoinDetailResp: + properties: + coin_list: + items: + additionalProperties: true + type: object + type: array + list: + items: + $ref: '#/definitions/md.VirtualCoinDetailNode' + type: array + paginate: + $ref: '#/definitions/applet_app_md_institutional_management_member_center.Paginate' + type: object + md.UserManagementUpdateUserInfoReq: + properties: + avatar: + description: 头像 + type: string + last_login_ip: + description: 用户最后登录 IP + type: string + level: + description: 会员等级 ID + type: string + memo: + example: 备注 + type: string + nickname: + description: 用户名 + type: string + parent_uid: + description: 邀请人 ID + type: string + phone: + description: 手机号 + type: string + sex: + description: 性别(0:未知 1:男 2:女) + type: string + state: + description: 账号状态 1正常,2冻结 + type: string + tag: + description: 用户标签 ID + type: string + uid: + type: integer + union_id: + description: 微信号 + type: string + type: object + md.UserVirtualCoinFlow: + properties: + after_amount: + example: 变更后数量 + type: string + amount: + example: 变更数量 + type: string + before_amount: + example: 变更前数量 + type: string + coin_id: + description: 虚拟币 ID + type: integer + create_at: + example: 创建时间 + type: string + direction: + description: 方向:1收入 2支出 + type: integer + id: + type: integer + sys_fee: + example: 手续费 + type: string + title: + example: 标题 + type: string + transfer_type: + description: 转账类型 + type: integer + uid: + description: 用户 ID + type: integer + update_at: + example: 更新时间 + type: string + type: object + md.VideoRewardSetting: + properties: + video_reward_is_open: + description: 视频奖励是否开启(1:开启 0:关闭) + type: integer + video_reward_system: + allOf: + - $ref: '#/definitions/md.VideoRewardSystemStruct' + description: 视频奖励机制 + type: object + md.VideoRewardSystemStruct: + properties: + each_round_hour: + description: 每一轮X个小时 + type: string + interval_minutes: + description: 间隔X秒 + type: string + reward_total_num: + description: 一共X个奖励视屏 + type: string + reward_value: + description: 奖励X个活跃积分 + type: string + type: object + md.VirtualCoin: + properties: + create_at: + type: string + exchange_ratio: + description: 兑换比例(与金额) + example: 兑换比例(与金额) + type: string + id: + type: integer + is_use: + description: '是否开启: 0否 1是' + type: integer + name: + description: 名称 + type: string + update_at: + type: string + type: object + md.VirtualCoinDetailNode: + properties: + after_amount: + description: 变更后积分余额 + type: string + amount: + description: 变更数量 + type: string + create_at: + description: 创建时间 + type: string + direction: + description: 类型 1.收入 2.支出 + type: integer + uid: + description: 用户 ID + type: integer + type: object + md.VirtualCoinListNode: + properties: + coin_id: + description: 货币类型 ID + type: integer + kind: + description: 货币序号 + type: integer + name: + example: 货币类型名称 + type: string + type: object +host: localhost:4001 +info: + contact: + email: 1239118001@qq.com + name: dengbiao + url: http://www.swagger.io/support + description: 管理后台接口文档 + license: + name: Apache 2.0 + url: http://www.apache.org/licenses/LICENSE-2.0.html + termsOfService: http://swagger.io/terms/ + title: 蛋蛋星球-管理后台 + version: "1.0" +paths: + /api/comm/getOssUrl: + get: + consumes: + - application/json + description: 上传许可链接(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true @@ -2594,6 +3070,391 @@ paths: summary: 制度中心-营销应用-新人红包设置(修改) tags: - 营销应用 + /api/memberCenter/levelManagement/getLevelList: + get: + consumes: + - application/json + description: 标签管理(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 每页大小 + in: query + name: limit + required: true + type: integer + - description: 页数 + in: query + name: page + required: true + type: integer + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.GetLevelListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-等级管理(获取) + tags: + - 会员中心 + /api/memberCenter/levelManagement/updateLevel: + 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.UpdateLevelReq' + produces: + - application/json + responses: + "200": + description: 成功修改数据条数 + schema: + type: int + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-等级管理(更新) + tags: + - 会员中心 + /api/memberCenter/tagManagement/deleteTag: + post: + consumes: + - application/json + description: 标签管理(删除) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 需要删除的标签 ID + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.DeleteTagReq' + produces: + - application/json + responses: + "200": + description: 成功删除标签用户数 + schema: + type: int + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-标签管理(删除) + tags: + - 会员中心 + /api/memberCenter/tagManagement/getTagList: + get: + consumes: + - application/json + description: 标签管理(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 每页大小 + in: query + name: limit + required: true + type: integer + - description: 页数 + in: query + name: page + required: true + type: integer + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.GetTagListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-标签管理(获取) + tags: + - 会员中心 + /api/memberCenter/tagManagement/updateTag: + 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.UpdateTagReq' + produces: + - application/json + responses: + "200": + description: 成功修改数据条数 + schema: + type: int + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-标签管理(更新) + tags: + - 会员中心 + /api/memberCenter/userManagement/balanceDetail: + get: + consumes: + - application/json + description: 会员明细(余额获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 用户 ID + in: query + name: uid + required: true + type: string + - description: 每页大小 + in: query + name: limit + required: true + type: string + - description: 页数 + in: query + name: page + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.UserManagementGetBalanceDetailResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-会员明细(余额获取) + tags: + - 会员中心 + /api/memberCenter/userManagement/getFans: + get: + consumes: + - application/json + description: 会员明细粉丝情况(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 用户 ID + in: query + name: uid + required: true + type: string + - description: 粉丝类型(1.全部 2.直推 3.二代 4.二代以后) + in: query + name: type + required: true + type: string + - description: 每页大小 + in: query + name: limit + required: true + type: string + - description: 页数 + in: query + name: page + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.UserManagementGetFansResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-会员明细粉丝情况(获取) + tags: + - 会员中心 + /api/memberCenter/userManagement/getOneBasicInfo: + get: + consumes: + - application/json + description: 会员明细概况(获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 用户 ID + in: query + name: uid + required: true + type: string + produces: + - application/json + responses: + "200": + description: 会员明细概况具体数据 + schema: + $ref: '#/definitions/md.UserManagementGetOneBasicResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-会员明细概况(获取) + tags: + - 会员中心 + /api/memberCenter/userManagement/getUserList: + 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.UserManagementGetUserListReq' + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.UserManagementGetUserListResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-用户信息管理(获取) + tags: + - 会员中心 + /api/memberCenter/userManagement/getVirtualCoinDetail: + get: + consumes: + - application/json + description: 会员明细(积分明细获取) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 用户 ID + in: query + name: uid + required: true + type: string + - description: 货币 ID + in: query + name: coinId + required: true + type: string + - description: 每页大小 + in: query + name: limit + required: true + type: string + - description: 页数 + in: query + name: page + required: true + type: string + produces: + - application/json + responses: + "200": + description: 具体数据 + schema: + $ref: '#/definitions/md.UserManagementGetVirtualCoinDetailResp' + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-会员明细(积分明细获取) + tags: + - 会员中心 + /api/memberCenter/userManagement/updateUserInfo: + post: + consumes: + - application/json + description: 用户信息管理(更新) + parameters: + - description: 验证参数Bearer和token空格拼接 + in: header + name: Authorization + required: true + type: string + - description: 用户ID 必传 + in: body + name: req + required: true + schema: + $ref: '#/definitions/md.UserManagementUpdateUserInfoReq' + produces: + - application/json + responses: + "200": + description: 修改数据行数 + schema: + type: int + "400": + description: 具体错误 + schema: + $ref: '#/definitions/md.Response' + summary: 制度中心-会员中心-用户信息管理(更新) + tags: + - 会员中心 securityDefinitions: MasterID: in: header diff --git a/go.mod b/go.mod index 5131eb2..9c0eeff 100644 --- a/go.mod +++ b/go.mod @@ -2,9 +2,9 @@ module applet go 1.19 -replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models +//replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models -replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules +//replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules require ( github.com/boombuler/barcode v1.0.1 @@ -34,8 +34,8 @@ require ( ) require ( - code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241118064045-6ecc894c9bf8 - code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.3 + code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241119074351-c49f71268465 + code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241119073336-d4afc68102da code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible github.com/go-sql-driver/mysql v1.8.1 @@ -68,6 +68,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect github.com/golang/snappy v0.0.4 // indirect + github.com/google/go-cmp v0.5.9 // indirect github.com/gookit/color v1.3.8 // indirect github.com/gorilla/context v1.1.1 // indirect github.com/gorilla/securecookie v1.1.1 // indirect @@ -81,10 +82,8 @@ require ( github.com/mattn/go-isatty v0.0.20 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/onsi/ginkgo v1.16.5 // indirect - github.com/onsi/gomega v1.27.8 // indirect + github.com/nxadm/tail v1.4.11 // indirect github.com/pelletier/go-toml/v2 v2.2.1 // indirect - github.com/pkg/errors v0.9.1 // indirect github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect github.com/streadway/amqp v1.0.0 // indirect github.com/syndtr/goleveldb v1.0.0 // indirect