definitions: applet_app_md_institutional_management_egg_energy.BasicSetting: properties: direct_push_reward: description: 直推奖励 example: 直推奖励 type: string 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 type: object applet_app_md_institutional_management_egg_energy.Paginate: properties: limit: description: 每页大小 type: integer page: description: 页数 type: integer total: description: 总数据量 type: integer type: object applet_app_md_institutional_management_public_platoon.BasicSetting: 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 type: object applet_app_md_institutional_management_public_platoon.Paginate: properties: limit: description: 每页大小 type: integer page: description: 页数 type: integer total: description: 总数据量 type: integer type: object md.ActivePointsWalletNode: properties: amount: example: 账户余额 type: string uid: description: 用户 ID type: integer user_name: example: 用户名 type: string user_phone: example: 手机号 type: string type: object md.AddCommunityDividendsReq: properties: amount: description: 社区分红数量 type: string name: example: 社区分红名称 type: string type: object md.AddCommunityDividendsWithUserReq: properties: memo: example: 备注 type: string uid: description: 新增社区长用户 ID type: integer type: object md.AddFreePublishUserReq: properties: uid: type: integer type: object md.AddFundDataReq: properties: hours: description: 时长(小时) type: integer kind: description: 种类(1:公司补贴 2:资方投资 3:市场期望) type: integer memo: example: 备注 type: string times: description: 剩余执行次数 type: integer total_amount: description: 金额 type: string type: object md.DailyActivityAnalysisTopData: properties: activity_count: description: 子节点活跃天数 type: integer team_activity_user_count: description: 子节点活跃人数 type: integer team_user_count: description: 团队人数 type: integer type: object md.DataSetting: properties: total_angel_investor: description: 天使投资人 example: 天使投资人 type: string total_ecological_development: description: 生态建设 example: 当前价格 type: string total_issuance_amount: description: 总发行量 example: 总发行量 type: string total_operate_fund: description: 运营资金 example: 运营资金 type: string total_technology_team: description: 技术团队 example: 技术团队 type: string total_user_for_person: description: TotalTeamDividends string`json:"total_team_dividends" example:"团队分红"` // 团队分红 example: 个人区域 type: string total_user_for_team: description: 团队区域 example: 团队区域 type: string type: object md.DestructionSettingStruct: 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 type: object md.DynamicDataFlowListReq: properties: end_at: description: 结束时间 example: 结束时间 type: string kind: description: 持有类型 type: integer page: description: 页数 type: integer page_size: description: 每页大小 type: integer start_at: description: 开始时间 example: 开始时间 type: string type: object md.DynamicDataFlowListResp: properties: kind_list: items: additionalProperties: true type: object type: array list: items: $ref: '#/definitions/md.EggEnergyAvailableEnergyFlow' type: array paginate: $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate' type: object md.EggEnergyAvailableEnergyFlow: 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 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 kind: type: integer title: type: string type: object md.EggEnergyCommunityDividends: properties: amount: description: 分红数量 type: string coin_id: description: 虚拟币 id type: integer create_at: description: 分红时间 type: string id: type: integer is_over: description: 是否分红完毕 type: integer name: example: 名称 type: string persons_num: description: 分红人数 type: integer update_at: type: string type: object md.EggEnergyCommunityDividendsWithUser: properties: id: type: integer memo: example: 备注 type: string nickname: type: string phone: type: string uid: type: integer type: object md.ExchangeRulesStruct: properties: auto_exchange_nums_by_person: description: 个人数量X个,自动兑换可用蛋蛋能量 type: string 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 type: object md.ExchangeUserPositionReq: properties: position_1: description: 位置1,具体值取返回数据中的 system_id type: integer position_2: description: 位置2,具体值取返回数据中的 system_id type: integer type: object md.FindSubUserRelationshipMapResp: properties: basic_setting: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.BasicSetting' description: 公排设置 search_uid: description: 查找的用户 ID type: string sub_user: allOf: - $ref: '#/definitions/md.SubUser' description: 上级用户信息 type: object md.FreePublishUserNode: properties: nickname: example: 昵称 type: string phone: example: 手机号 type: string uid: type: integer type: object md.FundDataNode: properties: balance_amount: description: 余额 type: string balance_times: description: 剩余执行次数 type: integer create_at: description: 创建时间 type: string hours: description: 时长 type: integer kind: description: 种类(1:公司补贴 2:资方投资 3:市场期望) type: integer memo: description: 备注 type: string system_id: type: integer total_amount: description: 金额 type: string type: object md.FundDataRecordNode: 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 total_amount: description: 金额 type: string type: object md.GetActivePointsUserCoinFlowListReq: properties: coin_id: description: 货币类型 ID type: integer direction: description: 流水方向:1收入 2支出 type: integer end_at: description: 结束时间 type: string page: description: 页数 type: integer page_size: description: 每页大小 type: integer start_at: description: 开始时间 type: string uid: description: 用户 ID type: integer type: object md.GetActivePointsUserCoinFlowListResp: properties: list: description: 流水信息 items: $ref: '#/definitions/md.UserVirtualCoinFlow' type: array paginate: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate' description: 分页信息 select_data: allOf: - $ref: '#/definitions/md.SelectData' description: 流水类型 type: object md.GetActivePointsUserCoinListReq: properties: end_coin: example: 最大金额 type: string kind: description: 虚拟币种类编号 type: integer page: description: 页数 type: integer page_size: description: 单页大小 type: integer start_coin: example: 最小金额 type: string uid: description: 指定查询用户 ID type: integer user_name: example: 用户名称 type: string user_phone: example: 手机号 type: string type: object md.GetActivePointsUserCoinListResp: properties: kind_list: description: 货币类型集合 items: $ref: '#/definitions/md.VirtualCoinListNode' type: array list: description: 余额集合 items: $ref: '#/definitions/md.ActivePointsWalletNode' type: array sum_user_amount: description: 用户持有总数 type: number total: description: 持有该类型用户数 type: integer type: object md.GetEggCoreDataListResp: properties: now_energy_total_nums: description: 现行总量 example: 现行总量 type: string now_price: description: 当前价格 example: 当前价格 type: string planet_total_value: description: 星球价值 example: 星球价值 type: string user_hold_total_nums: additionalProperties: type: string description: 用户持有总量 type: object type: object md.GetEggEnergyBasicResp: properties: basic_setting: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting' description: 基础设置 data_setting: allOf: - $ref: '#/definitions/md.DataSetting' description: 数据设置 destruction_setting: allOf: - $ref: '#/definitions/md.DestructionSettingStruct' description: 销毁设置 exchange_rules: allOf: - $ref: '#/definitions/md.ExchangeRulesStruct' description: 兑换规则 new_user_incentive_rules: allOf: - $ref: '#/definitions/md.NewUserRewardRules' description: 新用户奖励规则 price_setting: allOf: - $ref: '#/definitions/md.PriceSettingStruct' description: 价格设置 reward_system: allOf: - $ref: '#/definitions/md.RewardSystemStruct' description: 圈层奖励 system_id: description: 该设置系统 ID type: integer video_reward_setting: allOf: - $ref: '#/definitions/md.VideoRewardSetting' description: 视频奖励 type: object md.GetFreePublishUserReq: properties: limit: description: 每页大小 type: integer page: description: 当前页数 type: integer uid: description: 筛选的用户 ID type: integer type: object md.GetFreePublishUserResp: properties: list: description: 免罚用户列表 items: $ref: '#/definitions/md.FreePublishUserNode' type: array paginate: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate' description: 分页信息 type: object md.GetFundDataListReq: properties: end_at: example: 结束时间 type: string kind: description: 数据类型 type: integer limit: description: 每页大小 type: integer page: description: 页数 type: integer start_at: example: 开始时间 type: string type: object md.GetFundDataListResp: properties: kind_list: description: 类型列表 items: additionalProperties: true type: object type: array list: description: 数据列表 items: $ref: '#/definitions/md.FundDataNode' type: array paginate: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate' description: 分页数据 type: object md.GetFundDataRecordListReq: properties: limit: description: 页面大小 type: integer page: description: 页数 type: integer system_id: description: 数据在系统中的 ID type: integer type: object md.GetFundDataRecordListResp: properties: list: items: $ref: '#/definitions/md.FundDataRecordNode' type: array paginate: $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate' type: object md.GetGreenEnergyUserCoinFlowListReq: properties: coin_id: description: 货币类型 ID type: integer direction: description: 流水方向:1收入 2支出 type: integer end_at: description: 结束时间 type: string page: description: 页数 type: integer page_size: description: 每页大小 type: integer start_at: description: 开始时间 type: string uid: description: 用户 ID type: integer type: object md.GetGreenEnergyUserCoinFlowListResp: properties: list: description: 流水信息 items: $ref: '#/definitions/md.UserVirtualCoinFlow' type: array paginate: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.Paginate' description: 分页信息 select_data: allOf: - $ref: '#/definitions/md.SelectData' description: 流水类型 type: object md.GetGreenEnergyUserCoinListReq: properties: end_coin: example: 最大金额 type: string kind: description: 虚拟币种类编号 type: integer page: description: 页数 type: integer page_size: description: 单页大小 type: integer start_coin: example: 最小金额 type: string uid: description: 指定查询用户 ID type: integer user_name: example: 用户名称 type: string user_phone: example: 手机号 type: string type: object md.GetGreenEnergyUserCoinListResp: properties: kind_list: description: 货币类型集合 items: $ref: '#/definitions/md.VirtualCoinListNode' type: array list: description: 余额集合 items: $ref: '#/definitions/md.ActivePointsWalletNode' type: array sum_user_amount: description: 用户持有总数 type: number total: description: 持有该类型用户数 type: integer type: object md.GetPublicPlatoonBasicResp: 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 system_punish_replace: description: 是否位置滑落 被新用户替换 0否 1是 type: integer system_punish_replace_value: description: xx天未活跃,处罚滑落 type: integer type: object md.ListCommunityDividendsReq: properties: end_at: description: 结束时间 type: string end_nums: description: 分红总量上限 type: integer limit: description: 每页大小 type: integer page: description: 页数 type: integer start_at: description: 开始时间 type: string start_nums: description: 分红总量下限 type: integer type: object md.ListCommunityDividendsResp: properties: list: items: $ref: '#/definitions/md.EggEnergyCommunityDividends' type: array paginate: $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate' type: object md.ListCommunityDividendsWithUserReq: properties: limit: type: integer page: type: integer phone: type: string uid: type: integer type: object md.ListCommunityDividendsWithUserResp: properties: list: items: $ref: '#/definitions/md.EggEnergyCommunityDividendsWithUser' type: array paginate: $ref: '#/definitions/applet_app_md_institutional_management_public_platoon.Paginate' type: object md.LoginReq: properties: code: example: 验证码 type: string password: example: 登录密码 type: string username: example: 登录账号 type: string required: - password - username type: object md.LoginResponse: properties: token: type: string type: object md.NewUserRewardRules: properties: continue_days: description: 连续x天 type: integer invite_user_reward_value: description: 拉新用户奖励x个活跃积分 type: integer reward_coefficient: description: 奖励系数 type: number type: object md.PriceSettingStruct: properties: marketplace_merchants_fund_exchange_marketplace_merchants_nums_value: description: 市商资金单笔x元自动兑换 type: string marketplace_merchants_nums_exchange_marketplace_merchants_fund_value: description: 市商数量单笔x数量自动兑换 type: string price_below_value: description: 低于x元 type: string price_higher_than_value: description: 高于x元 type: string type: object md.Response: properties: code: example: 响应码 type: string data: description: 内容 msg: example: 具体错误原因 type: string type: object md.RewardSystemStruct: properties: level: description: 圈层 type: integer reward_condition: description: 奖励条件 type: string reward_value: description: 奖励值 type: string type: object md.SelectData: properties: direction: items: additionalProperties: type: string type: object type: array type: object md.SonUserDailyActivityAnalysisNode: properties: activity_day_nums: description: 活跃子节点活跃天数 type: integer nickname: example: 昵称 type: string phone: example: 手机号 type: string uid: description: 查询用户活跃子节点 ID type: integer type: object md.SubUser: properties: avatar_url: example: 头像 type: string level: description: 整个系统中的等级 type: integer nickname: example: 昵称 type: string phone: example: 手机号 type: string pid: type: integer position: description: 以pid1为创始人中网的位置 type: integer uid: type: integer type: object md.TreeNode: properties: avatar_url: example: 头像 type: string level: type: integer nickname: example: 昵称 type: string phone: example: 手机号 type: string pid: type: integer position: type: integer son: items: $ref: '#/definitions/md.TreeNode' type: array system_id: description: 公排网中id type: integer uid: type: integer type: object md.UpdateEggEnergyBasicReq: properties: basic_setting: allOf: - $ref: '#/definitions/applet_app_md_institutional_management_egg_energy.BasicSetting' description: 基础设置 data_setting: allOf: - $ref: '#/definitions/md.DataSetting' description: 数据设置 destruction_setting: allOf: - $ref: '#/definitions/md.DestructionSettingStruct' description: 销毁设置 exchange_rules: allOf: - $ref: '#/definitions/md.ExchangeRulesStruct' description: 兑换规则 new_user_incentive_rules: allOf: - $ref: '#/definitions/md.NewUserRewardRules' description: "新用户奖励规则\t\t\t\t\t\t\t\t\t\t\t // 新用户奖励规则" price_setting: allOf: - $ref: '#/definitions/md.PriceSettingStruct' description: 价格设置 reward_system: allOf: - $ref: '#/definitions/md.RewardSystemStruct' description: 圈层奖励 system_id: description: 该设置系统 ID type: integer video_reward_setting: allOf: - $ref: '#/definitions/md.VideoRewardSetting' description: 视频奖励 type: object md.UpdatePublicPlatoonBasicReq: 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 system_punish_replace: description: 是否位置滑落 被新用户替换 0否 1是 type: integer system_punish_replace_value: description: xx天未活跃,处罚滑落 type: integer type: object md.UserDailyActivityAnalysisReq: properties: end_date: example: 结束日期 type: string page: description: 页数 type: integer page_size: description: 每页大小 type: integer start_date: example: 开始日期 type: string uid: description: 查询用户 ID type: integer type: object md.UserDailyActivityAnalysisResp: properties: son_user_data: description: 被查询用户子节点信息 items: $ref: '#/definitions/md.SonUserDailyActivityAnalysisNode' type: array top_data: allOf: - $ref: '#/definitions/md.DailyActivityAnalysisTopData' description: 统计信息 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.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/demo: post: consumes: - application/json description: Demo样例测试 parameters: - description: 用户名密码 in: body name: req required: true schema: {} produces: - application/json responses: "200": description: token schema: additionalProperties: true type: object "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: Demo测试 tags: - Demo /api/institutionalManagement/eggEnergy/availableEnergy/list: post: consumes: - application/json description: 查询所有币种(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 成功返回 schema: items: $ref: '#/definitions/md.VirtualCoin' type: array "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-查询所有币种(获取) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/getBasic: get: consumes: - application/json description: 基础设置(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.GetEggEnergyBasicResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-基础设置(获取) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/globalData/coreDataList: get: consumes: - application/json description: 数据概览(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.GetEggCoreDataListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-数据概览(获取) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/globalData/fundDataAdd: post: consumes: - application/json description: 价值明细数据(新增) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 数据种类、金额、时长(最长24h)、执行次数必填,备注选填 in: body name: req required: true schema: $ref: '#/definitions/md.AddFundDataReq' produces: - application/json responses: "200": description: 插入数据 id schema: type: int "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-价值明细数据(新增) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/globalData/fundDataList: 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.GetFundDataListReq' produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.GetFundDataListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-新增数据列表(获取) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/globalData/fundDataRecordList: post: consumes: - application/json description: 新增数据列表详情(查询) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 获取到的 system_id 以及分页信息 in: body name: req required: true schema: $ref: '#/definitions/md.GetFundDataRecordListReq' produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.GetFundDataRecordListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-新增数据列表详情(查询) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve: get: consumes: - application/json description: 价格趋势(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 1:按天 2:按小时 3:按周 in: query name: kind type: string produces: - application/json responses: "200": description: 具体数据 schema: additionalProperties: true type: object "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-价格趋势(获取) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/updateBasic: post: consumes: - application/json description: 基础设置(更新) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: system_id 必填 in: body name: req required: true schema: $ref: '#/definitions/md.UpdateEggEnergyBasicReq' produces: - application/json responses: "200": description: 修改数据条数 schema: type: int "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-蛋蛋能量-基础设置(更新) tags: - 蛋蛋能量 /api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList: post: consumes: - application/json description: 活跃积分持有流水(查询) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 至少传入 货币类型 ID 用户 UID 页数 每页大小 in: body name: req required: true schema: $ref: '#/definitions/md.GetActivePointsUserCoinFlowListReq' produces: - application/json responses: "200": description: 成功返回 schema: $ref: '#/definitions/md.GetActivePointsUserCoinFlowListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-活跃积分持有者明细-活跃积分持有流水(查询) tags: - 公排管理 /api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList: post: consumes: - application/json description: 活跃积分持有(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 落地页不填页大小默认20条数据 in: body name: req schema: $ref: '#/definitions/md.GetActivePointsUserCoinListReq' produces: - application/json responses: "200": description: 成功返回 schema: $ref: '#/definitions/md.GetActivePointsUserCoinListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-活跃积分持有者明细-活跃积分持有(获取) tags: - 公排管理 /api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList: post: consumes: - application/json description: 绿色能量持有流水(查询) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 至少传入 货币类型 ID 用户 UID 页数 每页大小 in: body name: req required: true schema: $ref: '#/definitions/md.GetGreenEnergyUserCoinFlowListReq' produces: - application/json responses: "200": description: 成功返回 schema: $ref: '#/definitions/md.GetGreenEnergyUserCoinFlowListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-绿色能量持有者明细-绿色能量持有流水(查询) tags: - 公排管理 /api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList: post: consumes: - application/json description: 绿色能量(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 落地页不填页大小默认20条数据 in: body name: req schema: $ref: '#/definitions/md.GetGreenEnergyUserCoinListReq' produces: - application/json responses: "200": description: 成功返回 schema: $ref: '#/definitions/md.GetGreenEnergyUserCoinListResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-绿色能量持有者明细-绿色能量(获取) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd: 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.AddCommunityDividendsReq' produces: - application/json responses: "200": description: 成功 schema: type: success "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-社区分红(新增) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList: 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.ListCommunityDividendsReq' produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.ListCommunityDividendsResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-社区分红(查询) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd: 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.AddCommunityDividendsWithUserReq' produces: - application/json responses: "200": description: 插入数据 ID schema: type: int "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-社区长列表(新增) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList: 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.ListCommunityDividendsWithUserReq' produces: - application/json responses: "200": description: 社区长列表 schema: $ref: '#/definitions/md.ListCommunityDividendsWithUserResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-社区长列表(查询) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/exchangeUserPosition: 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.ExchangeUserPositionReq' produces: - application/json responses: "200": description: 成功返回 schema: type: "" "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-关系分布图(位置转换) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap: 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.FindSubUserRelationshipMapResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-关系分布图(获取指定用户上级) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/findUserRelationshipMap: 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.TreeNode' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-关系分布图(获取指定用户下级) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/getBasic: get: consumes: - application/json description: 公排基础设置(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.GetPublicPlatoonBasicResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-公排基础设置(获取) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index: post: consumes: - application/json description: 免罚用户(查询) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 页数和行数必填,uid选填 in: body name: req required: true schema: $ref: '#/definitions/md.GetFreePublishUserReq' produces: - application/json responses: "200": description: 成功返回 schema: $ref: '#/definitions/md.GetFreePublishUserResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-免罚用户(查询) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save: post: consumes: - application/json description: 免罚用户(新增) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 页数和行数必填,uid选填 in: body name: req required: true schema: $ref: '#/definitions/md.AddFreePublishUserReq' produces: - application/json responses: "200": description: 插入数据 ID schema: type: int "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-免罚用户(新增) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/relationshipMap: get: consumes: - application/json description: 关系分布图(获取) parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: phone in: query name: phone required: true type: string - description: uid in: query name: uid required: true type: string produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.TreeNode' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-关系分布图(获取) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/updateBasic: put: 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.UpdatePublicPlatoonBasicReq' produces: - application/json responses: "200": description: success schema: type: string "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-公排基础设置(修改) tags: - 公排管理 /api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index: post: consumes: - application/json description: 日活分析 parameters: - description: 验证参数Bearer和token空格拼接 in: header name: Authorization required: true type: string - description: 用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小 in: body name: req required: true schema: $ref: '#/definitions/md.UserDailyActivityAnalysisReq' produces: - application/json responses: "200": description: 具体数据 schema: $ref: '#/definitions/md.UserDailyActivityAnalysisResp' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 制度中心-公排管理-日活分析 tags: - 公排管理 /api/login: post: consumes: - application/json description: 登入 parameters: - description: 用户名密码 in: body name: req required: true schema: $ref: '#/definitions/md.LoginReq' produces: - application/json responses: "200": description: token schema: $ref: '#/definitions/md.LoginResponse' "400": description: 具体错误 schema: $ref: '#/definitions/md.Response' summary: 登陆 tags: - 登录 securityDefinitions: MasterID: in: header name: MasterID type: apiKey swagger: "2.0"