蛋蛋星球-客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

docs.go 70 KiB

3 weeks ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
3 weeks ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
3 weeks ago
2 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
3 weeks ago
2 weeks ago
2 weeks ago
1 month ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
3 weeks ago
1 month ago
1 month ago
3 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
2 weeks ago
1 month ago
1 month ago
3 weeks ago
1 month ago
1 month ago
1 month ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041
  1. // Package docs Code generated by swaggo/swag. DO NOT EDIT
  2. package docs
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "termsOfService": "http://swagger.io/terms/",
  11. "contact": {
  12. "name": "dengbiao",
  13. "url": "http://www.swagger.io/support",
  14. "email": "1239118001@qq.com"
  15. },
  16. "license": {
  17. "name": "Apache 2.0",
  18. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  19. },
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/api/demo": {
  26. "post": {
  27. "description": "Demo样例测试",
  28. "consumes": [
  29. "application/json"
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "Demo"
  36. ],
  37. "summary": "Demo测试",
  38. "parameters": [
  39. {
  40. "description": "用户名密码",
  41. "name": "req",
  42. "in": "body",
  43. "required": true,
  44. "schema": {}
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "token",
  50. "schema": {
  51. "type": "object",
  52. "additionalProperties": true
  53. }
  54. },
  55. "400": {
  56. "description": "具体错误",
  57. "schema": {
  58. "$ref": "#/definitions/md.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/api/institutionalManagement/eggEnergy/availableEnergy/list": {
  65. "post": {
  66. "description": "动态数据流水(获取)",
  67. "consumes": [
  68. "application/json"
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "公排管理"
  75. ],
  76. "summary": "制度中心-动态数据-动态数据流水(获取)",
  77. "parameters": [
  78. {
  79. "type": "string",
  80. "description": "验证参数Bearer和token空格拼接",
  81. "name": "Authorization",
  82. "in": "header",
  83. "required": true
  84. },
  85. {
  86. "description": "页数、每页大小必传 起止时间、持有类型选传",
  87. "name": "req",
  88. "in": "body",
  89. "required": true,
  90. "schema": {
  91. "$ref": "#/definitions/md.DynamicDataFlowListReq"
  92. }
  93. }
  94. ],
  95. "responses": {
  96. "200": {
  97. "description": "成功返回",
  98. "schema": {
  99. "$ref": "#/definitions/md.DynamicDataFlowListResp"
  100. }
  101. },
  102. "400": {
  103. "description": "具体错误",
  104. "schema": {
  105. "$ref": "#/definitions/md.Response"
  106. }
  107. }
  108. }
  109. }
  110. },
  111. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinFlowList": {
  112. "post": {
  113. "description": "活跃积分持有流水(查询)",
  114. "consumes": [
  115. "application/json"
  116. ],
  117. "produces": [
  118. "application/json"
  119. ],
  120. "tags": [
  121. "公排管理"
  122. ],
  123. "summary": "制度中心-活跃积分持有者明细-活跃积分持有流水(查询)",
  124. "parameters": [
  125. {
  126. "type": "string",
  127. "description": "验证参数Bearer和token空格拼接",
  128. "name": "Authorization",
  129. "in": "header",
  130. "required": true
  131. },
  132. {
  133. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  134. "name": "req",
  135. "in": "body",
  136. "required": true,
  137. "schema": {
  138. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListReq"
  139. }
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "成功返回",
  145. "schema": {
  146. "$ref": "#/definitions/md.GetActivePointsUserCoinFlowListResp"
  147. }
  148. },
  149. "400": {
  150. "description": "具体错误",
  151. "schema": {
  152. "$ref": "#/definitions/md.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/api/institutionalManagement/eggEnergy/userCoin/activePointsUserCoinList": {
  159. "post": {
  160. "description": "活跃积分持有(获取)",
  161. "consumes": [
  162. "application/json"
  163. ],
  164. "produces": [
  165. "application/json"
  166. ],
  167. "tags": [
  168. "公排管理"
  169. ],
  170. "summary": "制度中心-活跃积分持有者明细-活跃积分持有(获取)",
  171. "parameters": [
  172. {
  173. "type": "string",
  174. "description": "验证参数Bearer和token空格拼接",
  175. "name": "Authorization",
  176. "in": "header",
  177. "required": true
  178. },
  179. {
  180. "description": "落地页不填页大小默认20条数据",
  181. "name": "req",
  182. "in": "body",
  183. "schema": {
  184. "$ref": "#/definitions/md.GetActivePointsUserCoinListReq"
  185. }
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "成功返回",
  191. "schema": {
  192. "$ref": "#/definitions/md.GetActivePointsUserCoinListResp"
  193. }
  194. },
  195. "400": {
  196. "description": "具体错误",
  197. "schema": {
  198. "$ref": "#/definitions/md.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinFlowList": {
  205. "post": {
  206. "description": "绿色能量持有流水(查询)",
  207. "consumes": [
  208. "application/json"
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "公排管理"
  215. ],
  216. "summary": "制度中心-绿色能量持有者明细-绿色能量持有流水(查询)",
  217. "parameters": [
  218. {
  219. "type": "string",
  220. "description": "验证参数Bearer和token空格拼接",
  221. "name": "Authorization",
  222. "in": "header",
  223. "required": true
  224. },
  225. {
  226. "description": "至少传入 货币类型 ID 用户 UID 页数 每页大小",
  227. "name": "req",
  228. "in": "body",
  229. "required": true,
  230. "schema": {
  231. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListReq"
  232. }
  233. }
  234. ],
  235. "responses": {
  236. "200": {
  237. "description": "成功返回",
  238. "schema": {
  239. "$ref": "#/definitions/md.GetGreenEnergyUserCoinFlowListResp"
  240. }
  241. },
  242. "400": {
  243. "description": "具体错误",
  244. "schema": {
  245. "$ref": "#/definitions/md.Response"
  246. }
  247. }
  248. }
  249. }
  250. },
  251. "/api/institutionalManagement/eggEnergy/userCoin/greenEnergyUserCoinList": {
  252. "post": {
  253. "description": "绿色能量(获取)",
  254. "consumes": [
  255. "application/json"
  256. ],
  257. "produces": [
  258. "application/json"
  259. ],
  260. "tags": [
  261. "公排管理"
  262. ],
  263. "summary": "制度中心-绿色能量持有者明细-绿色能量(获取)",
  264. "parameters": [
  265. {
  266. "type": "string",
  267. "description": "验证参数Bearer和token空格拼接",
  268. "name": "Authorization",
  269. "in": "header",
  270. "required": true
  271. },
  272. {
  273. "description": "落地页不填页大小默认20条数据",
  274. "name": "req",
  275. "in": "body",
  276. "schema": {
  277. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListReq"
  278. }
  279. }
  280. ],
  281. "responses": {
  282. "200": {
  283. "description": "成功返回",
  284. "schema": {
  285. "$ref": "#/definitions/md.GetGreenEnergyUserCoinListResp"
  286. }
  287. },
  288. "400": {
  289. "description": "具体错误",
  290. "schema": {
  291. "$ref": "#/definitions/md.Response"
  292. }
  293. }
  294. }
  295. }
  296. },
  297. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  298. "post": {
  299. "description": "社区分红(新增)",
  300. "consumes": [
  301. "application/json"
  302. ],
  303. "produces": [
  304. "application/json"
  305. ],
  306. "tags": [
  307. "公排管理"
  308. ],
  309. "summary": "制度中心-公排管理-社区分红(新增)",
  310. "parameters": [
  311. {
  312. "type": "string",
  313. "description": "验证参数Bearer和token空格拼接",
  314. "name": "Authorization",
  315. "in": "header",
  316. "required": true
  317. },
  318. {
  319. "description": "分红名称、分红总量",
  320. "name": "req",
  321. "in": "body",
  322. "required": true,
  323. "schema": {
  324. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  325. }
  326. }
  327. ],
  328. "responses": {
  329. "200": {
  330. "description": "插入数据 ID",
  331. "schema": {
  332. "type": "int"
  333. }
  334. },
  335. "400": {
  336. "description": "具体错误",
  337. "schema": {
  338. "$ref": "#/definitions/md.Response"
  339. }
  340. }
  341. }
  342. }
  343. },
  344. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsList": {
  345. "post": {
  346. "description": "社区分红(查询)",
  347. "consumes": [
  348. "application/json"
  349. ],
  350. "produces": [
  351. "application/json"
  352. ],
  353. "tags": [
  354. "公排管理"
  355. ],
  356. "summary": "制度中心-公排管理-社区分红(查询)",
  357. "parameters": [
  358. {
  359. "type": "string",
  360. "description": "验证参数Bearer和token空格拼接",
  361. "name": "Authorization",
  362. "in": "header",
  363. "required": true
  364. },
  365. {
  366. "description": "页数、每页大小必填 起止时间、起止数量选填",
  367. "name": "req",
  368. "in": "body",
  369. "required": true,
  370. "schema": {
  371. "$ref": "#/definitions/md.ListCommunityDividendsReq"
  372. }
  373. }
  374. ],
  375. "responses": {
  376. "200": {
  377. "description": "具体数据",
  378. "schema": {
  379. "$ref": "#/definitions/md.ListCommunityDividendsResp"
  380. }
  381. },
  382. "400": {
  383. "description": "具体错误",
  384. "schema": {
  385. "$ref": "#/definitions/md.Response"
  386. }
  387. }
  388. }
  389. }
  390. },
  391. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  392. "post": {
  393. "description": "社区长列表(新增)",
  394. "consumes": [
  395. "application/json"
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "公排管理"
  402. ],
  403. "summary": "制度中心-公排管理-社区长列表(新增)",
  404. "parameters": [
  405. {
  406. "type": "string",
  407. "description": "验证参数Bearer和token空格拼接",
  408. "name": "Authorization",
  409. "in": "header",
  410. "required": true
  411. },
  412. {
  413. "description": "新增社区长 ID、备注",
  414. "name": "req",
  415. "in": "body",
  416. "required": true,
  417. "schema": {
  418. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  419. }
  420. }
  421. ],
  422. "responses": {
  423. "200": {
  424. "description": "插入数据 ID",
  425. "schema": {
  426. "type": "int"
  427. }
  428. },
  429. "400": {
  430. "description": "具体错误",
  431. "schema": {
  432. "$ref": "#/definitions/md.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserList": {
  439. "post": {
  440. "description": "社区长列表(查询)",
  441. "consumes": [
  442. "application/json"
  443. ],
  444. "produces": [
  445. "application/json"
  446. ],
  447. "tags": [
  448. "公排管理"
  449. ],
  450. "summary": "制度中心-公排管理-社区长列表(查询)",
  451. "parameters": [
  452. {
  453. "type": "string",
  454. "description": "验证参数Bearer和token空格拼接",
  455. "name": "Authorization",
  456. "in": "header",
  457. "required": true
  458. },
  459. {
  460. "description": "页数、每页大小必填 手机号、用户ID选填",
  461. "name": "req",
  462. "in": "body",
  463. "required": true,
  464. "schema": {
  465. "$ref": "#/definitions/md.ListCommunityDividendsWithUserReq"
  466. }
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "社区长列表",
  472. "schema": {
  473. "$ref": "#/definitions/md.ListCommunityDividendsWithUserResp"
  474. }
  475. },
  476. "400": {
  477. "description": "具体错误",
  478. "schema": {
  479. "$ref": "#/definitions/md.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  486. "post": {
  487. "description": "关系分布图(位置转换)",
  488. "consumes": [
  489. "application/json"
  490. ],
  491. "produces": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "公排管理"
  496. ],
  497. "summary": "制度中心-公排管理-关系分布图(位置转换)",
  498. "parameters": [
  499. {
  500. "type": "string",
  501. "description": "验证参数Bearer和token空格拼接",
  502. "name": "Authorization",
  503. "in": "header",
  504. "required": true
  505. },
  506. {
  507. "description": "需要交换的两个位置",
  508. "name": "req",
  509. "in": "body",
  510. "required": true,
  511. "schema": {
  512. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  513. }
  514. }
  515. ],
  516. "responses": {
  517. "200": {
  518. "description": "成功返回",
  519. "schema": {
  520. "type": ""
  521. }
  522. },
  523. "400": {
  524. "description": "具体错误",
  525. "schema": {
  526. "$ref": "#/definitions/md.Response"
  527. }
  528. }
  529. }
  530. }
  531. },
  532. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  533. "get": {
  534. "description": "关系分布图(获取指定用户上级)",
  535. "consumes": [
  536. "application/json"
  537. ],
  538. "produces": [
  539. "application/json"
  540. ],
  541. "tags": [
  542. "公排管理"
  543. ],
  544. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  545. "parameters": [
  546. {
  547. "type": "string",
  548. "description": "验证参数Bearer和token空格拼接",
  549. "name": "Authorization",
  550. "in": "header",
  551. "required": true
  552. },
  553. {
  554. "type": "string",
  555. "description": "用户ID",
  556. "name": "uid",
  557. "in": "query",
  558. "required": true
  559. }
  560. ],
  561. "responses": {
  562. "200": {
  563. "description": "具体数据",
  564. "schema": {
  565. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  566. }
  567. },
  568. "400": {
  569. "description": "具体错误",
  570. "schema": {
  571. "$ref": "#/definitions/md.Response"
  572. }
  573. }
  574. }
  575. }
  576. },
  577. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  578. "get": {
  579. "description": "关系分布图(获取指定用户下级)",
  580. "consumes": [
  581. "application/json"
  582. ],
  583. "produces": [
  584. "application/json"
  585. ],
  586. "tags": [
  587. "公排管理"
  588. ],
  589. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  590. "parameters": [
  591. {
  592. "type": "string",
  593. "description": "验证参数Bearer和token空格拼接",
  594. "name": "Authorization",
  595. "in": "header",
  596. "required": true
  597. },
  598. {
  599. "type": "string",
  600. "description": "用户ID",
  601. "name": "uid",
  602. "in": "query",
  603. "required": true
  604. }
  605. ],
  606. "responses": {
  607. "200": {
  608. "description": "具体数据",
  609. "schema": {
  610. "$ref": "#/definitions/md.TreeNode"
  611. }
  612. },
  613. "400": {
  614. "description": "具体错误",
  615. "schema": {
  616. "$ref": "#/definitions/md.Response"
  617. }
  618. }
  619. }
  620. }
  621. },
  622. "/api/institutionalManagement/publicPlatoon/getBasic": {
  623. "get": {
  624. "description": "公排基础设置(获取)",
  625. "consumes": [
  626. "application/json"
  627. ],
  628. "produces": [
  629. "application/json"
  630. ],
  631. "tags": [
  632. "公排管理"
  633. ],
  634. "summary": "制度中心-公排管理-公排基础设置(获取)",
  635. "parameters": [
  636. {
  637. "type": "string",
  638. "description": "验证参数Bearer和token空格拼接",
  639. "name": "Authorization",
  640. "in": "header",
  641. "required": true
  642. }
  643. ],
  644. "responses": {
  645. "200": {
  646. "description": "具体数据",
  647. "schema": {
  648. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  649. }
  650. },
  651. "400": {
  652. "description": "具体错误",
  653. "schema": {
  654. "$ref": "#/definitions/md.Response"
  655. }
  656. }
  657. }
  658. }
  659. },
  660. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  661. "post": {
  662. "description": "免罚用户(查询)",
  663. "consumes": [
  664. "application/json"
  665. ],
  666. "produces": [
  667. "application/json"
  668. ],
  669. "tags": [
  670. "公排管理"
  671. ],
  672. "summary": "制度中心-公排管理-免罚用户(查询)",
  673. "parameters": [
  674. {
  675. "type": "string",
  676. "description": "验证参数Bearer和token空格拼接",
  677. "name": "Authorization",
  678. "in": "header",
  679. "required": true
  680. },
  681. {
  682. "description": "页数和行数必填,uid选填",
  683. "name": "req",
  684. "in": "body",
  685. "required": true,
  686. "schema": {
  687. "$ref": "#/definitions/md.GetFreePublishUserReq"
  688. }
  689. }
  690. ],
  691. "responses": {
  692. "200": {
  693. "description": "成功返回",
  694. "schema": {
  695. "$ref": "#/definitions/md.GetFreePublishUserResp"
  696. }
  697. },
  698. "400": {
  699. "description": "具体错误",
  700. "schema": {
  701. "$ref": "#/definitions/md.Response"
  702. }
  703. }
  704. }
  705. }
  706. },
  707. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  708. "post": {
  709. "description": "免罚用户(新增)",
  710. "consumes": [
  711. "application/json"
  712. ],
  713. "produces": [
  714. "application/json"
  715. ],
  716. "tags": [
  717. "公排管理"
  718. ],
  719. "summary": "制度中心-公排管理-免罚用户(新增)",
  720. "parameters": [
  721. {
  722. "type": "string",
  723. "description": "验证参数Bearer和token空格拼接",
  724. "name": "Authorization",
  725. "in": "header",
  726. "required": true
  727. },
  728. {
  729. "description": "页数和行数必填,uid选填",
  730. "name": "req",
  731. "in": "body",
  732. "required": true,
  733. "schema": {
  734. "$ref": "#/definitions/md.AddFreePublishUserReq"
  735. }
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "插入数据 ID",
  741. "schema": {
  742. "type": "int"
  743. }
  744. },
  745. "400": {
  746. "description": "具体错误",
  747. "schema": {
  748. "$ref": "#/definitions/md.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  755. "get": {
  756. "description": "关系分布图(获取)",
  757. "consumes": [
  758. "application/json"
  759. ],
  760. "produces": [
  761. "application/json"
  762. ],
  763. "tags": [
  764. "公排管理"
  765. ],
  766. "summary": "制度中心-公排管理-关系分布图(获取)",
  767. "parameters": [
  768. {
  769. "type": "string",
  770. "description": "验证参数Bearer和token空格拼接",
  771. "name": "Authorization",
  772. "in": "header",
  773. "required": true
  774. },
  775. {
  776. "type": "string",
  777. "description": "phone",
  778. "name": "phone",
  779. "in": "query",
  780. "required": true
  781. },
  782. {
  783. "type": "string",
  784. "description": "uid",
  785. "name": "uid",
  786. "in": "query",
  787. "required": true
  788. }
  789. ],
  790. "responses": {
  791. "200": {
  792. "description": "具体数据",
  793. "schema": {
  794. "$ref": "#/definitions/md.TreeNode"
  795. }
  796. },
  797. "400": {
  798. "description": "具体错误",
  799. "schema": {
  800. "$ref": "#/definitions/md.Response"
  801. }
  802. }
  803. }
  804. }
  805. },
  806. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  807. "put": {
  808. "description": "公排基础设置(修改)",
  809. "consumes": [
  810. "application/json"
  811. ],
  812. "produces": [
  813. "application/json"
  814. ],
  815. "tags": [
  816. "公排管理"
  817. ],
  818. "summary": "制度中心-公排管理-公排基础设置(修改)",
  819. "parameters": [
  820. {
  821. "type": "string",
  822. "description": "验证参数Bearer和token空格拼接",
  823. "name": "Authorization",
  824. "in": "header",
  825. "required": true
  826. },
  827. {
  828. "description": "公排设置表单内容",
  829. "name": "req",
  830. "in": "body",
  831. "required": true,
  832. "schema": {
  833. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  834. }
  835. }
  836. ],
  837. "responses": {
  838. "200": {
  839. "description": "success",
  840. "schema": {
  841. "type": "string"
  842. }
  843. },
  844. "400": {
  845. "description": "具体错误",
  846. "schema": {
  847. "$ref": "#/definitions/md.Response"
  848. }
  849. }
  850. }
  851. }
  852. },
  853. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis/index": {
  854. "post": {
  855. "description": "日活分析",
  856. "consumes": [
  857. "application/json"
  858. ],
  859. "produces": [
  860. "application/json"
  861. ],
  862. "tags": [
  863. "公排管理"
  864. ],
  865. "summary": "制度中心-公排管理-日活分析",
  866. "parameters": [
  867. {
  868. "type": "string",
  869. "description": "验证参数Bearer和token空格拼接",
  870. "name": "Authorization",
  871. "in": "header",
  872. "required": true
  873. },
  874. {
  875. "description": "用户 ID、查询开始时间、结束时间(查询时间不超过30天)、页数、每页大小",
  876. "name": "req",
  877. "in": "body",
  878. "required": true,
  879. "schema": {
  880. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  881. }
  882. }
  883. ],
  884. "responses": {
  885. "200": {
  886. "description": "具体数据",
  887. "schema": {
  888. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  889. }
  890. },
  891. "400": {
  892. "description": "具体错误",
  893. "schema": {
  894. "$ref": "#/definitions/md.Response"
  895. }
  896. }
  897. }
  898. }
  899. },
  900. "/api/login": {
  901. "post": {
  902. "description": "登入",
  903. "consumes": [
  904. "application/json"
  905. ],
  906. "produces": [
  907. "application/json"
  908. ],
  909. "tags": [
  910. "登录"
  911. ],
  912. "summary": "登陆",
  913. "parameters": [
  914. {
  915. "description": "用户名密码",
  916. "name": "req",
  917. "in": "body",
  918. "required": true,
  919. "schema": {
  920. "$ref": "#/definitions/md.LoginReq"
  921. }
  922. }
  923. ],
  924. "responses": {
  925. "200": {
  926. "description": "token",
  927. "schema": {
  928. "$ref": "#/definitions/md.LoginResponse"
  929. }
  930. },
  931. "400": {
  932. "description": "具体错误",
  933. "schema": {
  934. "$ref": "#/definitions/md.Response"
  935. }
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "definitions": {
  942. "applet_app_md_institutional_management_egg_energy.Paginate": {
  943. "type": "object",
  944. "properties": {
  945. "limit": {
  946. "description": "每页大小",
  947. "type": "integer"
  948. },
  949. "page": {
  950. "description": "页数",
  951. "type": "integer"
  952. },
  953. "total": {
  954. "description": "总数据量",
  955. "type": "integer"
  956. }
  957. }
  958. },
  959. "applet_app_md_institutional_management_public_platoon.Paginate": {
  960. "type": "object",
  961. "properties": {
  962. "limit": {
  963. "description": "每页大小",
  964. "type": "integer"
  965. },
  966. "page": {
  967. "description": "页数",
  968. "type": "integer"
  969. },
  970. "total": {
  971. "description": "总数据量",
  972. "type": "integer"
  973. }
  974. }
  975. },
  976. "md.ActivePointsWalletNode": {
  977. "type": "object",
  978. "properties": {
  979. "amount": {
  980. "type": "string",
  981. "example": "账户余额"
  982. },
  983. "uid": {
  984. "description": "用户 ID",
  985. "type": "integer"
  986. },
  987. "user_name": {
  988. "type": "string",
  989. "example": "用户名"
  990. },
  991. "user_phone": {
  992. "type": "string",
  993. "example": "手机号"
  994. }
  995. }
  996. },
  997. "md.AddCommunityDividendsReq": {
  998. "type": "object",
  999. "properties": {
  1000. "name": {
  1001. "type": "string",
  1002. "example": "社区分红名称"
  1003. },
  1004. "nums": {
  1005. "description": "社区分红数量",
  1006. "type": "integer"
  1007. }
  1008. }
  1009. },
  1010. "md.AddCommunityDividendsWithUserReq": {
  1011. "type": "object",
  1012. "properties": {
  1013. "memo": {
  1014. "type": "string",
  1015. "example": "备注"
  1016. },
  1017. "uid": {
  1018. "description": "新增社区长用户 ID",
  1019. "type": "integer"
  1020. }
  1021. }
  1022. },
  1023. "md.AddFreePublishUserReq": {
  1024. "type": "object",
  1025. "properties": {
  1026. "uid": {
  1027. "type": "integer"
  1028. }
  1029. }
  1030. },
  1031. "md.BasicSetting": {
  1032. "type": "object",
  1033. "properties": {
  1034. "id": {
  1035. "type": "integer"
  1036. },
  1037. "is_open": {
  1038. "description": "是否开启(1:开启 0:关闭)",
  1039. "type": "integer"
  1040. },
  1041. "is_self_active_get_team_revenue": {
  1042. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1043. "type": "integer"
  1044. },
  1045. "originator_uid": {
  1046. "description": "创始人uid",
  1047. "type": "integer"
  1048. },
  1049. "several_rows": {
  1050. "description": "几排",
  1051. "type": "integer"
  1052. },
  1053. "several_times": {
  1054. "description": "几乘",
  1055. "type": "integer"
  1056. },
  1057. "system_punish_replace": {
  1058. "description": "是否位置滑落 被新用户替换 0否 1是",
  1059. "type": "integer"
  1060. },
  1061. "system_punish_replace_value": {
  1062. "description": "xx天未活跃,处罚滑落",
  1063. "type": "integer"
  1064. }
  1065. }
  1066. },
  1067. "md.DailyActivityAnalysisTopData": {
  1068. "type": "object",
  1069. "properties": {
  1070. "activity_count": {
  1071. "description": "子节点活跃天数",
  1072. "type": "integer"
  1073. },
  1074. "team_activity_user_count": {
  1075. "description": "子节点活跃人数",
  1076. "type": "integer"
  1077. },
  1078. "team_user_count": {
  1079. "description": "团队人数",
  1080. "type": "integer"
  1081. }
  1082. }
  1083. },
  1084. "md.DynamicDataFlowListReq": {
  1085. "type": "object",
  1086. "properties": {
  1087. "end_at": {
  1088. "description": "结束时间",
  1089. "type": "string",
  1090. "example": "结束时间"
  1091. },
  1092. "kind": {
  1093. "description": "持有类型",
  1094. "type": "integer"
  1095. },
  1096. "page": {
  1097. "description": "页数",
  1098. "type": "integer"
  1099. },
  1100. "page_size": {
  1101. "description": "每页大小",
  1102. "type": "integer"
  1103. },
  1104. "start_at": {
  1105. "description": "开始时间",
  1106. "type": "string",
  1107. "example": "开始时间"
  1108. }
  1109. }
  1110. },
  1111. "md.DynamicDataFlowListResp": {
  1112. "type": "object",
  1113. "properties": {
  1114. "kind_list": {
  1115. "type": "array",
  1116. "items": {
  1117. "type": "object",
  1118. "additionalProperties": true
  1119. }
  1120. },
  1121. "list": {
  1122. "type": "array",
  1123. "items": {
  1124. "$ref": "#/definitions/md.EggEnergyAvailableEnergyFlow"
  1125. }
  1126. },
  1127. "paginate": {
  1128. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1129. }
  1130. }
  1131. },
  1132. "md.EggEnergyAvailableEnergyFlow": {
  1133. "type": "object",
  1134. "properties": {
  1135. "after_community_dividends": {
  1136. "type": "string"
  1137. },
  1138. "after_destruction_quantity_values": {
  1139. "type": "string"
  1140. },
  1141. "after_development_committee_values": {
  1142. "type": "string"
  1143. },
  1144. "after_marketplace_merchant_fund_values": {
  1145. "type": "string"
  1146. },
  1147. "after_marketplace_merchant_values": {
  1148. "type": "string"
  1149. },
  1150. "after_now_energy_total_nums": {
  1151. "type": "string"
  1152. },
  1153. "after_planet_total_value": {
  1154. "type": "string"
  1155. },
  1156. "after_price": {
  1157. "type": "string"
  1158. },
  1159. "after_public_welfare_and_charity_values": {
  1160. "type": "string"
  1161. },
  1162. "after_star_level_dividends_values": {
  1163. "type": "string"
  1164. },
  1165. "amount": {
  1166. "type": "string"
  1167. },
  1168. "before_community_dividends": {
  1169. "type": "string"
  1170. },
  1171. "before_destruction_quantity_values": {
  1172. "type": "string"
  1173. },
  1174. "before_development_committee_values": {
  1175. "type": "string"
  1176. },
  1177. "before_marketplace_merchant_fund_values": {
  1178. "type": "string"
  1179. },
  1180. "before_marketplace_merchant_values": {
  1181. "type": "string"
  1182. },
  1183. "before_now_energy_total_nums": {
  1184. "type": "string"
  1185. },
  1186. "before_planet_total_value": {
  1187. "type": "string"
  1188. },
  1189. "before_price": {
  1190. "type": "string"
  1191. },
  1192. "before_public_welfare_and_charity_values": {
  1193. "type": "string"
  1194. },
  1195. "before_star_level_dividends_values": {
  1196. "type": "string"
  1197. },
  1198. "create_time": {
  1199. "type": "string"
  1200. },
  1201. "id": {
  1202. "type": "integer"
  1203. },
  1204. "kind": {
  1205. "type": "integer"
  1206. },
  1207. "title": {
  1208. "type": "string"
  1209. }
  1210. }
  1211. },
  1212. "md.EggEnergyCommunityDividends": {
  1213. "type": "object",
  1214. "properties": {
  1215. "coin_id": {
  1216. "description": "虚拟币 id",
  1217. "type": "integer"
  1218. },
  1219. "create_at": {
  1220. "description": "分红时间",
  1221. "type": "string"
  1222. },
  1223. "id": {
  1224. "type": "integer"
  1225. },
  1226. "is_over": {
  1227. "description": "是否分红完毕",
  1228. "type": "integer"
  1229. },
  1230. "name": {
  1231. "type": "string",
  1232. "example": "名称"
  1233. },
  1234. "nums": {
  1235. "description": "分红数量",
  1236. "type": "integer"
  1237. },
  1238. "persons_num": {
  1239. "description": "分红人数",
  1240. "type": "integer"
  1241. },
  1242. "update_at": {
  1243. "type": "string"
  1244. }
  1245. }
  1246. },
  1247. "md.EggEnergyCommunityDividendsWithUser": {
  1248. "type": "object",
  1249. "properties": {
  1250. "id": {
  1251. "type": "integer"
  1252. },
  1253. "memo": {
  1254. "type": "string",
  1255. "example": "备注"
  1256. },
  1257. "nickname": {
  1258. "type": "string"
  1259. },
  1260. "phone": {
  1261. "type": "string"
  1262. },
  1263. "uid": {
  1264. "type": "integer"
  1265. }
  1266. }
  1267. },
  1268. "md.ExchangeUserPositionReq": {
  1269. "type": "object",
  1270. "properties": {
  1271. "position_1": {
  1272. "description": "位置1,具体值取返回数据中的 system_id",
  1273. "type": "integer"
  1274. },
  1275. "position_2": {
  1276. "description": "位置2,具体值取返回数据中的 system_id",
  1277. "type": "integer"
  1278. }
  1279. }
  1280. },
  1281. "md.FindSubUserRelationshipMapResp": {
  1282. "type": "object",
  1283. "properties": {
  1284. "basic_setting": {
  1285. "description": "公排设置",
  1286. "allOf": [
  1287. {
  1288. "$ref": "#/definitions/md.BasicSetting"
  1289. }
  1290. ]
  1291. },
  1292. "search_uid": {
  1293. "description": "查找的用户 ID",
  1294. "type": "string"
  1295. },
  1296. "sub_user": {
  1297. "description": "上级用户信息",
  1298. "allOf": [
  1299. {
  1300. "$ref": "#/definitions/md.SubUser"
  1301. }
  1302. ]
  1303. }
  1304. }
  1305. },
  1306. "md.FreePublishUserNode": {
  1307. "type": "object",
  1308. "properties": {
  1309. "nickname": {
  1310. "type": "string",
  1311. "example": "昵称"
  1312. },
  1313. "phone": {
  1314. "type": "string",
  1315. "example": "手机号"
  1316. },
  1317. "uid": {
  1318. "type": "integer"
  1319. }
  1320. }
  1321. },
  1322. "md.GetActivePointsUserCoinFlowListReq": {
  1323. "type": "object",
  1324. "properties": {
  1325. "coin_id": {
  1326. "description": "货币类型 ID",
  1327. "type": "integer"
  1328. },
  1329. "direction": {
  1330. "description": "流水方向:1收入 2支出",
  1331. "type": "integer"
  1332. },
  1333. "end_at": {
  1334. "description": "结束时间",
  1335. "type": "string"
  1336. },
  1337. "page": {
  1338. "description": "页数",
  1339. "type": "integer"
  1340. },
  1341. "page_size": {
  1342. "description": "每页大小",
  1343. "type": "integer"
  1344. },
  1345. "start_at": {
  1346. "description": "开始时间",
  1347. "type": "string"
  1348. },
  1349. "uid": {
  1350. "description": "用户 ID",
  1351. "type": "integer"
  1352. }
  1353. }
  1354. },
  1355. "md.GetActivePointsUserCoinFlowListResp": {
  1356. "type": "object",
  1357. "properties": {
  1358. "list": {
  1359. "description": "流水信息",
  1360. "type": "array",
  1361. "items": {
  1362. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1363. }
  1364. },
  1365. "paginate": {
  1366. "description": "分页信息",
  1367. "allOf": [
  1368. {
  1369. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1370. }
  1371. ]
  1372. },
  1373. "select_data": {
  1374. "description": "流水类型",
  1375. "allOf": [
  1376. {
  1377. "$ref": "#/definitions/md.SelectData"
  1378. }
  1379. ]
  1380. }
  1381. }
  1382. },
  1383. "md.GetActivePointsUserCoinListReq": {
  1384. "type": "object",
  1385. "properties": {
  1386. "end_coin": {
  1387. "type": "string",
  1388. "example": "最大金额"
  1389. },
  1390. "kind": {
  1391. "description": "虚拟币种类编号",
  1392. "type": "integer"
  1393. },
  1394. "page": {
  1395. "description": "页数",
  1396. "type": "integer"
  1397. },
  1398. "page_size": {
  1399. "description": "单页大小",
  1400. "type": "integer"
  1401. },
  1402. "start_coin": {
  1403. "type": "string",
  1404. "example": "最小金额"
  1405. },
  1406. "uid": {
  1407. "description": "指定查询用户 ID",
  1408. "type": "integer"
  1409. },
  1410. "user_name": {
  1411. "type": "string",
  1412. "example": "用户名称"
  1413. },
  1414. "user_phone": {
  1415. "type": "string",
  1416. "example": "手机号"
  1417. }
  1418. }
  1419. },
  1420. "md.GetActivePointsUserCoinListResp": {
  1421. "type": "object",
  1422. "properties": {
  1423. "kind_list": {
  1424. "description": "货币类型集合",
  1425. "type": "array",
  1426. "items": {
  1427. "$ref": "#/definitions/md.VirtualCoinListNode"
  1428. }
  1429. },
  1430. "list": {
  1431. "description": "余额集合",
  1432. "type": "array",
  1433. "items": {
  1434. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1435. }
  1436. },
  1437. "sum_user_amount": {
  1438. "description": "用户持有总数",
  1439. "type": "number"
  1440. },
  1441. "total": {
  1442. "description": "持有该类型用户数",
  1443. "type": "integer"
  1444. }
  1445. }
  1446. },
  1447. "md.GetFreePublishUserReq": {
  1448. "type": "object",
  1449. "properties": {
  1450. "limit": {
  1451. "description": "每页大小",
  1452. "type": "integer"
  1453. },
  1454. "page": {
  1455. "description": "当前页数",
  1456. "type": "integer"
  1457. },
  1458. "uid": {
  1459. "description": "筛选的用户 ID",
  1460. "type": "integer"
  1461. }
  1462. }
  1463. },
  1464. "md.GetFreePublishUserResp": {
  1465. "type": "object",
  1466. "properties": {
  1467. "list": {
  1468. "description": "免罚用户列表",
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/md.FreePublishUserNode"
  1472. }
  1473. },
  1474. "paginate": {
  1475. "description": "分页信息",
  1476. "allOf": [
  1477. {
  1478. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1479. }
  1480. ]
  1481. }
  1482. }
  1483. },
  1484. "md.GetGreenEnergyUserCoinFlowListReq": {
  1485. "type": "object",
  1486. "properties": {
  1487. "coin_id": {
  1488. "description": "货币类型 ID",
  1489. "type": "integer"
  1490. },
  1491. "direction": {
  1492. "description": "流水方向:1收入 2支出",
  1493. "type": "integer"
  1494. },
  1495. "end_at": {
  1496. "description": "结束时间",
  1497. "type": "string"
  1498. },
  1499. "page": {
  1500. "description": "页数",
  1501. "type": "integer"
  1502. },
  1503. "page_size": {
  1504. "description": "每页大小",
  1505. "type": "integer"
  1506. },
  1507. "start_at": {
  1508. "description": "开始时间",
  1509. "type": "string"
  1510. },
  1511. "uid": {
  1512. "description": "用户 ID",
  1513. "type": "integer"
  1514. }
  1515. }
  1516. },
  1517. "md.GetGreenEnergyUserCoinFlowListResp": {
  1518. "type": "object",
  1519. "properties": {
  1520. "list": {
  1521. "description": "流水信息",
  1522. "type": "array",
  1523. "items": {
  1524. "$ref": "#/definitions/md.UserVirtualCoinFlow"
  1525. }
  1526. },
  1527. "paginate": {
  1528. "description": "分页信息",
  1529. "allOf": [
  1530. {
  1531. "$ref": "#/definitions/applet_app_md_institutional_management_egg_energy.Paginate"
  1532. }
  1533. ]
  1534. },
  1535. "select_data": {
  1536. "description": "流水类型",
  1537. "allOf": [
  1538. {
  1539. "$ref": "#/definitions/md.SelectData"
  1540. }
  1541. ]
  1542. }
  1543. }
  1544. },
  1545. "md.GetGreenEnergyUserCoinListReq": {
  1546. "type": "object",
  1547. "properties": {
  1548. "end_coin": {
  1549. "type": "string",
  1550. "example": "最大金额"
  1551. },
  1552. "kind": {
  1553. "description": "虚拟币种类编号",
  1554. "type": "integer"
  1555. },
  1556. "page": {
  1557. "description": "页数",
  1558. "type": "integer"
  1559. },
  1560. "page_size": {
  1561. "description": "单页大小",
  1562. "type": "integer"
  1563. },
  1564. "start_coin": {
  1565. "type": "string",
  1566. "example": "最小金额"
  1567. },
  1568. "uid": {
  1569. "description": "指定查询用户 ID",
  1570. "type": "integer"
  1571. },
  1572. "user_name": {
  1573. "type": "string",
  1574. "example": "用户名称"
  1575. },
  1576. "user_phone": {
  1577. "type": "string",
  1578. "example": "手机号"
  1579. }
  1580. }
  1581. },
  1582. "md.GetGreenEnergyUserCoinListResp": {
  1583. "type": "object",
  1584. "properties": {
  1585. "kind_list": {
  1586. "description": "货币类型集合",
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/md.VirtualCoinListNode"
  1590. }
  1591. },
  1592. "list": {
  1593. "description": "余额集合",
  1594. "type": "array",
  1595. "items": {
  1596. "$ref": "#/definitions/md.ActivePointsWalletNode"
  1597. }
  1598. },
  1599. "sum_user_amount": {
  1600. "description": "用户持有总数",
  1601. "type": "number"
  1602. },
  1603. "total": {
  1604. "description": "持有该类型用户数",
  1605. "type": "integer"
  1606. }
  1607. }
  1608. },
  1609. "md.GetPublicPlatoonBasicResp": {
  1610. "type": "object",
  1611. "properties": {
  1612. "is_open": {
  1613. "description": "是否开启(1:开启 0:关闭)",
  1614. "type": "integer"
  1615. },
  1616. "is_self_active_get_team_revenue": {
  1617. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1618. "type": "integer"
  1619. },
  1620. "originator_uid": {
  1621. "description": "创始人uid",
  1622. "type": "integer"
  1623. },
  1624. "several_rows": {
  1625. "description": "几排",
  1626. "type": "integer"
  1627. },
  1628. "several_times": {
  1629. "description": "几乘",
  1630. "type": "integer"
  1631. },
  1632. "system_punish_replace": {
  1633. "description": "是否位置滑落 被新用户替换 0否 1是",
  1634. "type": "integer"
  1635. },
  1636. "system_punish_replace_value": {
  1637. "description": "xx天未活跃,处罚滑落",
  1638. "type": "integer"
  1639. }
  1640. }
  1641. },
  1642. "md.ListCommunityDividendsReq": {
  1643. "type": "object",
  1644. "properties": {
  1645. "end_at": {
  1646. "description": "结束时间",
  1647. "type": "string"
  1648. },
  1649. "end_nums": {
  1650. "description": "分红总量上限",
  1651. "type": "integer"
  1652. },
  1653. "limit": {
  1654. "description": "每页大小",
  1655. "type": "integer"
  1656. },
  1657. "page": {
  1658. "description": "页数",
  1659. "type": "integer"
  1660. },
  1661. "start_at": {
  1662. "description": "开始时间",
  1663. "type": "string"
  1664. },
  1665. "start_nums": {
  1666. "description": "分红总量下限",
  1667. "type": "integer"
  1668. }
  1669. }
  1670. },
  1671. "md.ListCommunityDividendsResp": {
  1672. "type": "object",
  1673. "properties": {
  1674. "list": {
  1675. "type": "array",
  1676. "items": {
  1677. "$ref": "#/definitions/md.EggEnergyCommunityDividends"
  1678. }
  1679. },
  1680. "paginate": {
  1681. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1682. }
  1683. }
  1684. },
  1685. "md.ListCommunityDividendsWithUserReq": {
  1686. "type": "object",
  1687. "properties": {
  1688. "limit": {
  1689. "type": "integer"
  1690. },
  1691. "page": {
  1692. "type": "integer"
  1693. },
  1694. "phone": {
  1695. "type": "string"
  1696. },
  1697. "uid": {
  1698. "type": "integer"
  1699. }
  1700. }
  1701. },
  1702. "md.ListCommunityDividendsWithUserResp": {
  1703. "type": "object",
  1704. "properties": {
  1705. "list": {
  1706. "type": "array",
  1707. "items": {
  1708. "$ref": "#/definitions/md.EggEnergyCommunityDividendsWithUser"
  1709. }
  1710. },
  1711. "paginate": {
  1712. "$ref": "#/definitions/applet_app_md_institutional_management_public_platoon.Paginate"
  1713. }
  1714. }
  1715. },
  1716. "md.LoginReq": {
  1717. "type": "object",
  1718. "required": [
  1719. "password",
  1720. "username"
  1721. ],
  1722. "properties": {
  1723. "code": {
  1724. "type": "string",
  1725. "example": "验证码"
  1726. },
  1727. "password": {
  1728. "type": "string",
  1729. "example": "登录密码"
  1730. },
  1731. "username": {
  1732. "type": "string",
  1733. "example": "登录账号"
  1734. }
  1735. }
  1736. },
  1737. "md.LoginResponse": {
  1738. "type": "object",
  1739. "properties": {
  1740. "token": {
  1741. "type": "string"
  1742. }
  1743. }
  1744. },
  1745. "md.Response": {
  1746. "type": "object",
  1747. "properties": {
  1748. "code": {
  1749. "type": "string",
  1750. "example": "响应码"
  1751. },
  1752. "data": {
  1753. "description": "内容"
  1754. },
  1755. "msg": {
  1756. "type": "string",
  1757. "example": "具体错误原因"
  1758. }
  1759. }
  1760. },
  1761. "md.SelectData": {
  1762. "type": "object",
  1763. "properties": {
  1764. "direction": {
  1765. "type": "array",
  1766. "items": {
  1767. "type": "object",
  1768. "additionalProperties": {
  1769. "type": "string"
  1770. }
  1771. }
  1772. }
  1773. }
  1774. },
  1775. "md.SonUserDailyActivityAnalysisNode": {
  1776. "type": "object",
  1777. "properties": {
  1778. "activity_day_nums": {
  1779. "description": "活跃子节点活跃天数",
  1780. "type": "integer"
  1781. },
  1782. "nickname": {
  1783. "type": "string",
  1784. "example": "昵称"
  1785. },
  1786. "phone": {
  1787. "type": "string",
  1788. "example": "手机号"
  1789. },
  1790. "uid": {
  1791. "description": "查询用户活跃子节点 ID",
  1792. "type": "integer"
  1793. }
  1794. }
  1795. },
  1796. "md.SubUser": {
  1797. "type": "object",
  1798. "properties": {
  1799. "avatar_url": {
  1800. "type": "string",
  1801. "example": "头像"
  1802. },
  1803. "level": {
  1804. "description": "整个系统中的等级",
  1805. "type": "integer"
  1806. },
  1807. "nickname": {
  1808. "type": "string",
  1809. "example": "昵称"
  1810. },
  1811. "phone": {
  1812. "type": "string",
  1813. "example": "手机号"
  1814. },
  1815. "pid": {
  1816. "type": "integer"
  1817. },
  1818. "position": {
  1819. "description": "以pid1为创始人中网的位置",
  1820. "type": "integer"
  1821. },
  1822. "uid": {
  1823. "type": "integer"
  1824. }
  1825. }
  1826. },
  1827. "md.TreeNode": {
  1828. "type": "object",
  1829. "properties": {
  1830. "avatar_url": {
  1831. "type": "string",
  1832. "example": "头像"
  1833. },
  1834. "level": {
  1835. "type": "integer"
  1836. },
  1837. "nickname": {
  1838. "type": "string",
  1839. "example": "昵称"
  1840. },
  1841. "phone": {
  1842. "type": "string",
  1843. "example": "手机号"
  1844. },
  1845. "pid": {
  1846. "type": "integer"
  1847. },
  1848. "position": {
  1849. "type": "integer"
  1850. },
  1851. "son": {
  1852. "type": "array",
  1853. "items": {
  1854. "$ref": "#/definitions/md.TreeNode"
  1855. }
  1856. },
  1857. "system_id": {
  1858. "description": "公排网中id",
  1859. "type": "integer"
  1860. },
  1861. "uid": {
  1862. "type": "integer"
  1863. }
  1864. }
  1865. },
  1866. "md.UpdatePublicPlatoonBasicReq": {
  1867. "type": "object",
  1868. "properties": {
  1869. "is_open": {
  1870. "description": "是否开启(1:开启 0:关闭)",
  1871. "type": "integer"
  1872. },
  1873. "is_self_active_get_team_revenue": {
  1874. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  1875. "type": "integer"
  1876. },
  1877. "originator_uid": {
  1878. "description": "创始人uid",
  1879. "type": "integer"
  1880. },
  1881. "several_rows": {
  1882. "description": "几排",
  1883. "type": "integer"
  1884. },
  1885. "several_times": {
  1886. "description": "几乘",
  1887. "type": "integer"
  1888. },
  1889. "system_punish_replace": {
  1890. "description": "是否位置滑落 被新用户替换 0否 1是",
  1891. "type": "integer"
  1892. },
  1893. "system_punish_replace_value": {
  1894. "description": "xx天未活跃,处罚滑落",
  1895. "type": "integer"
  1896. }
  1897. }
  1898. },
  1899. "md.UserDailyActivityAnalysisReq": {
  1900. "type": "object",
  1901. "properties": {
  1902. "end_date": {
  1903. "type": "string",
  1904. "example": "结束日期"
  1905. },
  1906. "page": {
  1907. "description": "页数",
  1908. "type": "integer"
  1909. },
  1910. "page_size": {
  1911. "description": "每页大小",
  1912. "type": "integer"
  1913. },
  1914. "start_date": {
  1915. "type": "string",
  1916. "example": "开始日期"
  1917. },
  1918. "uid": {
  1919. "description": "查询用户 ID",
  1920. "type": "integer"
  1921. }
  1922. }
  1923. },
  1924. "md.UserDailyActivityAnalysisResp": {
  1925. "type": "object",
  1926. "properties": {
  1927. "son_user_data": {
  1928. "description": "被查询用户子节点信息",
  1929. "type": "array",
  1930. "items": {
  1931. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1932. }
  1933. },
  1934. "top_data": {
  1935. "description": "统计信息",
  1936. "allOf": [
  1937. {
  1938. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1939. }
  1940. ]
  1941. }
  1942. }
  1943. },
  1944. "md.UserVirtualCoinFlow": {
  1945. "type": "object",
  1946. "properties": {
  1947. "after_amount": {
  1948. "type": "string",
  1949. "example": "变更后数量"
  1950. },
  1951. "amount": {
  1952. "type": "string",
  1953. "example": "变更数量"
  1954. },
  1955. "before_amount": {
  1956. "type": "string",
  1957. "example": "变更前数量"
  1958. },
  1959. "coin_id": {
  1960. "description": "虚拟币 ID",
  1961. "type": "integer"
  1962. },
  1963. "create_at": {
  1964. "type": "string",
  1965. "example": "创建时间"
  1966. },
  1967. "direction": {
  1968. "description": "方向:1收入 2支出",
  1969. "type": "integer"
  1970. },
  1971. "id": {
  1972. "type": "integer"
  1973. },
  1974. "sys_fee": {
  1975. "type": "string",
  1976. "example": "手续费"
  1977. },
  1978. "title": {
  1979. "type": "string",
  1980. "example": "标题"
  1981. },
  1982. "transfer_type": {
  1983. "description": "转账类型",
  1984. "type": "integer"
  1985. },
  1986. "uid": {
  1987. "description": "用户 ID",
  1988. "type": "integer"
  1989. },
  1990. "update_at": {
  1991. "type": "string",
  1992. "example": "更新时间"
  1993. }
  1994. }
  1995. },
  1996. "md.VirtualCoinListNode": {
  1997. "type": "object",
  1998. "properties": {
  1999. "coin_id": {
  2000. "description": "货币类型 ID",
  2001. "type": "integer"
  2002. },
  2003. "kind": {
  2004. "description": "货币序号",
  2005. "type": "integer"
  2006. },
  2007. "name": {
  2008. "type": "string",
  2009. "example": "货币类型名称"
  2010. }
  2011. }
  2012. }
  2013. },
  2014. "securityDefinitions": {
  2015. "MasterID": {
  2016. "type": "apiKey",
  2017. "name": "MasterID",
  2018. "in": "header"
  2019. }
  2020. }
  2021. }`
  2022. // SwaggerInfo holds exported Swagger Info so clients can modify it
  2023. var SwaggerInfo = &swag.Spec{
  2024. Version: "1.0",
  2025. Host: "localhost:4001",
  2026. BasePath: "",
  2027. Schemes: []string{},
  2028. Title: "蛋蛋星球-管理后台",
  2029. Description: "管理后台接口文档",
  2030. InfoInstanceName: "swagger",
  2031. SwaggerTemplate: docTemplate,
  2032. LeftDelim: "{{",
  2033. RightDelim: "}}",
  2034. }
  2035. func init() {
  2036. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  2037. }