蛋蛋星球 后台端
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

swagger.json 36 KiB

1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
3 tygodni temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
3 tygodni temu
2 tygodni temu
1 miesiąc temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
1 miesiąc temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
3 tygodni temu
2 tygodni temu
3 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
2 tygodni temu
1 miesiąc temu
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "管理后台接口文档",
  5. "title": "蛋蛋星球-管理后台",
  6. "termsOfService": "http://swagger.io/terms/",
  7. "contact": {
  8. "name": "dengbiao",
  9. "url": "http://www.swagger.io/support",
  10. "email": "1239118001@qq.com"
  11. },
  12. "license": {
  13. "name": "Apache 2.0",
  14. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  15. },
  16. "version": "1.0"
  17. },
  18. "host": "localhost:4001",
  19. "paths": {
  20. "/api/demo": {
  21. "post": {
  22. "description": "Demo样例测试",
  23. "consumes": [
  24. "application/json"
  25. ],
  26. "produces": [
  27. "application/json"
  28. ],
  29. "tags": [
  30. "Demo"
  31. ],
  32. "summary": "Demo测试",
  33. "parameters": [
  34. {
  35. "description": "用户名密码",
  36. "name": "req",
  37. "in": "body",
  38. "required": true,
  39. "schema": {}
  40. }
  41. ],
  42. "responses": {
  43. "200": {
  44. "description": "token",
  45. "schema": {
  46. "type": "object",
  47. "additionalProperties": true
  48. }
  49. },
  50. "400": {
  51. "description": "具体错误",
  52. "schema": {
  53. "$ref": "#/definitions/md.Response"
  54. }
  55. }
  56. }
  57. }
  58. },
  59. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsAdd": {
  60. "post": {
  61. "description": "社区分红(新增)",
  62. "consumes": [
  63. "application/json"
  64. ],
  65. "produces": [
  66. "application/json"
  67. ],
  68. "tags": [
  69. "公排管理"
  70. ],
  71. "summary": "制度中心-公排管理-社区分红(新增)",
  72. "parameters": [
  73. {
  74. "type": "string",
  75. "description": "验证参数Bearer和token空格拼接",
  76. "name": "Authorization",
  77. "in": "header",
  78. "required": true
  79. },
  80. {
  81. "description": "分红名称、分红总量",
  82. "name": "req",
  83. "in": "body",
  84. "required": true,
  85. "schema": {
  86. "$ref": "#/definitions/md.AddCommunityDividendsReq"
  87. }
  88. }
  89. ],
  90. "responses": {
  91. "200": {
  92. "description": "插入数据 ID",
  93. "schema": {
  94. "type": "int"
  95. }
  96. },
  97. "400": {
  98. "description": "具体错误",
  99. "schema": {
  100. "$ref": "#/definitions/md.Response"
  101. }
  102. }
  103. }
  104. }
  105. },
  106. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  107. "post": {
  108. "description": "社区长列表(新增)",
  109. "consumes": [
  110. "application/json"
  111. ],
  112. "produces": [
  113. "application/json"
  114. ],
  115. "tags": [
  116. "公排管理"
  117. ],
  118. "summary": "制度中心-公排管理-社区长列表(新增)",
  119. "parameters": [
  120. {
  121. "type": "string",
  122. "description": "验证参数Bearer和token空格拼接",
  123. "name": "Authorization",
  124. "in": "header",
  125. "required": true
  126. },
  127. {
  128. "description": "新增社区长 ID、备注",
  129. "name": "req",
  130. "in": "body",
  131. "required": true,
  132. "schema": {
  133. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  134. }
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "插入数据 ID",
  140. "schema": {
  141. "type": "int"
  142. }
  143. },
  144. "400": {
  145. "description": "具体错误",
  146. "schema": {
  147. "$ref": "#/definitions/md.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  154. "post": {
  155. "description": "关系分布图(位置转换)",
  156. "consumes": [
  157. "application/json"
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "公排管理"
  164. ],
  165. "summary": "制度中心-公排管理-关系分布图(位置转换)",
  166. "parameters": [
  167. {
  168. "type": "string",
  169. "description": "验证参数Bearer和token空格拼接",
  170. "name": "Authorization",
  171. "in": "header",
  172. "required": true
  173. },
  174. {
  175. "description": "需要交换的两个位置",
  176. "name": "req",
  177. "in": "body",
  178. "required": true,
  179. "schema": {
  180. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  181. }
  182. }
  183. ],
  184. "responses": {
  185. "200": {
  186. "description": "成功返回",
  187. "schema": {
  188. "type": ""
  189. }
  190. },
  191. "400": {
  192. "description": "具体错误",
  193. "schema": {
  194. "$ref": "#/definitions/md.Response"
  195. }
  196. }
  197. }
  198. }
  199. },
  200. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  201. "get": {
  202. "description": "关系分布图(获取指定用户上级)",
  203. "consumes": [
  204. "application/json"
  205. ],
  206. "produces": [
  207. "application/json"
  208. ],
  209. "tags": [
  210. "公排管理"
  211. ],
  212. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  213. "parameters": [
  214. {
  215. "type": "string",
  216. "description": "验证参数Bearer和token空格拼接",
  217. "name": "Authorization",
  218. "in": "header",
  219. "required": true
  220. },
  221. {
  222. "type": "string",
  223. "description": "用户ID",
  224. "name": "uid",
  225. "in": "query",
  226. "required": true
  227. }
  228. ],
  229. "responses": {
  230. "200": {
  231. "description": "具体数据",
  232. "schema": {
  233. "$ref": "#/definitions/md.FindSubUserRelationshipMapResp"
  234. }
  235. },
  236. "400": {
  237. "description": "具体错误",
  238. "schema": {
  239. "$ref": "#/definitions/md.Response"
  240. }
  241. }
  242. }
  243. }
  244. },
  245. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  246. "get": {
  247. "description": "关系分布图(获取指定用户下级)",
  248. "consumes": [
  249. "application/json"
  250. ],
  251. "produces": [
  252. "application/json"
  253. ],
  254. "tags": [
  255. "公排管理"
  256. ],
  257. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  258. "parameters": [
  259. {
  260. "type": "string",
  261. "description": "验证参数Bearer和token空格拼接",
  262. "name": "Authorization",
  263. "in": "header",
  264. "required": true
  265. },
  266. {
  267. "type": "string",
  268. "description": "用户ID",
  269. "name": "uid",
  270. "in": "query",
  271. "required": true
  272. }
  273. ],
  274. "responses": {
  275. "200": {
  276. "description": "具体数据",
  277. "schema": {
  278. "$ref": "#/definitions/md.TreeNode"
  279. }
  280. },
  281. "400": {
  282. "description": "具体错误",
  283. "schema": {
  284. "$ref": "#/definitions/md.Response"
  285. }
  286. }
  287. }
  288. }
  289. },
  290. "/api/institutionalManagement/publicPlatoon/getBasic": {
  291. "get": {
  292. "description": "公排基础设置(获取)",
  293. "consumes": [
  294. "application/json"
  295. ],
  296. "produces": [
  297. "application/json"
  298. ],
  299. "tags": [
  300. "公排管理"
  301. ],
  302. "summary": "制度中心-公排管理-公排基础设置(获取)",
  303. "parameters": [
  304. {
  305. "type": "string",
  306. "description": "验证参数Bearer和token空格拼接",
  307. "name": "Authorization",
  308. "in": "header",
  309. "required": true
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "具体数据",
  315. "schema": {
  316. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  317. }
  318. },
  319. "400": {
  320. "description": "具体错误",
  321. "schema": {
  322. "$ref": "#/definitions/md.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  329. "post": {
  330. "description": "免罚用户(查询)",
  331. "consumes": [
  332. "application/json"
  333. ],
  334. "produces": [
  335. "application/json"
  336. ],
  337. "tags": [
  338. "公排管理"
  339. ],
  340. "summary": "制度中心-公排管理-免罚用户(查询)",
  341. "parameters": [
  342. {
  343. "type": "string",
  344. "description": "验证参数Bearer和token空格拼接",
  345. "name": "Authorization",
  346. "in": "header",
  347. "required": true
  348. },
  349. {
  350. "description": "页数和行数必填,uid选填",
  351. "name": "req",
  352. "in": "body",
  353. "required": true,
  354. "schema": {
  355. "$ref": "#/definitions/md.GetFreePublishUserReq"
  356. }
  357. }
  358. ],
  359. "responses": {
  360. "200": {
  361. "description": "成功返回",
  362. "schema": {
  363. "$ref": "#/definitions/md.GetFreePublishUserResp"
  364. }
  365. },
  366. "400": {
  367. "description": "具体错误",
  368. "schema": {
  369. "$ref": "#/definitions/md.Response"
  370. }
  371. }
  372. }
  373. }
  374. },
  375. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  376. "post": {
  377. "description": "免罚用户(新增)",
  378. "consumes": [
  379. "application/json"
  380. ],
  381. "produces": [
  382. "application/json"
  383. ],
  384. "tags": [
  385. "公排管理"
  386. ],
  387. "summary": "制度中心-公排管理-免罚用户(新增)",
  388. "parameters": [
  389. {
  390. "type": "string",
  391. "description": "验证参数Bearer和token空格拼接",
  392. "name": "Authorization",
  393. "in": "header",
  394. "required": true
  395. },
  396. {
  397. "description": "页数和行数必填,uid选填",
  398. "name": "req",
  399. "in": "body",
  400. "required": true,
  401. "schema": {
  402. "$ref": "#/definitions/md.AddFreePublishUserReq"
  403. }
  404. }
  405. ],
  406. "responses": {
  407. "200": {
  408. "description": "插入数据 ID",
  409. "schema": {
  410. "type": "int"
  411. }
  412. },
  413. "400": {
  414. "description": "具体错误",
  415. "schema": {
  416. "$ref": "#/definitions/md.Response"
  417. }
  418. }
  419. }
  420. }
  421. },
  422. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  423. "get": {
  424. "description": "关系分布图(获取)",
  425. "consumes": [
  426. "application/json"
  427. ],
  428. "produces": [
  429. "application/json"
  430. ],
  431. "tags": [
  432. "公排管理"
  433. ],
  434. "summary": "制度中心-公排管理-关系分布图(获取)",
  435. "parameters": [
  436. {
  437. "type": "string",
  438. "description": "验证参数Bearer和token空格拼接",
  439. "name": "Authorization",
  440. "in": "header",
  441. "required": true
  442. },
  443. {
  444. "type": "string",
  445. "description": "phone",
  446. "name": "phone",
  447. "in": "query",
  448. "required": true
  449. },
  450. {
  451. "type": "string",
  452. "description": "uid",
  453. "name": "uid",
  454. "in": "query",
  455. "required": true
  456. }
  457. ],
  458. "responses": {
  459. "200": {
  460. "description": "具体数据",
  461. "schema": {
  462. "$ref": "#/definitions/md.TreeNode"
  463. }
  464. },
  465. "400": {
  466. "description": "具体错误",
  467. "schema": {
  468. "$ref": "#/definitions/md.Response"
  469. }
  470. }
  471. }
  472. }
  473. },
  474. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  475. "put": {
  476. "description": "公排基础设置(修改)",
  477. "consumes": [
  478. "application/json"
  479. ],
  480. "produces": [
  481. "application/json"
  482. ],
  483. "tags": [
  484. "公排管理"
  485. ],
  486. "summary": "制度中心-公排管理-公排基础设置(修改)",
  487. "parameters": [
  488. {
  489. "type": "string",
  490. "description": "验证参数Bearer和token空格拼接",
  491. "name": "Authorization",
  492. "in": "header",
  493. "required": true
  494. },
  495. {
  496. "description": "公排设置表单内容",
  497. "name": "req",
  498. "in": "body",
  499. "required": true,
  500. "schema": {
  501. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  502. }
  503. }
  504. ],
  505. "responses": {
  506. "200": {
  507. "description": "success",
  508. "schema": {
  509. "type": "string"
  510. }
  511. },
  512. "400": {
  513. "description": "具体错误",
  514. "schema": {
  515. "$ref": "#/definitions/md.Response"
  516. }
  517. }
  518. }
  519. }
  520. },
  521. "/api/institutionalManagement/publicPlatoon/userDailyActivityAnalysis": {
  522. "post": {
  523. "description": "日活分析",
  524. "consumes": [
  525. "application/json"
  526. ],
  527. "produces": [
  528. "application/json"
  529. ],
  530. "tags": [
  531. "公排管理"
  532. ],
  533. "summary": "制度中心-公排管理-日活分析",
  534. "parameters": [
  535. {
  536. "type": "string",
  537. "description": "验证参数Bearer和token空格拼接",
  538. "name": "Authorization",
  539. "in": "header",
  540. "required": true
  541. },
  542. {
  543. "description": "用户 ID、查询开始时间、结束时间",
  544. "name": "req",
  545. "in": "body",
  546. "required": true,
  547. "schema": {
  548. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  549. }
  550. }
  551. ],
  552. "responses": {
  553. "200": {
  554. "description": "具体数据",
  555. "schema": {
  556. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  557. }
  558. },
  559. "400": {
  560. "description": "具体错误",
  561. "schema": {
  562. "$ref": "#/definitions/md.Response"
  563. }
  564. }
  565. }
  566. }
  567. },
  568. "/api/login": {
  569. "post": {
  570. "description": "登入",
  571. "consumes": [
  572. "application/json"
  573. ],
  574. "produces": [
  575. "application/json"
  576. ],
  577. "tags": [
  578. "登录"
  579. ],
  580. "summary": "登陆",
  581. "parameters": [
  582. {
  583. "description": "用户名密码",
  584. "name": "req",
  585. "in": "body",
  586. "required": true,
  587. "schema": {
  588. "$ref": "#/definitions/md.LoginReq"
  589. }
  590. }
  591. ],
  592. "responses": {
  593. "200": {
  594. "description": "token",
  595. "schema": {
  596. "$ref": "#/definitions/md.LoginResponse"
  597. }
  598. },
  599. "400": {
  600. "description": "具体错误",
  601. "schema": {
  602. "$ref": "#/definitions/md.Response"
  603. }
  604. }
  605. }
  606. }
  607. }
  608. },
  609. "definitions": {
  610. "md.AddCommunityDividendsReq": {
  611. "type": "object",
  612. "properties": {
  613. "name": {
  614. "type": "string",
  615. "example": "社区分红名称"
  616. },
  617. "nums": {
  618. "description": "社区分红数量",
  619. "type": "integer"
  620. }
  621. }
  622. },
  623. "md.AddCommunityDividendsWithUserReq": {
  624. "type": "object",
  625. "properties": {
  626. "memo": {
  627. "type": "string",
  628. "example": "备注"
  629. },
  630. "uid": {
  631. "description": "新增社区长用户 ID",
  632. "type": "integer"
  633. }
  634. }
  635. },
  636. "md.AddFreePublishUserReq": {
  637. "type": "object",
  638. "properties": {
  639. "uid": {
  640. "type": "integer"
  641. }
  642. }
  643. },
  644. "md.BasicSetting": {
  645. "type": "object",
  646. "properties": {
  647. "id": {
  648. "type": "integer"
  649. },
  650. "is_open": {
  651. "description": "是否开启(1:开启 0:关闭)",
  652. "type": "integer"
  653. },
  654. "is_self_active_get_team_revenue": {
  655. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  656. "type": "integer"
  657. },
  658. "originator_uid": {
  659. "description": "创始人uid",
  660. "type": "integer"
  661. },
  662. "several_rows": {
  663. "description": "几排",
  664. "type": "integer"
  665. },
  666. "several_times": {
  667. "description": "几乘",
  668. "type": "integer"
  669. },
  670. "system_punish_replace": {
  671. "description": "是否位置滑落 被新用户替换 0否 1是",
  672. "type": "integer"
  673. },
  674. "system_punish_replace_value": {
  675. "description": "xx天未活跃,处罚滑落",
  676. "type": "integer"
  677. }
  678. }
  679. },
  680. "md.DailyActivityAnalysisTopData": {
  681. "type": "object",
  682. "properties": {
  683. "activity_count": {
  684. "description": "子节点活跃天数",
  685. "type": "integer"
  686. },
  687. "team_activity_user_count": {
  688. "description": "子节点活跃人数",
  689. "type": "integer"
  690. },
  691. "team_user_count": {
  692. "description": "团队人数",
  693. "type": "integer"
  694. }
  695. }
  696. },
  697. "md.ExchangeUserPositionReq": {
  698. "type": "object",
  699. "properties": {
  700. "position_1": {
  701. "description": "位置1,具体值取返回数据中的 system_id",
  702. "type": "integer"
  703. },
  704. "position_2": {
  705. "description": "位置2,具体值取返回数据中的 system_id",
  706. "type": "integer"
  707. }
  708. }
  709. },
  710. "md.FindSubUserRelationshipMapResp": {
  711. "type": "object",
  712. "properties": {
  713. "basic_setting": {
  714. "description": "公排设置",
  715. "allOf": [
  716. {
  717. "$ref": "#/definitions/md.BasicSetting"
  718. }
  719. ]
  720. },
  721. "search_uid": {
  722. "description": "查找的用户 ID",
  723. "type": "string"
  724. },
  725. "sub_user": {
  726. "description": "上级用户信息",
  727. "allOf": [
  728. {
  729. "$ref": "#/definitions/md.SubUser"
  730. }
  731. ]
  732. }
  733. }
  734. },
  735. "md.FreePublishUserNode": {
  736. "type": "object",
  737. "properties": {
  738. "nickname": {
  739. "type": "string",
  740. "example": "昵称"
  741. },
  742. "phone": {
  743. "type": "string",
  744. "example": "手机号"
  745. },
  746. "uid": {
  747. "type": "integer"
  748. }
  749. }
  750. },
  751. "md.GetFreePublishUserReq": {
  752. "type": "object",
  753. "properties": {
  754. "limit": {
  755. "description": "每页大小",
  756. "type": "integer"
  757. },
  758. "page": {
  759. "description": "当前页数",
  760. "type": "integer"
  761. },
  762. "uid": {
  763. "description": "筛选的用户 ID",
  764. "type": "integer"
  765. }
  766. }
  767. },
  768. "md.GetFreePublishUserResp": {
  769. "type": "object",
  770. "properties": {
  771. "list": {
  772. "description": "免罚用户列表",
  773. "type": "array",
  774. "items": {
  775. "$ref": "#/definitions/md.FreePublishUserNode"
  776. }
  777. },
  778. "paginate": {
  779. "description": "分页信息",
  780. "allOf": [
  781. {
  782. "$ref": "#/definitions/md.Paginate"
  783. }
  784. ]
  785. }
  786. }
  787. },
  788. "md.GetPublicPlatoonBasicResp": {
  789. "type": "object",
  790. "properties": {
  791. "is_open": {
  792. "description": "是否开启(1:开启 0:关闭)",
  793. "type": "integer"
  794. },
  795. "is_self_active_get_team_revenue": {
  796. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  797. "type": "integer"
  798. },
  799. "originator_uid": {
  800. "description": "创始人uid",
  801. "type": "integer"
  802. },
  803. "several_rows": {
  804. "description": "几排",
  805. "type": "integer"
  806. },
  807. "several_times": {
  808. "description": "几乘",
  809. "type": "integer"
  810. },
  811. "system_punish_replace": {
  812. "description": "是否位置滑落 被新用户替换 0否 1是",
  813. "type": "integer"
  814. },
  815. "system_punish_replace_value": {
  816. "description": "xx天未活跃,处罚滑落",
  817. "type": "integer"
  818. }
  819. }
  820. },
  821. "md.LoginReq": {
  822. "type": "object",
  823. "required": [
  824. "password",
  825. "username"
  826. ],
  827. "properties": {
  828. "code": {
  829. "type": "string",
  830. "example": "验证码"
  831. },
  832. "password": {
  833. "type": "string",
  834. "example": "登录密码"
  835. },
  836. "username": {
  837. "type": "string",
  838. "example": "登录账号"
  839. }
  840. }
  841. },
  842. "md.LoginResponse": {
  843. "type": "object",
  844. "properties": {
  845. "token": {
  846. "type": "string"
  847. }
  848. }
  849. },
  850. "md.Paginate": {
  851. "type": "object",
  852. "properties": {
  853. "limit": {
  854. "description": "每页大小",
  855. "type": "integer"
  856. },
  857. "page": {
  858. "description": "页数",
  859. "type": "integer"
  860. },
  861. "total": {
  862. "description": "总数据量",
  863. "type": "integer"
  864. }
  865. }
  866. },
  867. "md.Response": {
  868. "type": "object",
  869. "properties": {
  870. "code": {
  871. "type": "string",
  872. "example": "响应码"
  873. },
  874. "data": {
  875. "description": "内容"
  876. },
  877. "msg": {
  878. "type": "string",
  879. "example": "具体错误原因"
  880. }
  881. }
  882. },
  883. "md.SonUserDailyActivityAnalysisNode": {
  884. "type": "object",
  885. "properties": {
  886. "activity_day_nums": {
  887. "description": "活跃子节点活跃天数",
  888. "type": "integer"
  889. },
  890. "nickname": {
  891. "type": "string",
  892. "example": "昵称"
  893. },
  894. "phone": {
  895. "type": "string",
  896. "example": "手机号"
  897. },
  898. "uid": {
  899. "description": "查询用户活跃子节点 ID",
  900. "type": "integer"
  901. }
  902. }
  903. },
  904. "md.SubUser": {
  905. "type": "object",
  906. "properties": {
  907. "avatar_url": {
  908. "type": "string",
  909. "example": "头像"
  910. },
  911. "level": {
  912. "description": "整个系统中的等级",
  913. "type": "integer"
  914. },
  915. "nickname": {
  916. "type": "string",
  917. "example": "昵称"
  918. },
  919. "phone": {
  920. "type": "string",
  921. "example": "手机号"
  922. },
  923. "pid": {
  924. "type": "integer"
  925. },
  926. "position": {
  927. "description": "以pid1为创始人中网的位置",
  928. "type": "integer"
  929. },
  930. "uid": {
  931. "type": "integer"
  932. }
  933. }
  934. },
  935. "md.TreeNode": {
  936. "type": "object",
  937. "properties": {
  938. "avatar_url": {
  939. "type": "string",
  940. "example": "头像"
  941. },
  942. "level": {
  943. "type": "integer"
  944. },
  945. "nickname": {
  946. "type": "string",
  947. "example": "昵称"
  948. },
  949. "phone": {
  950. "type": "string",
  951. "example": "手机号"
  952. },
  953. "pid": {
  954. "type": "integer"
  955. },
  956. "position": {
  957. "type": "integer"
  958. },
  959. "son": {
  960. "type": "array",
  961. "items": {
  962. "$ref": "#/definitions/md.TreeNode"
  963. }
  964. },
  965. "system_id": {
  966. "description": "公排网中id",
  967. "type": "integer"
  968. },
  969. "uid": {
  970. "type": "integer"
  971. }
  972. }
  973. },
  974. "md.UpdatePublicPlatoonBasicReq": {
  975. "type": "object",
  976. "properties": {
  977. "is_open": {
  978. "description": "是否开启(1:开启 0:关闭)",
  979. "type": "integer"
  980. },
  981. "is_self_active_get_team_revenue": {
  982. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  983. "type": "integer"
  984. },
  985. "originator_uid": {
  986. "description": "创始人uid",
  987. "type": "integer"
  988. },
  989. "several_rows": {
  990. "description": "几排",
  991. "type": "integer"
  992. },
  993. "several_times": {
  994. "description": "几乘",
  995. "type": "integer"
  996. },
  997. "system_punish_replace": {
  998. "description": "是否位置滑落 被新用户替换 0否 1是",
  999. "type": "integer"
  1000. },
  1001. "system_punish_replace_value": {
  1002. "description": "xx天未活跃,处罚滑落",
  1003. "type": "integer"
  1004. }
  1005. }
  1006. },
  1007. "md.UserDailyActivityAnalysisReq": {
  1008. "type": "object",
  1009. "properties": {
  1010. "end_date": {
  1011. "type": "string",
  1012. "example": "结束日期"
  1013. },
  1014. "start_date": {
  1015. "type": "string",
  1016. "example": "开始日期"
  1017. },
  1018. "uid": {
  1019. "description": "查询用户 ID",
  1020. "type": "integer"
  1021. }
  1022. }
  1023. },
  1024. "md.UserDailyActivityAnalysisResp": {
  1025. "type": "object",
  1026. "properties": {
  1027. "son_user_data": {
  1028. "description": "被查询用户子节点信息",
  1029. "type": "array",
  1030. "items": {
  1031. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1032. }
  1033. },
  1034. "top_data": {
  1035. "description": "统计信息",
  1036. "allOf": [
  1037. {
  1038. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1039. }
  1040. ]
  1041. }
  1042. }
  1043. }
  1044. },
  1045. "securityDefinitions": {
  1046. "MasterID": {
  1047. "type": "apiKey",
  1048. "name": "MasterID",
  1049. "in": "header"
  1050. }
  1051. }
  1052. }