shanghu.json 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [],
  9. "paths": {
  10. "/merchantUser/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/RPageMerchantUserPageDTO"
  137. },
  138. "example": {
  139. "code": 0,
  140. "msg": "",
  141. "data": {
  142. "records": [
  143. {
  144. "userId": 0,
  145. "nickname": "",
  146. "agentId": "",
  147. "agentName": "",
  148. "status": false
  149. }
  150. ],
  151. "total": 0,
  152. "size": 0,
  153. "current": 0,
  154. "orders": [
  155. {
  156. "column": "",
  157. "asc": false
  158. }
  159. ],
  160. "optimizeCountSql": false,
  161. "searchCount": false,
  162. "optimizeJoinOfCountSql": false,
  163. "maxLimit": 0,
  164. "countId": ""
  165. }
  166. }
  167. }
  168. },
  169. "headers": {}
  170. }
  171. },
  172. "security": [
  173. {
  174. "bearer": []
  175. }
  176. ]
  177. }
  178. },
  179. "/merchantUser/agentList/{id:^\\d+$}": {
  180. "get": {
  181. "summary": "所属代理商列表",
  182. "deprecated": false,
  183. "description": "",
  184. "tags": [],
  185. "parameters": [
  186. {
  187. "name": "id",
  188. "in": "path",
  189. "description": "",
  190. "required": true,
  191. "schema": {
  192. "type": "integer"
  193. }
  194. }
  195. ],
  196. "responses": {
  197. "200": {
  198. "description": "",
  199. "content": {
  200. "application/json": {
  201. "schema": {
  202. "$ref": "#/components/schemas/RListAgentUser"
  203. },
  204. "example": {
  205. "code": 0,
  206. "msg": "",
  207. "data": [
  208. {
  209. "userId": 0,
  210. "username": "",
  211. "agentName": "",
  212. "password": "",
  213. "realname": "",
  214. "phone": "",
  215. "idcard": "",
  216. "address": "",
  217. "email": "",
  218. "offlineRechargeRate": 0,
  219. "status": false,
  220. "bankName": "",
  221. "bankBranch": "",
  222. "accountName": "",
  223. "accountNum": "",
  224. "bankProvince": "",
  225. "bankCity": "",
  226. "createBy": "",
  227. "updateBy": "",
  228. "createTime": "",
  229. "updateTime": "",
  230. "tenantId": 0
  231. }
  232. ]
  233. }
  234. }
  235. },
  236. "headers": {}
  237. }
  238. },
  239. "security": [
  240. {
  241. "bearer": []
  242. }
  243. ]
  244. }
  245. },
  246. "/merchantUser/save": {
  247. "post": {
  248. "summary": "新增",
  249. "deprecated": false,
  250. "description": "",
  251. "tags": [],
  252. "parameters": [],
  253. "requestBody": {
  254. "content": {
  255. "application/json": {
  256. "schema": {
  257. "$ref": "#/components/schemas/MerchantUserROAdd",
  258. "description": ""
  259. }
  260. }
  261. }
  262. },
  263. "responses": {
  264. "200": {
  265. "description": "",
  266. "content": {
  267. "application/json": {
  268. "schema": {
  269. "$ref": "#/components/schemas/R",
  270. "description": "响应信息主体"
  271. },
  272. "example": {
  273. "ok": false,
  274. "code": null,
  275. "msg": "",
  276. "data": {}
  277. }
  278. }
  279. },
  280. "headers": {}
  281. }
  282. },
  283. "security": [
  284. {
  285. "bearer": []
  286. }
  287. ]
  288. }
  289. },
  290. "/merchantUser/changePwd/{id:^\\d+$}": {
  291. "patch": {
  292. "summary": "修改密码",
  293. "deprecated": false,
  294. "description": "",
  295. "tags": [],
  296. "parameters": [
  297. {
  298. "name": "id",
  299. "in": "path",
  300. "description": "",
  301. "required": true,
  302. "schema": {
  303. "type": "integer"
  304. }
  305. }
  306. ],
  307. "requestBody": {
  308. "content": {
  309. "application/json": {
  310. "schema": {
  311. "$ref": "#/components/schemas/MerchantUserROChangePwd",
  312. "description": ""
  313. }
  314. }
  315. }
  316. },
  317. "responses": {
  318. "200": {
  319. "description": "",
  320. "content": {
  321. "application/json": {
  322. "schema": {
  323. "$ref": "#/components/schemas/R",
  324. "description": "响应信息主体"
  325. },
  326. "example": {
  327. "ok": false,
  328. "code": null,
  329. "msg": "",
  330. "data": {}
  331. }
  332. }
  333. },
  334. "headers": {}
  335. }
  336. },
  337. "security": [
  338. {
  339. "bearer": []
  340. }
  341. ]
  342. }
  343. },
  344. "/merchantUser/changeStatus/{id:^\\d+$}": {
  345. "patch": {
  346. "summary": "启用禁用",
  347. "deprecated": false,
  348. "description": "",
  349. "tags": [],
  350. "parameters": [
  351. {
  352. "name": "id",
  353. "in": "path",
  354. "description": "",
  355. "required": true,
  356. "schema": {
  357. "type": "integer"
  358. }
  359. }
  360. ],
  361. "responses": {
  362. "200": {
  363. "description": "",
  364. "content": {
  365. "application/json": {
  366. "schema": {
  367. "$ref": "#/components/schemas/R",
  368. "description": "响应信息主体"
  369. },
  370. "example": {
  371. "ok": false,
  372. "code": null,
  373. "msg": "",
  374. "data": {}
  375. }
  376. }
  377. },
  378. "headers": {}
  379. }
  380. },
  381. "security": [
  382. {
  383. "bearer": []
  384. }
  385. ]
  386. }
  387. },
  388. "/merchantUser/info/{id:^\\d+$}": {
  389. "get": {
  390. "summary": "详情",
  391. "deprecated": false,
  392. "description": "",
  393. "tags": [],
  394. "parameters": [
  395. {
  396. "name": "id",
  397. "in": "path",
  398. "description": "",
  399. "required": true,
  400. "schema": {
  401. "type": "integer"
  402. }
  403. }
  404. ],
  405. "responses": {
  406. "200": {
  407. "description": "",
  408. "content": {
  409. "application/json": {
  410. "schema": {
  411. "$ref": "#/components/schemas/RMerchantUserInfoVO"
  412. },
  413. "example": {
  414. "code": 0,
  415. "msg": "",
  416. "data": {
  417. "userId": 0,
  418. "username": "",
  419. "merchantName": "",
  420. "phone": "",
  421. "email": "",
  422. "websiteName": "",
  423. "websiteAddress": "",
  424. "appId": "",
  425. "idcard": "",
  426. "realname": "",
  427. "contactAddress": "",
  428. "offlineRechargeRate": 0,
  429. "status": false,
  430. "agentId": 0,
  431. "agentName": ""
  432. }
  433. }
  434. }
  435. },
  436. "headers": {}
  437. }
  438. },
  439. "security": [
  440. {
  441. "bearer": []
  442. }
  443. ]
  444. }
  445. },
  446. "/merchantUser/edit/{id:^\\d+$}": {
  447. "patch": {
  448. "summary": "修改",
  449. "deprecated": false,
  450. "description": "",
  451. "tags": [],
  452. "parameters": [
  453. {
  454. "name": "id",
  455. "in": "path",
  456. "description": "",
  457. "required": true,
  458. "schema": {
  459. "type": "integer"
  460. }
  461. }
  462. ],
  463. "requestBody": {
  464. "content": {
  465. "application/json": {
  466. "schema": {
  467. "$ref": "#/components/schemas/MerchantUserROUpdate",
  468. "description": ""
  469. }
  470. }
  471. }
  472. },
  473. "responses": {
  474. "200": {
  475. "description": "",
  476. "content": {
  477. "application/json": {
  478. "schema": {
  479. "$ref": "#/components/schemas/R",
  480. "description": "响应信息主体"
  481. },
  482. "example": {
  483. "ok": false,
  484. "code": null,
  485. "msg": "",
  486. "data": {}
  487. }
  488. }
  489. },
  490. "headers": {}
  491. }
  492. },
  493. "security": [
  494. {
  495. "bearer": []
  496. }
  497. ]
  498. }
  499. }
  500. },
  501. "components": {
  502. "schemas": {
  503. "R": {
  504. "type": "object",
  505. "properties": {
  506. "ok": {
  507. "type": "boolean"
  508. },
  509. "code": {
  510. "description": "返回标记:成功标记=0,失败标记=1",
  511. "type": "null"
  512. },
  513. "msg": {
  514. "type": "string",
  515. "description": "返回信息"
  516. },
  517. "data": {
  518. "type": "object",
  519. "properties": {},
  520. "description": "数据"
  521. }
  522. }
  523. },
  524. "MerchantUserPageDTO": {
  525. "type": "object",
  526. "properties": {
  527. "userId": {
  528. "type": "integer",
  529. "description": "用户ID",
  530. "format": "int64"
  531. },
  532. "nickname": {
  533. "type": "string",
  534. "description": "昵称"
  535. },
  536. "agentId": {
  537. "type": "string",
  538. "description": "代理商id"
  539. },
  540. "agentName": {
  541. "type": "string",
  542. "description": "代理商名称"
  543. },
  544. "status": {
  545. "type": "boolean",
  546. "description": "启用状态"
  547. }
  548. }
  549. },
  550. "OrderItem": {
  551. "type": "object",
  552. "properties": {
  553. "column": {
  554. "type": "string",
  555. "description": ""
  556. },
  557. "asc": {
  558. "type": "boolean",
  559. "description": ""
  560. }
  561. }
  562. },
  563. "PageMerchantUserPageDTO": {
  564. "type": "object",
  565. "properties": {
  566. "records": {
  567. "type": "array",
  568. "items": {
  569. "$ref": "#/components/schemas/MerchantUserPageDTO",
  570. "description": ""
  571. },
  572. "description": ""
  573. },
  574. "total": {
  575. "type": "integer",
  576. "description": "",
  577. "format": "int64"
  578. },
  579. "size": {
  580. "type": "integer",
  581. "description": "",
  582. "format": "int64"
  583. },
  584. "current": {
  585. "type": "integer",
  586. "description": "",
  587. "format": "int64"
  588. },
  589. "orders": {
  590. "type": "array",
  591. "items": {
  592. "$ref": "#/components/schemas/OrderItem",
  593. "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
  594. },
  595. "description": ""
  596. },
  597. "optimizeCountSql": {
  598. "type": "boolean",
  599. "description": ""
  600. },
  601. "searchCount": {
  602. "type": "boolean",
  603. "description": ""
  604. },
  605. "optimizeJoinOfCountSql": {
  606. "type": "boolean",
  607. "description": ""
  608. },
  609. "maxLimit": {
  610. "type": "integer",
  611. "description": "",
  612. "format": "int64"
  613. },
  614. "countId": {
  615. "type": "string",
  616. "description": ""
  617. }
  618. }
  619. },
  620. "RPageMerchantUserPageDTO": {
  621. "type": "object",
  622. "properties": {
  623. "code": {
  624. "type": "integer",
  625. "description": "返回标记:成功标记=0,失败标记=1"
  626. },
  627. "msg": {
  628. "type": "string",
  629. "description": "返回信息"
  630. },
  631. "data": {
  632. "$ref": "#/components/schemas/PageMerchantUserPageDTO",
  633. "description": "数据"
  634. }
  635. }
  636. },
  637. "RListAgentUser": {
  638. "type": "object",
  639. "properties": {
  640. "code": {
  641. "type": "integer",
  642. "description": "返回标记:成功标记=0,失败标记=1"
  643. },
  644. "msg": {
  645. "type": "string",
  646. "description": "返回信息"
  647. },
  648. "data": {
  649. "type": "array",
  650. "items": {
  651. "$ref": "#/components/schemas/AgentUser",
  652. "description": ""
  653. },
  654. "description": "数据"
  655. }
  656. }
  657. },
  658. "AgentUser": {
  659. "type": "object",
  660. "properties": {
  661. "userId": {
  662. "type": "integer",
  663. "description": "用户ID",
  664. "format": "int64"
  665. },
  666. "username": {
  667. "type": "string",
  668. "description": "用户名"
  669. },
  670. "agentName": {
  671. "type": "string",
  672. "description": "代理商名称"
  673. },
  674. "password": {
  675. "type": "string",
  676. "description": "密码"
  677. },
  678. "realname": {
  679. "type": "string",
  680. "description": "真实姓名"
  681. },
  682. "phone": {
  683. "type": "string",
  684. "description": "手机号"
  685. },
  686. "idcard": {
  687. "type": "string",
  688. "description": "身份证号"
  689. },
  690. "address": {
  691. "type": "string",
  692. "description": "通讯地址"
  693. },
  694. "email": {
  695. "type": "string",
  696. "description": "邮箱地址"
  697. },
  698. "offlineRechargeRate": {
  699. "type": "number",
  700. "description": "线下充值费率"
  701. },
  702. "status": {
  703. "type": "boolean",
  704. "description": "启用状态"
  705. },
  706. "bankName": {
  707. "type": "string",
  708. "description": "开户行名称"
  709. },
  710. "bankBranch": {
  711. "type": "string",
  712. "description": "开户网点"
  713. },
  714. "accountName": {
  715. "type": "string",
  716. "description": "账户名"
  717. },
  718. "accountNum": {
  719. "type": "string",
  720. "description": "账户号"
  721. },
  722. "bankProvince": {
  723. "type": "string",
  724. "description": "开户省"
  725. },
  726. "bankCity": {
  727. "type": "string",
  728. "description": "开户市"
  729. },
  730. "createBy": {
  731. "type": "string",
  732. "description": "创建人"
  733. },
  734. "updateBy": {
  735. "type": "string",
  736. "description": "修改人"
  737. },
  738. "createTime": {
  739. "type": "string",
  740. "description": "创建时间"
  741. },
  742. "updateTime": {
  743. "type": "string",
  744. "description": "修改时间"
  745. },
  746. "tenantId": {
  747. "type": "integer",
  748. "description": "所属租户ID",
  749. "format": "int64"
  750. }
  751. }
  752. },
  753. "MerchantUserROAdd": {
  754. "type": "object",
  755. "properties": {
  756. "username": {
  757. "type": "string",
  758. "description": "用户名"
  759. },
  760. "merchantName": {
  761. "type": "string",
  762. "description": "商户名称"
  763. },
  764. "phone": {
  765. "type": "string",
  766. "description": "电话号码"
  767. },
  768. "email": {
  769. "type": "string",
  770. "description": "邮箱地址"
  771. },
  772. "websiteName": {
  773. "type": "string",
  774. "description": "网站名称"
  775. },
  776. "websiteAddress": {
  777. "type": "string",
  778. "description": "网站地址"
  779. },
  780. "idcard": {
  781. "type": "string",
  782. "description": "身份证号"
  783. },
  784. "realname": {
  785. "type": "string",
  786. "description": "真实姓名"
  787. },
  788. "contactAddress": {
  789. "type": "string",
  790. "description": "通讯地址"
  791. },
  792. "offlineRechargeRate": {
  793. "type": "number",
  794. "description": "线下充值费率",
  795. "minimum": 0,
  796. "maximum": 100,
  797. "exclusiveMinimum": true,
  798. "exclusiveMaximum": true
  799. },
  800. "status": {
  801. "type": "boolean",
  802. "description": "启用状态"
  803. },
  804. "agentId": {
  805. "type": "integer",
  806. "description": "所属商户ID",
  807. "format": "int64"
  808. },
  809. "newPwd": {
  810. "type": "string",
  811. "description": "新密码"
  812. },
  813. "oldPwd": {
  814. "type": "string",
  815. "description": "旧密码"
  816. }
  817. },
  818. "required": [
  819. "username",
  820. "merchantName",
  821. "phone",
  822. "email"
  823. ]
  824. },
  825. "MerchantUserROChangePwd": {
  826. "type": "object",
  827. "properties": {
  828. "username": {
  829. "type": "string",
  830. "description": "用户名"
  831. },
  832. "merchantName": {
  833. "type": "string",
  834. "description": "商户名称"
  835. },
  836. "phone": {
  837. "type": "string",
  838. "description": "电话号码"
  839. },
  840. "email": {
  841. "type": "string",
  842. "description": "邮箱地址"
  843. },
  844. "websiteName": {
  845. "type": "string",
  846. "description": "网站名称"
  847. },
  848. "websiteAddress": {
  849. "type": "string",
  850. "description": "网站地址"
  851. },
  852. "idcard": {
  853. "type": "string",
  854. "description": "身份证号"
  855. },
  856. "realname": {
  857. "type": "string",
  858. "description": "真实姓名"
  859. },
  860. "contactAddress": {
  861. "type": "string",
  862. "description": "通讯地址"
  863. },
  864. "offlineRechargeRate": {
  865. "type": "number",
  866. "description": "线下充值费率"
  867. },
  868. "status": {
  869. "type": "boolean",
  870. "description": "启用状态"
  871. },
  872. "agentId": {
  873. "type": "integer",
  874. "description": "所属商户ID",
  875. "format": "int64"
  876. },
  877. "newPwd": {
  878. "type": "string",
  879. "description": "新密码"
  880. },
  881. "oldPwd": {
  882. "type": "string",
  883. "description": "旧密码"
  884. }
  885. },
  886. "required": [
  887. "newPwd",
  888. "oldPwd"
  889. ]
  890. },
  891. "MerchantUserInfoVO": {
  892. "type": "object",
  893. "properties": {
  894. "userId": {
  895. "type": "integer",
  896. "description": "",
  897. "format": "int64"
  898. },
  899. "username": {
  900. "type": "string",
  901. "description": "用户名"
  902. },
  903. "merchantName": {
  904. "type": "string",
  905. "description": "昵称"
  906. },
  907. "phone": {
  908. "type": "string",
  909. "description": "电话号码"
  910. },
  911. "email": {
  912. "type": "string",
  913. "description": "邮箱地址"
  914. },
  915. "websiteName": {
  916. "type": "string",
  917. "description": "网站名称"
  918. },
  919. "websiteAddress": {
  920. "type": "string",
  921. "description": "网站地址"
  922. },
  923. "appId": {
  924. "type": "string",
  925. "description": "appId"
  926. },
  927. "idcard": {
  928. "type": "string",
  929. "description": "身份证号"
  930. },
  931. "realname": {
  932. "type": "string",
  933. "description": "真实姓名"
  934. },
  935. "contactAddress": {
  936. "type": "string",
  937. "description": "通讯地址"
  938. },
  939. "offlineRechargeRate": {
  940. "type": "number",
  941. "description": "线下充值费率"
  942. },
  943. "status": {
  944. "type": "boolean",
  945. "description": "启用状态"
  946. },
  947. "agentId": {
  948. "type": "integer",
  949. "description": "所属商户ID",
  950. "format": "int64"
  951. },
  952. "agentName": {
  953. "type": "string",
  954. "description": "所属商户名称"
  955. }
  956. }
  957. },
  958. "RMerchantUserInfoVO": {
  959. "type": "object",
  960. "properties": {
  961. "code": {
  962. "type": "integer",
  963. "description": "返回标记:成功标记=0,失败标记=1"
  964. },
  965. "msg": {
  966. "type": "string",
  967. "description": "返回信息"
  968. },
  969. "data": {
  970. "$ref": "#/components/schemas/MerchantUserInfoVO",
  971. "description": "数据"
  972. }
  973. }
  974. },
  975. "MerchantUserROUpdate": {
  976. "type": "object",
  977. "properties": {
  978. "username": {
  979. "type": "string",
  980. "description": "用户名"
  981. },
  982. "merchantName": {
  983. "type": "string",
  984. "description": "商户名称"
  985. },
  986. "phone": {
  987. "type": "string",
  988. "description": "电话号码"
  989. },
  990. "email": {
  991. "type": "string",
  992. "description": "邮箱地址"
  993. },
  994. "websiteName": {
  995. "type": "string",
  996. "description": "网站名称"
  997. },
  998. "websiteAddress": {
  999. "type": "string",
  1000. "description": "网站地址"
  1001. },
  1002. "idcard": {
  1003. "type": "string",
  1004. "description": "身份证号"
  1005. },
  1006. "realname": {
  1007. "type": "string",
  1008. "description": "真实姓名"
  1009. },
  1010. "contactAddress": {
  1011. "type": "string",
  1012. "description": "通讯地址"
  1013. },
  1014. "offlineRechargeRate": {
  1015. "type": "number",
  1016. "description": "线下充值费率",
  1017. "minimum": 0,
  1018. "maximum": 100,
  1019. "exclusiveMinimum": true,
  1020. "exclusiveMaximum": true
  1021. },
  1022. "status": {
  1023. "type": "boolean",
  1024. "description": "启用状态"
  1025. },
  1026. "agentId": {
  1027. "type": "integer",
  1028. "description": "所属商户ID",
  1029. "format": "int64"
  1030. },
  1031. "newPwd": {
  1032. "type": "string",
  1033. "description": "新密码"
  1034. },
  1035. "oldPwd": {
  1036. "type": "string",
  1037. "description": "旧密码"
  1038. }
  1039. }
  1040. }
  1041. },
  1042. "securitySchemes": {
  1043. "bearer": {
  1044. "type": "http",
  1045. "scheme": "bearer"
  1046. }
  1047. }
  1048. },
  1049. "servers": [],
  1050. "security": []
  1051. }