daili.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [],
  9. "paths": {
  10. "/agentUser/page": {
  11. "get": {
  12. "summary": "分页",
  13. "deprecated": false,
  14. "description": "",
  15. "tags": [],
  16. "parameters": [
  17. {
  18. "name": "records[0].key",
  19. "in": "query",
  20. "description": "",
  21. "required": false,
  22. "schema": {
  23. "type": ""
  24. }
  25. },
  26. {
  27. "name": "total",
  28. "in": "query",
  29. "description": "",
  30. "required": false,
  31. "schema": {
  32. "type": "integer",
  33. "format": "int64"
  34. }
  35. },
  36. {
  37. "name": "size",
  38. "in": "query",
  39. "description": "",
  40. "required": false,
  41. "schema": {
  42. "type": "integer",
  43. "format": "int64"
  44. }
  45. },
  46. {
  47. "name": "current",
  48. "in": "query",
  49. "description": "",
  50. "required": false,
  51. "schema": {
  52. "type": "integer",
  53. "format": "int64"
  54. }
  55. },
  56. {
  57. "name": "orders[0].column",
  58. "in": "query",
  59. "description": "",
  60. "required": false,
  61. "schema": {
  62. "type": "string"
  63. }
  64. },
  65. {
  66. "name": "orders[0].asc",
  67. "in": "query",
  68. "description": "",
  69. "required": false,
  70. "schema": {
  71. "type": "boolean"
  72. }
  73. },
  74. {
  75. "name": "optimizeCountSql",
  76. "in": "query",
  77. "description": "",
  78. "required": false,
  79. "schema": {
  80. "type": "boolean"
  81. }
  82. },
  83. {
  84. "name": "searchCount",
  85. "in": "query",
  86. "description": "",
  87. "required": false,
  88. "schema": {
  89. "type": "boolean"
  90. }
  91. },
  92. {
  93. "name": "optimizeJoinOfCountSql",
  94. "in": "query",
  95. "description": "",
  96. "required": false,
  97. "schema": {
  98. "type": "boolean"
  99. }
  100. },
  101. {
  102. "name": "maxLimit",
  103. "in": "query",
  104. "description": "",
  105. "required": false,
  106. "schema": {
  107. "type": "integer",
  108. "format": "int64"
  109. }
  110. },
  111. {
  112. "name": "countId",
  113. "in": "query",
  114. "description": "",
  115. "required": false,
  116. "schema": {
  117. "type": "string"
  118. }
  119. },
  120. {
  121. "name": "query",
  122. "in": "query",
  123. "description": "",
  124. "required": false,
  125. "schema": {
  126. "type": "string"
  127. }
  128. }
  129. ],
  130. "responses": {
  131. "200": {
  132. "description": "",
  133. "content": {
  134. "application/json": {
  135. "schema": {
  136. "$ref": "#/components/schemas/RPageAgentUserPageDTO"
  137. },
  138. "example": {
  139. "code": 0,
  140. "msg": "",
  141. "data": {
  142. "records": [
  143. {
  144. "userId": 0,
  145. "status": false,
  146. "agentName": ""
  147. }
  148. ],
  149. "total": 0,
  150. "size": 0,
  151. "current": 0,
  152. "orders": [
  153. {
  154. "column": "",
  155. "asc": false
  156. }
  157. ],
  158. "optimizeCountSql": false,
  159. "searchCount": false,
  160. "optimizeJoinOfCountSql": false,
  161. "maxLimit": 0,
  162. "countId": ""
  163. }
  164. }
  165. }
  166. },
  167. "headers": {}
  168. }
  169. },
  170. "security": [
  171. {
  172. "bearer": []
  173. }
  174. ]
  175. }
  176. },
  177. "/agentUser/save": {
  178. "post": {
  179. "summary": "新增",
  180. "deprecated": false,
  181. "description": "",
  182. "tags": [],
  183. "parameters": [],
  184. "requestBody": {
  185. "content": {
  186. "application/json": {
  187. "schema": {
  188. "$ref": "#/components/schemas/AgentUserROAdd",
  189. "description": ""
  190. }
  191. }
  192. }
  193. },
  194. "responses": {
  195. "200": {
  196. "description": "",
  197. "content": {
  198. "application/json": {
  199. "schema": {
  200. "$ref": "#/components/schemas/R",
  201. "description": "响应信息主体"
  202. },
  203. "example": {
  204. "ok": false,
  205. "code": null,
  206. "msg": "",
  207. "data": {}
  208. }
  209. }
  210. },
  211. "headers": {}
  212. }
  213. },
  214. "security": [
  215. {
  216. "bearer": []
  217. }
  218. ]
  219. }
  220. },
  221. "/agentUser/changePwd/{id:^\\d+$}": {
  222. "patch": {
  223. "summary": "修改密码",
  224. "deprecated": false,
  225. "description": "",
  226. "tags": [],
  227. "parameters": [
  228. {
  229. "name": "id",
  230. "in": "path",
  231. "description": "",
  232. "required": true,
  233. "schema": {
  234. "type": "integer"
  235. }
  236. }
  237. ],
  238. "requestBody": {
  239. "content": {
  240. "application/json": {
  241. "schema": {
  242. "$ref": "#/components/schemas/AgentUserROChangePwd",
  243. "description": ""
  244. }
  245. }
  246. }
  247. },
  248. "responses": {
  249. "200": {
  250. "description": "",
  251. "content": {
  252. "application/json": {
  253. "schema": {
  254. "$ref": "#/components/schemas/R",
  255. "description": "响应信息主体"
  256. },
  257. "example": {
  258. "ok": false,
  259. "code": null,
  260. "msg": "",
  261. "data": {}
  262. }
  263. }
  264. },
  265. "headers": {}
  266. }
  267. },
  268. "security": [
  269. {
  270. "bearer": []
  271. }
  272. ]
  273. }
  274. },
  275. "/agentUser/changeStatus/{id:^\\d+$}": {
  276. "patch": {
  277. "summary": "启用禁用",
  278. "deprecated": false,
  279. "description": "",
  280. "tags": [],
  281. "parameters": [
  282. {
  283. "name": "id",
  284. "in": "path",
  285. "description": "",
  286. "required": true,
  287. "schema": {
  288. "type": "integer"
  289. }
  290. }
  291. ],
  292. "responses": {
  293. "200": {
  294. "description": "",
  295. "content": {
  296. "application/json": {
  297. "schema": {
  298. "$ref": "#/components/schemas/R",
  299. "description": "响应信息主体"
  300. },
  301. "example": {
  302. "ok": false,
  303. "code": null,
  304. "msg": "",
  305. "data": {}
  306. }
  307. }
  308. },
  309. "headers": {}
  310. }
  311. },
  312. "security": [
  313. {
  314. "bearer": []
  315. }
  316. ]
  317. }
  318. },
  319. "/agentUser/info/{id:^\\d+$}": {
  320. "get": {
  321. "summary": "详情",
  322. "deprecated": false,
  323. "description": "",
  324. "tags": [],
  325. "parameters": [
  326. {
  327. "name": "id",
  328. "in": "path",
  329. "description": "",
  330. "required": true,
  331. "schema": {
  332. "type": "integer"
  333. }
  334. }
  335. ],
  336. "responses": {
  337. "200": {
  338. "description": "",
  339. "content": {
  340. "application/json": {
  341. "schema": {
  342. "$ref": "#/components/schemas/R",
  343. "description": "响应信息主体"
  344. },
  345. "example": {
  346. "ok": false,
  347. "code": null,
  348. "msg": "",
  349. "data": {}
  350. }
  351. }
  352. },
  353. "headers": {}
  354. }
  355. },
  356. "security": [
  357. {
  358. "bearer": []
  359. }
  360. ]
  361. }
  362. },
  363. "/agentUser/edit/{id:^\\d+$}": {
  364. "patch": {
  365. "summary": "修改",
  366. "deprecated": false,
  367. "description": "",
  368. "tags": [],
  369. "parameters": [
  370. {
  371. "name": "id",
  372. "in": "path",
  373. "description": "",
  374. "required": true,
  375. "schema": {
  376. "type": "integer"
  377. }
  378. }
  379. ],
  380. "requestBody": {
  381. "content": {
  382. "application/json": {
  383. "schema": {
  384. "$ref": "#/components/schemas/AgentUserROUpdate",
  385. "description": ""
  386. }
  387. }
  388. }
  389. },
  390. "responses": {
  391. "200": {
  392. "description": "",
  393. "content": {
  394. "application/json": {
  395. "schema": {
  396. "$ref": "#/components/schemas/R",
  397. "description": "响应信息主体"
  398. },
  399. "example": {
  400. "ok": false,
  401. "code": null,
  402. "msg": "",
  403. "data": {}
  404. }
  405. }
  406. },
  407. "headers": {}
  408. }
  409. },
  410. "security": [
  411. {
  412. "bearer": []
  413. }
  414. ]
  415. }
  416. }
  417. },
  418. "components": {
  419. "schemas": {
  420. "R": {
  421. "type": "object",
  422. "properties": {
  423. "ok": {
  424. "type": "boolean"
  425. },
  426. "code": {
  427. "description": "返回标记:成功标记=0,失败标记=1",
  428. "type": "null"
  429. },
  430. "msg": {
  431. "type": "string",
  432. "description": "返回信息"
  433. },
  434. "data": {
  435. "type": "object",
  436. "properties": {},
  437. "description": "数据"
  438. }
  439. }
  440. },
  441. "AgentUserPageDTO": {
  442. "type": "object",
  443. "properties": {
  444. "userId": {
  445. "type": "integer",
  446. "description": "用户ID",
  447. "format": "int64"
  448. },
  449. "status": {
  450. "type": "boolean",
  451. "description": "启用状态"
  452. },
  453. "agentName": {
  454. "type": "string",
  455. "description": "代理商名称"
  456. }
  457. }
  458. },
  459. "AgentUserROAdd": {
  460. "type": "object",
  461. "properties": {
  462. "username": {
  463. "type": "string",
  464. "description": "用户名"
  465. },
  466. "agentName": {
  467. "type": "string",
  468. "description": "代理商名称"
  469. },
  470. "realname": {
  471. "type": "string",
  472. "description": "真实姓名"
  473. },
  474. "phone": {
  475. "type": "string",
  476. "description": "手机号码"
  477. },
  478. "idcard": {
  479. "type": "string",
  480. "description": "身份证号"
  481. },
  482. "address": {
  483. "type": "string",
  484. "description": "通讯地址"
  485. },
  486. "email": {
  487. "type": "string",
  488. "description": "邮箱地址"
  489. },
  490. "offlineRechargeRate": {
  491. "type": "number",
  492. "description": "线下充值费率"
  493. },
  494. "status": {
  495. "type": "boolean",
  496. "description": "启用状态"
  497. },
  498. "bankName": {
  499. "type": "string",
  500. "description": "开户行名称"
  501. },
  502. "bankBranch": {
  503. "type": "string",
  504. "description": "开户网点"
  505. },
  506. "accountName": {
  507. "type": "string",
  508. "description": "账户名"
  509. },
  510. "accountNum": {
  511. "type": "string",
  512. "description": "账户号"
  513. },
  514. "bankProvince": {
  515. "type": "string",
  516. "description": "开户省"
  517. },
  518. "bankCity": {
  519. "type": "string",
  520. "description": "开户市"
  521. },
  522. "newPwd": {
  523. "type": "string",
  524. "description": "新密码"
  525. },
  526. "oldPwd": {
  527. "type": "string",
  528. "description": "旧密码"
  529. }
  530. },
  531. "required": ["username", "agentName", "realname", "phone", "email"]
  532. },
  533. "OrderItem": {
  534. "type": "object",
  535. "properties": {
  536. "column": {
  537. "type": "string",
  538. "description": ""
  539. },
  540. "asc": {
  541. "type": "boolean",
  542. "description": ""
  543. }
  544. }
  545. },
  546. "PageAgentUserPageDTO": {
  547. "type": "object",
  548. "properties": {
  549. "records": {
  550. "type": "array",
  551. "items": {
  552. "$ref": "#/components/schemas/AgentUserPageDTO",
  553. "description": ""
  554. },
  555. "description": ""
  556. },
  557. "total": {
  558. "type": "integer",
  559. "description": "",
  560. "format": "int64"
  561. },
  562. "size": {
  563. "type": "integer",
  564. "description": "",
  565. "format": "int64"
  566. },
  567. "current": {
  568. "type": "integer",
  569. "description": "",
  570. "format": "int64"
  571. },
  572. "orders": {
  573. "type": "array",
  574. "items": {
  575. "$ref": "#/components/schemas/OrderItem",
  576. "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
  577. },
  578. "description": ""
  579. },
  580. "optimizeCountSql": {
  581. "type": "boolean",
  582. "description": ""
  583. },
  584. "searchCount": {
  585. "type": "boolean",
  586. "description": ""
  587. },
  588. "optimizeJoinOfCountSql": {
  589. "type": "boolean",
  590. "description": ""
  591. },
  592. "maxLimit": {
  593. "type": "integer",
  594. "description": "",
  595. "format": "int64"
  596. },
  597. "countId": {
  598. "type": "string",
  599. "description": ""
  600. }
  601. }
  602. },
  603. "RPageAgentUserPageDTO": {
  604. "type": "object",
  605. "properties": {
  606. "code": {
  607. "type": "integer",
  608. "description": "返回标记:成功标记=0,失败标记=1"
  609. },
  610. "msg": {
  611. "type": "string",
  612. "description": "返回信息"
  613. },
  614. "data": {
  615. "$ref": "#/components/schemas/PageAgentUserPageDTO",
  616. "description": "数据"
  617. }
  618. }
  619. },
  620. "AgentUserROUpdate": {
  621. "type": "object",
  622. "properties": {
  623. "username": {
  624. "type": "string",
  625. "description": "用户名"
  626. },
  627. "agentName": {
  628. "type": "string",
  629. "description": "代理商名称"
  630. },
  631. "realname": {
  632. "type": "string",
  633. "description": "真实姓名"
  634. },
  635. "phone": {
  636. "type": "string",
  637. "description": "手机号码"
  638. },
  639. "idcard": {
  640. "type": "string",
  641. "description": "身份证号"
  642. },
  643. "address": {
  644. "type": "string",
  645. "description": "通讯地址"
  646. },
  647. "email": {
  648. "type": "string",
  649. "description": "邮箱地址"
  650. },
  651. "offlineRechargeRate": {
  652. "type": "number",
  653. "description": "线下充值费率"
  654. },
  655. "status": {
  656. "type": "boolean",
  657. "description": "启用状态"
  658. },
  659. "bankName": {
  660. "type": "string",
  661. "description": "开户行名称"
  662. },
  663. "bankBranch": {
  664. "type": "string",
  665. "description": "开户网点"
  666. },
  667. "accountName": {
  668. "type": "string",
  669. "description": "账户名"
  670. },
  671. "accountNum": {
  672. "type": "string",
  673. "description": "账户号"
  674. },
  675. "bankProvince": {
  676. "type": "string",
  677. "description": "开户省"
  678. },
  679. "bankCity": {
  680. "type": "string",
  681. "description": "开户市"
  682. },
  683. "newPwd": {
  684. "type": "string",
  685. "description": "新密码"
  686. },
  687. "oldPwd": {
  688. "type": "string",
  689. "description": "旧密码"
  690. }
  691. },
  692. "required": ["username", "agentName", "realname", "phone", "email"]
  693. },
  694. "AgentUserROChangePwd": {
  695. "type": "object",
  696. "properties": {
  697. "username": {
  698. "type": "string",
  699. "description": "用户名"
  700. },
  701. "agentName": {
  702. "type": "string",
  703. "description": "代理商名称"
  704. },
  705. "realname": {
  706. "type": "string",
  707. "description": "真实姓名"
  708. },
  709. "phone": {
  710. "type": "string",
  711. "description": "手机号码"
  712. },
  713. "idcard": {
  714. "type": "string",
  715. "description": "身份证号"
  716. },
  717. "address": {
  718. "type": "string",
  719. "description": "通讯地址"
  720. },
  721. "email": {
  722. "type": "string",
  723. "description": "邮箱地址"
  724. },
  725. "offlineRechargeRate": {
  726. "type": "number",
  727. "description": "线下充值费率"
  728. },
  729. "status": {
  730. "type": "boolean",
  731. "description": "启用状态"
  732. },
  733. "bankName": {
  734. "type": "string",
  735. "description": "开户行名称"
  736. },
  737. "bankBranch": {
  738. "type": "string",
  739. "description": "开户网点"
  740. },
  741. "accountName": {
  742. "type": "string",
  743. "description": "账户名"
  744. },
  745. "accountNum": {
  746. "type": "string",
  747. "description": "账户号"
  748. },
  749. "bankProvince": {
  750. "type": "string",
  751. "description": "开户省"
  752. },
  753. "bankCity": {
  754. "type": "string",
  755. "description": "开户市"
  756. },
  757. "newPwd": {
  758. "type": "string",
  759. "description": "新密码"
  760. },
  761. "oldPwd": {
  762. "type": "string",
  763. "description": "旧密码"
  764. }
  765. },
  766. "required": ["newPwd", "oldPwd"]
  767. }
  768. },
  769. "securitySchemes": {
  770. "bearer": {
  771. "type": "http",
  772. "scheme": "bearer"
  773. }
  774. }
  775. },
  776. "servers": [],
  777. "security": []
  778. }