蛋蛋星球 后台端
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

1078 rader
36 KiB

  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.FindSubUserRelationshipMapResp"
  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/institutionalManagement/publicPlatoon/userDailyActivityAnalysis": {
  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. "type": "string",
  542. "description": "验证参数Bearer和token空格拼接",
  543. "name": "Authorization",
  544. "in": "header",
  545. "required": true
  546. },
  547. {
  548. "description": "用户 ID、查询开始时间、结束时间",
  549. "name": "req",
  550. "in": "body",
  551. "required": true,
  552. "schema": {
  553. "$ref": "#/definitions/md.UserDailyActivityAnalysisReq"
  554. }
  555. }
  556. ],
  557. "responses": {
  558. "200": {
  559. "description": "具体数据",
  560. "schema": {
  561. "$ref": "#/definitions/md.UserDailyActivityAnalysisResp"
  562. }
  563. },
  564. "400": {
  565. "description": "具体错误",
  566. "schema": {
  567. "$ref": "#/definitions/md.Response"
  568. }
  569. }
  570. }
  571. }
  572. },
  573. "/api/login": {
  574. "post": {
  575. "description": "登入",
  576. "consumes": [
  577. "application/json"
  578. ],
  579. "produces": [
  580. "application/json"
  581. ],
  582. "tags": [
  583. "登录"
  584. ],
  585. "summary": "登陆",
  586. "parameters": [
  587. {
  588. "description": "用户名密码",
  589. "name": "req",
  590. "in": "body",
  591. "required": true,
  592. "schema": {
  593. "$ref": "#/definitions/md.LoginReq"
  594. }
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "token",
  600. "schema": {
  601. "$ref": "#/definitions/md.LoginResponse"
  602. }
  603. },
  604. "400": {
  605. "description": "具体错误",
  606. "schema": {
  607. "$ref": "#/definitions/md.Response"
  608. }
  609. }
  610. }
  611. }
  612. }
  613. },
  614. "definitions": {
  615. "md.AddCommunityDividendsReq": {
  616. "type": "object",
  617. "properties": {
  618. "name": {
  619. "type": "string",
  620. "example": "社区分红名称"
  621. },
  622. "nums": {
  623. "description": "社区分红数量",
  624. "type": "integer"
  625. }
  626. }
  627. },
  628. "md.AddCommunityDividendsWithUserReq": {
  629. "type": "object",
  630. "properties": {
  631. "memo": {
  632. "type": "string",
  633. "example": "备注"
  634. },
  635. "uid": {
  636. "description": "新增社区长用户 ID",
  637. "type": "integer"
  638. }
  639. }
  640. },
  641. "md.AddFreePublishUserReq": {
  642. "type": "object",
  643. "properties": {
  644. "uid": {
  645. "type": "integer"
  646. }
  647. }
  648. },
  649. "md.BasicSetting": {
  650. "type": "object",
  651. "properties": {
  652. "id": {
  653. "type": "integer"
  654. },
  655. "is_open": {
  656. "description": "是否开启(1:开启 0:关闭)",
  657. "type": "integer"
  658. },
  659. "is_self_active_get_team_revenue": {
  660. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  661. "type": "integer"
  662. },
  663. "originator_uid": {
  664. "description": "创始人uid",
  665. "type": "integer"
  666. },
  667. "several_rows": {
  668. "description": "几排",
  669. "type": "integer"
  670. },
  671. "several_times": {
  672. "description": "几乘",
  673. "type": "integer"
  674. },
  675. "system_punish_replace": {
  676. "description": "是否位置滑落 被新用户替换 0否 1是",
  677. "type": "integer"
  678. },
  679. "system_punish_replace_value": {
  680. "description": "xx天未活跃,处罚滑落",
  681. "type": "integer"
  682. }
  683. }
  684. },
  685. "md.DailyActivityAnalysisTopData": {
  686. "type": "object",
  687. "properties": {
  688. "activity_count": {
  689. "description": "子节点活跃天数",
  690. "type": "integer"
  691. },
  692. "team_activity_user_count": {
  693. "description": "子节点活跃人数",
  694. "type": "integer"
  695. },
  696. "team_user_count": {
  697. "description": "团队人数",
  698. "type": "integer"
  699. }
  700. }
  701. },
  702. "md.ExchangeUserPositionReq": {
  703. "type": "object",
  704. "properties": {
  705. "position_1": {
  706. "description": "位置1,具体值取返回数据中的 system_id",
  707. "type": "integer"
  708. },
  709. "position_2": {
  710. "description": "位置2,具体值取返回数据中的 system_id",
  711. "type": "integer"
  712. }
  713. }
  714. },
  715. "md.FindSubUserRelationshipMapResp": {
  716. "type": "object",
  717. "properties": {
  718. "basic_setting": {
  719. "description": "公排设置",
  720. "allOf": [
  721. {
  722. "$ref": "#/definitions/md.BasicSetting"
  723. }
  724. ]
  725. },
  726. "search_uid": {
  727. "description": "查找的用户 ID",
  728. "type": "string"
  729. },
  730. "sub_user": {
  731. "description": "上级用户信息",
  732. "allOf": [
  733. {
  734. "$ref": "#/definitions/md.SubUser"
  735. }
  736. ]
  737. }
  738. }
  739. },
  740. "md.FreePublishUserNode": {
  741. "type": "object",
  742. "properties": {
  743. "nickname": {
  744. "type": "string",
  745. "example": "昵称"
  746. },
  747. "phone": {
  748. "type": "string",
  749. "example": "手机号"
  750. },
  751. "uid": {
  752. "type": "integer"
  753. }
  754. }
  755. },
  756. "md.GetFreePublishUserReq": {
  757. "type": "object",
  758. "properties": {
  759. "limit": {
  760. "description": "每页大小",
  761. "type": "integer"
  762. },
  763. "page": {
  764. "description": "当前页数",
  765. "type": "integer"
  766. },
  767. "uid": {
  768. "description": "筛选的用户 ID",
  769. "type": "integer"
  770. }
  771. }
  772. },
  773. "md.GetFreePublishUserResp": {
  774. "type": "object",
  775. "properties": {
  776. "list": {
  777. "description": "免罚用户列表",
  778. "type": "array",
  779. "items": {
  780. "$ref": "#/definitions/md.FreePublishUserNode"
  781. }
  782. },
  783. "paginate": {
  784. "description": "分页信息",
  785. "allOf": [
  786. {
  787. "$ref": "#/definitions/md.Paginate"
  788. }
  789. ]
  790. }
  791. }
  792. },
  793. "md.GetPublicPlatoonBasicResp": {
  794. "type": "object",
  795. "properties": {
  796. "is_open": {
  797. "description": "是否开启(1:开启 0:关闭)",
  798. "type": "integer"
  799. },
  800. "is_self_active_get_team_revenue": {
  801. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  802. "type": "integer"
  803. },
  804. "originator_uid": {
  805. "description": "创始人uid",
  806. "type": "integer"
  807. },
  808. "several_rows": {
  809. "description": "几排",
  810. "type": "integer"
  811. },
  812. "several_times": {
  813. "description": "几乘",
  814. "type": "integer"
  815. },
  816. "system_punish_replace": {
  817. "description": "是否位置滑落 被新用户替换 0否 1是",
  818. "type": "integer"
  819. },
  820. "system_punish_replace_value": {
  821. "description": "xx天未活跃,处罚滑落",
  822. "type": "integer"
  823. }
  824. }
  825. },
  826. "md.LoginReq": {
  827. "type": "object",
  828. "required": [
  829. "password",
  830. "username"
  831. ],
  832. "properties": {
  833. "code": {
  834. "type": "string",
  835. "example": "验证码"
  836. },
  837. "password": {
  838. "type": "string",
  839. "example": "登录密码"
  840. },
  841. "username": {
  842. "type": "string",
  843. "example": "登录账号"
  844. }
  845. }
  846. },
  847. "md.LoginResponse": {
  848. "type": "object",
  849. "properties": {
  850. "token": {
  851. "type": "string"
  852. }
  853. }
  854. },
  855. "md.Paginate": {
  856. "type": "object",
  857. "properties": {
  858. "limit": {
  859. "description": "每页大小",
  860. "type": "integer"
  861. },
  862. "page": {
  863. "description": "页数",
  864. "type": "integer"
  865. },
  866. "total": {
  867. "description": "总数据量",
  868. "type": "integer"
  869. }
  870. }
  871. },
  872. "md.Response": {
  873. "type": "object",
  874. "properties": {
  875. "code": {
  876. "type": "string",
  877. "example": "响应码"
  878. },
  879. "data": {
  880. "description": "内容"
  881. },
  882. "msg": {
  883. "type": "string",
  884. "example": "具体错误原因"
  885. }
  886. }
  887. },
  888. "md.SonUserDailyActivityAnalysisNode": {
  889. "type": "object",
  890. "properties": {
  891. "activity_day_nums": {
  892. "description": "活跃子节点活跃天数",
  893. "type": "integer"
  894. },
  895. "nickname": {
  896. "type": "string",
  897. "example": "昵称"
  898. },
  899. "phone": {
  900. "type": "string",
  901. "example": "手机号"
  902. },
  903. "uid": {
  904. "description": "查询用户活跃子节点 ID",
  905. "type": "integer"
  906. }
  907. }
  908. },
  909. "md.SubUser": {
  910. "type": "object",
  911. "properties": {
  912. "avatar_url": {
  913. "type": "string",
  914. "example": "头像"
  915. },
  916. "level": {
  917. "description": "整个系统中的等级",
  918. "type": "integer"
  919. },
  920. "nickname": {
  921. "type": "string",
  922. "example": "昵称"
  923. },
  924. "phone": {
  925. "type": "string",
  926. "example": "手机号"
  927. },
  928. "pid": {
  929. "type": "integer"
  930. },
  931. "position": {
  932. "description": "以pid1为创始人中网的位置",
  933. "type": "integer"
  934. },
  935. "uid": {
  936. "type": "integer"
  937. }
  938. }
  939. },
  940. "md.TreeNode": {
  941. "type": "object",
  942. "properties": {
  943. "avatar_url": {
  944. "type": "string",
  945. "example": "头像"
  946. },
  947. "level": {
  948. "type": "integer"
  949. },
  950. "nickname": {
  951. "type": "string",
  952. "example": "昵称"
  953. },
  954. "phone": {
  955. "type": "string",
  956. "example": "手机号"
  957. },
  958. "pid": {
  959. "type": "integer"
  960. },
  961. "position": {
  962. "type": "integer"
  963. },
  964. "son": {
  965. "type": "array",
  966. "items": {
  967. "$ref": "#/definitions/md.TreeNode"
  968. }
  969. },
  970. "system_id": {
  971. "description": "公排网中id",
  972. "type": "integer"
  973. },
  974. "uid": {
  975. "type": "integer"
  976. }
  977. }
  978. },
  979. "md.UpdatePublicPlatoonBasicReq": {
  980. "type": "object",
  981. "properties": {
  982. "is_open": {
  983. "description": "是否开启(1:开启 0:关闭)",
  984. "type": "integer"
  985. },
  986. "is_self_active_get_team_revenue": {
  987. "description": "会员本人没有日活,没有圈层奖励(1:开启 0:关闭)",
  988. "type": "integer"
  989. },
  990. "originator_uid": {
  991. "description": "创始人uid",
  992. "type": "integer"
  993. },
  994. "several_rows": {
  995. "description": "几排",
  996. "type": "integer"
  997. },
  998. "several_times": {
  999. "description": "几乘",
  1000. "type": "integer"
  1001. },
  1002. "system_punish_replace": {
  1003. "description": "是否位置滑落 被新用户替换 0否 1是",
  1004. "type": "integer"
  1005. },
  1006. "system_punish_replace_value": {
  1007. "description": "xx天未活跃,处罚滑落",
  1008. "type": "integer"
  1009. }
  1010. }
  1011. },
  1012. "md.UserDailyActivityAnalysisReq": {
  1013. "type": "object",
  1014. "properties": {
  1015. "end_date": {
  1016. "type": "string",
  1017. "example": "结束日期"
  1018. },
  1019. "start_date": {
  1020. "type": "string",
  1021. "example": "开始日期"
  1022. },
  1023. "uid": {
  1024. "description": "查询用户 ID",
  1025. "type": "integer"
  1026. }
  1027. }
  1028. },
  1029. "md.UserDailyActivityAnalysisResp": {
  1030. "type": "object",
  1031. "properties": {
  1032. "son_user_data": {
  1033. "description": "被查询用户子节点信息",
  1034. "type": "array",
  1035. "items": {
  1036. "$ref": "#/definitions/md.SonUserDailyActivityAnalysisNode"
  1037. }
  1038. },
  1039. "top_data": {
  1040. "description": "统计信息",
  1041. "allOf": [
  1042. {
  1043. "$ref": "#/definitions/md.DailyActivityAnalysisTopData"
  1044. }
  1045. ]
  1046. }
  1047. }
  1048. }
  1049. },
  1050. "securityDefinitions": {
  1051. "MasterID": {
  1052. "type": "apiKey",
  1053. "name": "MasterID",
  1054. "in": "header"
  1055. }
  1056. }
  1057. }`
  1058. // SwaggerInfo holds exported Swagger Info so clients can modify it
  1059. var SwaggerInfo = &swag.Spec{
  1060. Version: "1.0",
  1061. Host: "localhost:4001",
  1062. BasePath: "",
  1063. Schemes: []string{},
  1064. Title: "蛋蛋星球-管理后台",
  1065. Description: "管理后台接口文档",
  1066. InfoInstanceName: "swagger",
  1067. SwaggerTemplate: docTemplate,
  1068. LeftDelim: "{{",
  1069. RightDelim: "}}",
  1070. }
  1071. func init() {
  1072. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  1073. }