蛋蛋星球-客户端
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

há 2 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 2 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 3 semanas
há 1 mês
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 2 semanas
há 3 semanas
há 2 semanas
há 3 semanas
há 1 mês
há 2 semanas
há 2 semanas
há 2 semanas
há 1 mês
há 3 semanas
há 2 semanas
há 1 mês
há 3 semanas
há 1 mês
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825
  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/publicPlatoon/communityDividends/communityDividendsAdd": {
  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.AddCommunityDividendsReq"
  92. }
  93. }
  94. ],
  95. "responses": {
  96. "200": {
  97. "description": "插入数据 ID",
  98. "schema": {
  99. "type": "int"
  100. }
  101. },
  102. "400": {
  103. "description": "具体错误",
  104. "schema": {
  105. "$ref": "#/definitions/md.Response"
  106. }
  107. }
  108. }
  109. }
  110. },
  111. "/api/institutionalManagement/publicPlatoon/communityDividends/communityDividendsWithUserAdd": {
  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、备注",
  134. "name": "req",
  135. "in": "body",
  136. "required": true,
  137. "schema": {
  138. "$ref": "#/definitions/md.AddCommunityDividendsWithUserReq"
  139. }
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "插入数据 ID",
  145. "schema": {
  146. "type": "int"
  147. }
  148. },
  149. "400": {
  150. "description": "具体错误",
  151. "schema": {
  152. "$ref": "#/definitions/md.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/api/institutionalManagement/publicPlatoon/exchangeUserPosition": {
  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": "需要交换的两个位置",
  181. "name": "req",
  182. "in": "body",
  183. "required": true,
  184. "schema": {
  185. "$ref": "#/definitions/md.ExchangeUserPositionReq"
  186. }
  187. }
  188. ],
  189. "responses": {
  190. "200": {
  191. "description": "成功返回",
  192. "schema": {
  193. "type": ""
  194. }
  195. },
  196. "400": {
  197. "description": "具体错误",
  198. "schema": {
  199. "$ref": "#/definitions/md.Response"
  200. }
  201. }
  202. }
  203. }
  204. },
  205. "/api/institutionalManagement/publicPlatoon/findSubUserRelationshipMap": {
  206. "get": {
  207. "description": "关系分布图(获取指定用户上级)",
  208. "consumes": [
  209. "application/json"
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "公排管理"
  216. ],
  217. "summary": "制度中心-公排管理-关系分布图(获取指定用户上级)",
  218. "parameters": [
  219. {
  220. "type": "string",
  221. "description": "验证参数Bearer和token空格拼接",
  222. "name": "Authorization",
  223. "in": "header",
  224. "required": true
  225. },
  226. {
  227. "type": "string",
  228. "description": "用户ID",
  229. "name": "uid",
  230. "in": "query",
  231. "required": true
  232. }
  233. ],
  234. "responses": {
  235. "200": {
  236. "description": "具体数据",
  237. "schema": {
  238. "$ref": "#/definitions/md.TreeNode"
  239. }
  240. },
  241. "400": {
  242. "description": "具体错误",
  243. "schema": {
  244. "$ref": "#/definitions/md.Response"
  245. }
  246. }
  247. }
  248. }
  249. },
  250. "/api/institutionalManagement/publicPlatoon/findUserRelationshipMap": {
  251. "get": {
  252. "description": "关系分布图(获取指定用户下级)",
  253. "consumes": [
  254. "application/json"
  255. ],
  256. "produces": [
  257. "application/json"
  258. ],
  259. "tags": [
  260. "公排管理"
  261. ],
  262. "summary": "制度中心-公排管理-关系分布图(获取指定用户下级)",
  263. "parameters": [
  264. {
  265. "type": "string",
  266. "description": "验证参数Bearer和token空格拼接",
  267. "name": "Authorization",
  268. "in": "header",
  269. "required": true
  270. },
  271. {
  272. "type": "string",
  273. "description": "用户ID",
  274. "name": "uid",
  275. "in": "query",
  276. "required": true
  277. }
  278. ],
  279. "responses": {
  280. "200": {
  281. "description": "具体数据",
  282. "schema": {
  283. "$ref": "#/definitions/md.TreeNode"
  284. }
  285. },
  286. "400": {
  287. "description": "具体错误",
  288. "schema": {
  289. "$ref": "#/definitions/md.Response"
  290. }
  291. }
  292. }
  293. }
  294. },
  295. "/api/institutionalManagement/publicPlatoon/getBasic": {
  296. "get": {
  297. "description": "公排基础设置(获取)",
  298. "consumes": [
  299. "application/json"
  300. ],
  301. "produces": [
  302. "application/json"
  303. ],
  304. "tags": [
  305. "公排管理"
  306. ],
  307. "summary": "制度中心-公排管理-公排基础设置(获取)",
  308. "parameters": [
  309. {
  310. "type": "string",
  311. "description": "验证参数Bearer和token空格拼接",
  312. "name": "Authorization",
  313. "in": "header",
  314. "required": true
  315. }
  316. ],
  317. "responses": {
  318. "200": {
  319. "description": "具体数据",
  320. "schema": {
  321. "$ref": "#/definitions/md.GetPublicPlatoonBasicResp"
  322. }
  323. },
  324. "400": {
  325. "description": "具体错误",
  326. "schema": {
  327. "$ref": "#/definitions/md.Response"
  328. }
  329. }
  330. }
  331. }
  332. },
  333. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/index": {
  334. "post": {
  335. "description": "免罚用户(查询)",
  336. "consumes": [
  337. "application/json"
  338. ],
  339. "produces": [
  340. "application/json"
  341. ],
  342. "tags": [
  343. "公排管理"
  344. ],
  345. "summary": "制度中心-公排管理-免罚用户(查询)",
  346. "parameters": [
  347. {
  348. "type": "string",
  349. "description": "验证参数Bearer和token空格拼接",
  350. "name": "Authorization",
  351. "in": "header",
  352. "required": true
  353. },
  354. {
  355. "description": "页数和行数必填,uid选填",
  356. "name": "req",
  357. "in": "body",
  358. "required": true,
  359. "schema": {
  360. "$ref": "#/definitions/md.GetFreePublishUserReq"
  361. }
  362. }
  363. ],
  364. "responses": {
  365. "200": {
  366. "description": "成功返回",
  367. "schema": {
  368. "$ref": "#/definitions/md.GetFreePublishUserResp"
  369. }
  370. },
  371. "400": {
  372. "description": "具体错误",
  373. "schema": {
  374. "$ref": "#/definitions/md.Response"
  375. }
  376. }
  377. }
  378. }
  379. },
  380. "/api/institutionalManagement/publicPlatoon/publicPlatoonUserFreePunish/save": {
  381. "post": {
  382. "description": "免罚用户(新增)",
  383. "consumes": [
  384. "application/json"
  385. ],
  386. "produces": [
  387. "application/json"
  388. ],
  389. "tags": [
  390. "公排管理"
  391. ],
  392. "summary": "制度中心-公排管理-免罚用户(新增)",
  393. "parameters": [
  394. {
  395. "type": "string",
  396. "description": "验证参数Bearer和token空格拼接",
  397. "name": "Authorization",
  398. "in": "header",
  399. "required": true
  400. },
  401. {
  402. "description": "页数和行数必填,uid选填",
  403. "name": "req",
  404. "in": "body",
  405. "required": true,
  406. "schema": {
  407. "$ref": "#/definitions/md.AddFreePublishUserReq"
  408. }
  409. }
  410. ],
  411. "responses": {
  412. "200": {
  413. "description": "插入数据 ID",
  414. "schema": {
  415. "type": "int"
  416. }
  417. },
  418. "400": {
  419. "description": "具体错误",
  420. "schema": {
  421. "$ref": "#/definitions/md.Response"
  422. }
  423. }
  424. }
  425. }
  426. },
  427. "/api/institutionalManagement/publicPlatoon/relationshipMap": {
  428. "get": {
  429. "description": "关系分布图(获取)",
  430. "consumes": [
  431. "application/json"
  432. ],
  433. "produces": [
  434. "application/json"
  435. ],
  436. "tags": [
  437. "公排管理"
  438. ],
  439. "summary": "制度中心-公排管理-关系分布图(获取)",
  440. "parameters": [
  441. {
  442. "type": "string",
  443. "description": "验证参数Bearer和token空格拼接",
  444. "name": "Authorization",
  445. "in": "header",
  446. "required": true
  447. },
  448. {
  449. "type": "string",
  450. "description": "phone",
  451. "name": "phone",
  452. "in": "query",
  453. "required": true
  454. },
  455. {
  456. "type": "string",
  457. "description": "uid",
  458. "name": "uid",
  459. "in": "query",
  460. "required": true
  461. }
  462. ],
  463. "responses": {
  464. "200": {
  465. "description": "具体数据",
  466. "schema": {
  467. "$ref": "#/definitions/md.TreeNode"
  468. }
  469. },
  470. "400": {
  471. "description": "具体错误",
  472. "schema": {
  473. "$ref": "#/definitions/md.Response"
  474. }
  475. }
  476. }
  477. }
  478. },
  479. "/api/institutionalManagement/publicPlatoon/updateBasic": {
  480. "put": {
  481. "description": "公排基础设置(修改)",
  482. "consumes": [
  483. "application/json"
  484. ],
  485. "produces": [
  486. "application/json"
  487. ],
  488. "tags": [
  489. "公排管理"
  490. ],
  491. "summary": "制度中心-公排管理-公排基础设置(修改)",
  492. "parameters": [
  493. {
  494. "type": "string",
  495. "description": "验证参数Bearer和token空格拼接",
  496. "name": "Authorization",
  497. "in": "header",
  498. "required": true
  499. },
  500. {
  501. "description": "公排设置表单内容",
  502. "name": "req",
  503. "in": "body",
  504. "required": true,
  505. "schema": {
  506. "$ref": "#/definitions/md.UpdatePublicPlatoonBasicReq"
  507. }
  508. }
  509. ],
  510. "responses": {
  511. "200": {
  512. "description": "success",
  513. "schema": {
  514. "type": "string"
  515. }
  516. },
  517. "400": {
  518. "description": "具体错误",
  519. "schema": {
  520. "$ref": "#/definitions/md.Response"
  521. }
  522. }
  523. }
  524. }
  525. },
  526. "/api/login": {
  527. "post": {
  528. "description": "登入",
  529. "consumes": [
  530. "application/json"
  531. ],
  532. "produces": [
  533. "application/json"
  534. ],
  535. "tags": [
  536. "登录"
  537. ],
  538. "summary": "登陆",
  539. "parameters": [
  540. {
  541. "description": "用户名密码",
  542. "name": "req",
  543. "in": "body",
  544. "required": true,
  545. "schema": {
  546. "$ref": "#/definitions/md.LoginReq"
  547. }
  548. }
  549. ],
  550. "responses": {
  551. "200": {
  552. "description": "token",
  553. "schema": {
  554. "$ref": "#/definitions/md.LoginResponse"
  555. }
  556. },
  557. "400": {
  558. "description": "具体错误",
  559. "schema": {
  560. "$ref": "#/definitions/md.Response"
  561. }
  562. }
  563. }
  564. }
  565. }
  566. },
  567. "definitions": {
  568. "md.AddCommunityDividendsReq": {
  569. "type": "object",
  570. "properties": {
  571. "name": {
  572. "type": "string"
  573. },
  574. "nums": {
  575. "type": "integer"
  576. }
  577. }
  578. },
  579. "md.AddCommunityDividendsWithUserReq": {
  580. "type": "object",
  581. "properties": {
  582. "memo": {
  583. "type": "string"
  584. },
  585. "uid": {
  586. "type": "integer"
  587. }
  588. }
  589. },
  590. "md.AddFreePublishUserReq": {
  591. "type": "object",
  592. "properties": {
  593. "uid": {
  594. "type": "integer"
  595. }
  596. }
  597. },
  598. "md.ExchangeUserPositionReq": {
  599. "type": "object",
  600. "properties": {
  601. "position_1": {
  602. "type": "integer"
  603. },
  604. "position_2": {
  605. "type": "integer"
  606. }
  607. }
  608. },
  609. "md.FreePublishUserNode": {
  610. "type": "object",
  611. "properties": {
  612. "nickname": {
  613. "type": "string"
  614. },
  615. "phone": {
  616. "type": "string"
  617. },
  618. "uid": {
  619. "type": "integer"
  620. }
  621. }
  622. },
  623. "md.GetFreePublishUserReq": {
  624. "type": "object",
  625. "properties": {
  626. "limit": {
  627. "type": "integer"
  628. },
  629. "page": {
  630. "type": "integer"
  631. },
  632. "uid": {
  633. "type": "integer"
  634. }
  635. }
  636. },
  637. "md.GetFreePublishUserResp": {
  638. "type": "object",
  639. "properties": {
  640. "list": {
  641. "type": "array",
  642. "items": {
  643. "$ref": "#/definitions/md.FreePublishUserNode"
  644. }
  645. },
  646. "paginate": {
  647. "$ref": "#/definitions/md.Paginate"
  648. }
  649. }
  650. },
  651. "md.GetPublicPlatoonBasicResp": {
  652. "type": "object",
  653. "properties": {
  654. "is_open": {
  655. "type": "integer"
  656. },
  657. "is_self_active_get_team_revenue": {
  658. "type": "integer"
  659. },
  660. "originator_uid": {
  661. "type": "integer"
  662. },
  663. "several_rows": {
  664. "type": "integer"
  665. },
  666. "several_times": {
  667. "type": "integer"
  668. },
  669. "system_punish_replace": {
  670. "type": "integer"
  671. },
  672. "system_punish_replace_value": {
  673. "type": "integer"
  674. }
  675. }
  676. },
  677. "md.LoginReq": {
  678. "type": "object",
  679. "required": [
  680. "password",
  681. "username"
  682. ],
  683. "properties": {
  684. "code": {
  685. "type": "string",
  686. "example": "验证码"
  687. },
  688. "password": {
  689. "type": "string",
  690. "example": "登录密码"
  691. },
  692. "username": {
  693. "type": "string",
  694. "example": "登录账号"
  695. }
  696. }
  697. },
  698. "md.LoginResponse": {
  699. "type": "object",
  700. "properties": {
  701. "token": {
  702. "type": "string"
  703. }
  704. }
  705. },
  706. "md.Paginate": {
  707. "type": "object",
  708. "properties": {
  709. "limit": {
  710. "type": "integer"
  711. },
  712. "page": {
  713. "type": "integer"
  714. },
  715. "total": {
  716. "type": "integer"
  717. }
  718. }
  719. },
  720. "md.Response": {
  721. "type": "object",
  722. "properties": {
  723. "code": {
  724. "type": "string",
  725. "example": "响应码"
  726. },
  727. "data": {
  728. "description": "内容"
  729. },
  730. "msg": {
  731. "type": "string",
  732. "example": "具体错误原因"
  733. }
  734. }
  735. },
  736. "md.TreeNode": {
  737. "type": "object",
  738. "properties": {
  739. "avatar_url": {
  740. "type": "string"
  741. },
  742. "level": {
  743. "type": "integer"
  744. },
  745. "nickname": {
  746. "type": "string"
  747. },
  748. "phone": {
  749. "type": "string"
  750. },
  751. "pid": {
  752. "type": "integer"
  753. },
  754. "position": {
  755. "type": "integer"
  756. },
  757. "son": {
  758. "type": "array",
  759. "items": {
  760. "$ref": "#/definitions/md.TreeNode"
  761. }
  762. },
  763. "system_id": {
  764. "type": "integer"
  765. },
  766. "uid": {
  767. "type": "integer"
  768. }
  769. }
  770. },
  771. "md.UpdatePublicPlatoonBasicReq": {
  772. "type": "object",
  773. "properties": {
  774. "is_open": {
  775. "type": "integer"
  776. },
  777. "is_self_active_get_team_revenue": {
  778. "type": "integer"
  779. },
  780. "originator_uid": {
  781. "type": "integer"
  782. },
  783. "several_rows": {
  784. "type": "integer"
  785. },
  786. "several_times": {
  787. "type": "integer"
  788. },
  789. "system_punish_replace": {
  790. "type": "integer"
  791. },
  792. "system_punish_replace_value": {
  793. "type": "integer"
  794. }
  795. }
  796. }
  797. },
  798. "securityDefinitions": {
  799. "MasterID": {
  800. "type": "apiKey",
  801. "name": "MasterID",
  802. "in": "header"
  803. }
  804. }
  805. }`
  806. // SwaggerInfo holds exported Swagger Info so clients can modify it
  807. var SwaggerInfo = &swag.Spec{
  808. Version: "1.0",
  809. Host: "localhost:4001",
  810. BasePath: "",
  811. Schemes: []string{},
  812. Title: "蛋蛋星球-管理后台",
  813. Description: "管理后台接口文档",
  814. InfoInstanceName: "swagger",
  815. SwaggerTemplate: docTemplate,
  816. LeftDelim: "{{",
  817. RightDelim: "}}",
  818. }
  819. func init() {
  820. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  821. }