|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016 |
- {
- "swagger": "2.0",
- "info": {
- "description": "管理后台接口文档",
- "title": "蛋蛋星球-管理后台",
- "termsOfService": "http://swagger.io/terms/",
- "contact": {
- "name": "dengbiao",
- "url": "http://www.swagger.io/support",
- "email": "1239118001@qq.com"
- },
- "license": {
- "name": "Apache 2.0",
- "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
- },
- "version": "1.0"
- },
- "host": "localhost:4001",
- "paths": {
- "/api/demo": {
- "post": {
- "description": "Demo样例测试",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "Demo"
- ],
- "summary": "Demo测试",
- "parameters": [
- {
- "description": "用户名密码",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {}
- }
- ],
- "responses": {
- "200": {
- "description": "token",
- "schema": {
- "type": "object",
- "additionalProperties": true
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/eggEnergy/availableEnergy/list": {
- "post": {
- "description": "动态数据流水(获取)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-动态数据-动态数据流水(获取)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "页数、每页大小必传 起止时间、持有类型选传",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.DynamicDataFlowListReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "$ref": "#/definitions/md.DynamicDataFlowListResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
- "post": {
- "description": "活跃积分持有流水(查询)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-活跃积分持有者明细-活跃积分持有流水(查询)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
- "post": {
- "description": "活跃积分持有(获取)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "落地页不填页大小默认20条数据",
- "name": "req",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
- "post": {
- "description": "绿色能量持有流水(查询)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
- "post": {
- "description": "绿色能量(获取)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "落地页不填页大小默认20条数据",
- "name": "req",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
- "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.AddCommunityDividendsReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "插入数据 ID",
- "schema": {
- "type": "int"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": {
- "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.ListCommunityDividendsReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "具体数据",
- "schema": {
- "$ref": "#/definitions/md.ListCommunityDividendsResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
- "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.AddCommunityDividendsWithUserReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "插入数据 ID",
- "schema": {
- "type": "int"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
- "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.ListCommunityDividendsWithUserReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "社区长列表",
- "schema": {
- "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
- "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.ExchangeUserPositionReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "type": ""
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
- "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.FindSubUserRelationshipMapResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
- "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.TreeNode"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/getBasic": {
- "get": {
- "description": "公排基础设置(获取)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-公排管理-公排基础设置(获取)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- }
- ],
- "responses": {
- "200": {
- "description": "具体数据",
- "schema": {
- "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
- "post": {
- "description": "免罚用户(查询)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-公排管理-免罚用户(查询)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "页数和行数必填,uid选填",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.GetFreePublishUserReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "成功返回",
- "schema": {
- "$ref": "#/definitions/md.GetFreePublishUserResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
- "post": {
- "description": "免罚用户(新增)",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-公排管理-免罚用户(新增)",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "页数和行数必填,uid选填",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.AddFreePublishUserReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "插入数据 ID",
- "schema": {
- "type": "int"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/relationshipMap": {
- "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": "phone",
- "name": "phone",
- "in": "query",
- "required": true
- },
- {
- "type": "string",
- "description": "uid",
- "name": "uid",
- "in": "query",
- "required": true
- }
- ],
- "responses": {
- "200": {
- "description": "具体数据",
- "schema": {
- "$ref": "#/definitions/md.TreeNode"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/updateBasic": {
- "put": {
- "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.UpdatePublicPlatoonBasicReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "success",
- "schema": {
- "type": "string"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
- "post": {
- "description": "日活分析",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "公排管理"
- ],
- "summary": "制度中心-公排管理-日活分析",
- "parameters": [
- {
- "type": "string",
- "description": "验证参数Bearer和token空格拼接",
- "name": "Authorization",
- "in": "header",
- "required": true
- },
- {
- "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "具体数据",
- "schema": {
- "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- },
- "/api/login": {
- "post": {
- "description": "登入",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "tags": [
- "登录"
- ],
- "summary": "登陆",
- "parameters": [
- {
- "description": "用户名密码",
- "name": "req",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/md.LoginReq"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "token",
- "schema": {
- "$ref": "#/definitions/md.LoginResponse"
- }
- },
- "400": {
- "description": "具体错误",
- "schema": {
- "$ref": "#/definitions/md.Response"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "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_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": {
- "name": {
- "type": "string",
- "example": "社区分红名称"
- },
- "nums": {
- "description": "社区分红数量",
- "type": "integer"
- }
- }
- },
- "md.AddCommunityDividendsWithUserReq": {
- "type": "object",
- "properties": {
- "memo": {
- "type": "string",
- "example": "备注"
- },
- "uid": {
- "description": "新增社区长用户 ID",
- "type": "integer"
- }
- }
- },
- "md.AddFreePublishUserReq": {
- "type": "object",
- "properties": {
- "uid": {
- "type": "integer"
- }
- }
- },
- "md.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"
- }
- }
- },
- "md.DailyActivityAnalysisTopData": {
- "type": "object",
- "properties": {
- "activity_count": {
- "description": "子节点活跃天数",
- "type": "integer"
- },
- "team_activity_user_count": {
- "description": "子节点活跃人数",
- "type": "integer"
- },
- "team_user_count": {
- "description": "团队人数",
- "type": "integer"
- }
- }
- },
- "md.DynamicDataFlowListReq": {
- "type": "object",
- "properties": {
- "end_at": {
- "description": "结束时间",
- "type": "string",
- "example": "结束时间"
- },
- "kind": {
- "description": "持有类型",
- "type": "integer"
- },
- "page": {
- "description": "页数",
- "type": "integer"
- },
- "page_size": {
- "description": "每页大小",
- "type": "integer"
- },
- "start_at": {
- "description": "开始时间",
- "type": "string",
- "example": "开始时间"
- }
- }
- },
- "md.DynamicDataFlowListResp": {
- "type": "object",
- "properties": {
- "kind_list": {
- "type": "array",
- "items": {
- "type": "object",
- "additionalProperties": true
- }
- },
- "list": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
- }
- },
- "paginate": {
- "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
- }
- }
- },
- "md.EggEnergyAvailableEnergyFlow": {
- "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"
- },
- "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"
- }
- }
- },
- "md.EggEnergyCommunityDividends": {
- "type": "object",
- "properties": {
- "coin_id": {
- "description": "虚拟币 id",
- "type": "integer"
- },
- "create_at": {
- "description": "分红时间",
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "is_over": {
- "description": "是否分红完毕",
- "type": "integer"
- },
- "name": {
- "type": "string",
- "example": "名称"
- },
- "nums": {
- "description": "分红数量",
- "type": "integer"
- },
- "persons_num": {
- "description": "分红人数",
- "type": "integer"
- },
- "update_at": {
- "type": "string"
- }
- }
- },
- "md.EggEnergyCommunityDividendsWithUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "memo": {
- "type": "string",
- "example": "备注"
- },
- "nickname": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "uid": {
- "type": "integer"
- }
- }
- },
- "md.ExchangeUserPositionReq": {
- "type": "object",
- "properties": {
- "position_1": {
- "description": "位置1,具体值取返回数据中的 system_id",
- "type": "integer"
- },
- "position_2": {
- "description": "位置2,具体值取返回数据中的 system_id",
- "type": "integer"
- }
- }
- },
- "md.FindSubUserRelationshipMapResp": {
- "type": "object",
- "properties": {
- "basic_setting": {
- "description": "公排设置",
- "allOf": [
- {
- "$ref": "#/definitions/md.BasicSetting"
- }
- ]
- },
- "search_uid": {
- "description": "查找的用户 ID",
- "type": "string"
- },
- "sub_user": {
- "description": "上级用户信息",
- "allOf": [
- {
- "$ref": "#/definitions/md.SubUser"
- }
- ]
- }
- }
- },
- "md.FreePublishUserNode": {
- "type": "object",
- "properties": {
- "nickname": {
- "type": "string",
- "example": "昵称"
- },
- "phone": {
- "type": "string",
- "example": "手机号"
- },
- "uid": {
- "type": "integer"
- }
- }
- },
- "md.GetActivePointsUserCoinFlowListReq": {
- "type": "object",
- "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"
- }
- }
- },
- "md.GetActivePointsUserCoinFlowListResp": {
- "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"
- }
- ]
- },
- "select_data": {
- "description": "流水类型",
- "allOf": [
- {
- "$ref": "#/definitions/md.SelectData"
- }
- ]
- }
- }
- },
- "md.GetActivePointsUserCoinListReq": {
- "type": "object",
- "properties": {
- "end_coin": {
- "type": "string",
- "example": "最大金额"
- },
- "kind": {
- "description": "虚拟币种类编号",
- "type": "integer"
- },
- "page": {
- "description": "页数",
- "type": "integer"
- },
- "page_size": {
- "description": "单页大小",
- "type": "integer"
- },
- "start_coin": {
- "type": "string",
- "example": "最小金额"
- },
- "uid": {
- "description": "指定查询用户 ID",
- "type": "integer"
- },
- "user_name": {
- "type": "string",
- "example": "用户名称"
- },
- "user_phone": {
- "type": "string",
- "example": "手机号"
- }
- }
- },
- "md.GetActivePointsUserCoinListResp": {
- "type": "object",
- "properties": {
- "kind_list": {
- "description": "货币类型集合",
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.VirtualCoinListNode"
- }
- },
- "list": {
- "description": "余额集合",
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.ActivePointsWalletNode"
- }
- },
- "sum_user_amount": {
- "description": "用户持有总数",
- "type": "number"
- },
- "total": {
- "description": "持有该类型用户数",
- "type": "integer"
- }
- }
- },
- "md.GetFreePublishUserReq": {
- "type": "object",
- "properties": {
- "limit": {
- "description": "每页大小",
- "type": "integer"
- },
- "page": {
- "description": "当前页数",
- "type": "integer"
- },
- "uid": {
- "description": "筛选的用户 ID",
- "type": "integer"
- }
- }
- },
- "md.GetFreePublishUserResp": {
- "type": "object",
- "properties": {
- "list": {
- "description": "免罚用户列表",
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.FreePublishUserNode"
- }
- },
- "paginate": {
- "description": "分页信息",
- "allOf": [
- {
- "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
- }
- ]
- }
- }
- },
- "md.GetGreenEnergyUserCoinFlowListReq": {
- "type": "object",
- "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"
- }
- }
- },
- "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"
- }
- ]
- },
- "select_data": {
- "description": "流水类型",
- "allOf": [
- {
- "$ref": "#/definitions/md.SelectData"
- }
- ]
- }
- }
- },
- "md.GetGreenEnergyUserCoinListReq": {
- "type": "object",
- "properties": {
- "end_coin": {
- "type": "string",
- "example": "最大金额"
- },
- "kind": {
- "description": "虚拟币种类编号",
- "type": "integer"
- },
- "page": {
- "description": "页数",
- "type": "integer"
- },
- "page_size": {
- "description": "单页大小",
- "type": "integer"
- },
- "start_coin": {
- "type": "string",
- "example": "最小金额"
- },
- "uid": {
- "description": "指定查询用户 ID",
- "type": "integer"
- },
- "user_name": {
- "type": "string",
- "example": "用户名称"
- },
- "user_phone": {
- "type": "string",
- "example": "手机号"
- }
- }
- },
- "md.GetGreenEnergyUserCoinListResp": {
- "type": "object",
- "properties": {
- "kind_list": {
- "description": "货币类型集合",
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.VirtualCoinListNode"
- }
- },
- "list": {
- "description": "余额集合",
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.ActivePointsWalletNode"
- }
- },
- "sum_user_amount": {
- "description": "用户持有总数",
- "type": "number"
- },
- "total": {
- "description": "持有该类型用户数",
- "type": "integer"
- }
- }
- },
- "md.GetPublicPlatoonBasicResp": {
- "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"
- },
- "system_punish_replace": {
- "description": "是否位置滑落 被新用户替换 0否 1是",
- "type": "integer"
- },
- "system_punish_replace_value": {
- "description": "xx天未活跃,处罚滑落",
- "type": "integer"
- }
- }
- },
- "md.ListCommunityDividendsReq": {
- "type": "object",
- "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"
- }
- }
- },
- "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": {
- "type": "integer"
- },
- "page": {
- "type": "integer"
- },
- "phone": {
- "type": "string"
- },
- "uid": {
- "type": "integer"
- }
- }
- },
- "md.ListCommunityDividendsWithUserResp": {
- "type": "object",
- "properties": {
- "list": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
- }
- },
- "paginate": {
- "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
- }
- }
- },
- "md.LoginReq": {
- "type": "object",
- "required": [
- "password",
- "username"
- ],
- "properties": {
- "code": {
- "type": "string",
- "example": "验证码"
- },
- "password": {
- "type": "string",
- "example": "登录密码"
- },
- "username": {
- "type": "string",
- "example": "登录账号"
- }
- }
- },
- "md.LoginResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- }
- }
- },
- "md.Response": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string",
- "example": "响应码"
- },
- "data": {
- "description": "内容"
- },
- "msg": {
- "type": "string",
- "example": "具体错误原因"
- }
- }
- },
- "md.SelectData": {
- "type": "object",
- "properties": {
- "direction": {
- "type": "array",
- "items": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- }
- },
- "md.SonUserDailyActivityAnalysisNode": {
- "type": "object",
- "properties": {
- "activity_day_nums": {
- "description": "活跃子节点活跃天数",
- "type": "integer"
- },
- "nickname": {
- "type": "string",
- "example": "昵称"
- },
- "phone": {
- "type": "string",
- "example": "手机号"
- },
- "uid": {
- "description": "查询用户活跃子节点 ID",
- "type": "integer"
- }
- }
- },
- "md.SubUser": {
- "type": "object",
- "properties": {
- "avatar_url": {
- "type": "string",
- "example": "头像"
- },
- "level": {
- "description": "整个系统中的等级",
- "type": "integer"
- },
- "nickname": {
- "type": "string",
- "example": "昵称"
- },
- "phone": {
- "type": "string",
- "example": "手机号"
- },
- "pid": {
- "type": "integer"
- },
- "position": {
- "description": "以pid1为创始人中网的位置",
- "type": "integer"
- },
- "uid": {
- "type": "integer"
- }
- }
- },
- "md.TreeNode": {
- "type": "object",
- "properties": {
- "avatar_url": {
- "type": "string",
- "example": "头像"
- },
- "level": {
- "type": "integer"
- },
- "nickname": {
- "type": "string",
- "example": "昵称"
- },
- "phone": {
- "type": "string",
- "example": "手机号"
- },
- "pid": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "son": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/md.TreeNode"
- }
- },
- "system_id": {
- "description": "公排网中id",
- "type": "integer"
- },
- "uid": {
- "type": "integer"
- }
- }
- },
- "md.UpdatePublicPlatoonBasicReq": {
- "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"
- },
- "system_punish_replace": {
- "description": "是否位置滑落 被新用户替换 0否 1是",
- "type": "integer"
- },
- "system_punish_replace_value": {
- "description": "xx天未活跃,处罚滑落",
- "type": "integer"
- }
- }
- },
- "md.UserDailyActivityAnalysisReq": {
- "type": "object",
- "properties": {
- "end_date": {
- "type": "string",
- "example": "结束日期"
- },
- "page": {
- "description": "页数",
- "type": "integer"
- },
- "page_size": {
- "description": "每页大小",
- "type": "integer"
- },
- "start_date": {
- "type": "string",
- "example": "开始日期"
- },
- "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"
- }
- ]
- }
- }
- },
- "md.UserVirtualCoinFlow": {
- "type": "object",
- "properties": {
- "after_amount": {
- "type": "string",
- "example": "变更后数量"
- },
- "amount": {
- "type": "string",
- "example": "变更数量"
- },
- "before_amount": {
- "type": "string",
- "example": "变更前数量"
- },
- "coin_id": {
- "description": "虚拟币 ID",
- "type": "integer"
- },
- "create_at": {
- "type": "string",
- "example": "创建时间"
- },
- "direction": {
- "description": "方向:1收入 2支出",
- "type": "integer"
- },
- "id": {
- "type": "integer"
- },
- "sys_fee": {
- "type": "string",
- "example": "手续费"
- },
- "title": {
- "type": "string",
- "example": "标题"
- },
- "transfer_type": {
- "description": "转账类型",
- "type": "integer"
- },
- "uid": {
- "description": "用户 ID",
- "type": "integer"
- },
- "update_at": {
- "type": "string",
- "example": "更新时间"
- }
- }
- },
- "md.VirtualCoinListNode": {
- "type": "object",
- "properties": {
- "coin_id": {
- "description": "货币类型 ID",
- "type": "integer"
- },
- "kind": {
- "description": "货币序号",
- "type": "integer"
- },
- "name": {
- "type": "string",
- "example": "货币类型名称"
- }
- }
- }
- },
- "securityDefinitions": {
- "MasterID": {
- "type": "apiKey",
- "name": "MasterID",
- "in": "header"
- }
- }
- }
|