shtx.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [],
  9. "paths": {
  10. "/merchantWithdraw/page": {
  11. "post": {
  12. "summary": "分页 merchantWithdraw_admin",
  13. "deprecated": false,
  14. "description": "",
  15. "tags": [],
  16. "parameters": [],
  17. "requestBody": {
  18. "content": {
  19. "application/json": {
  20. "schema": {
  21. "$ref": "#/components/schemas/AgentWithdrawDTO",
  22. "description": ""
  23. }
  24. }
  25. }
  26. },
  27. "responses": {
  28. "200": {
  29. "description": "",
  30. "content": {
  31. "application/json": {
  32. "schema": {
  33. "$ref": "#/components/schemas/RPageMerchantWithdrawPageVO"
  34. },
  35. "examples": {
  36. "1": {
  37. "summary": "成功示例",
  38. "value": {
  39. "code": 0,
  40. "msg": "",
  41. "data": {
  42. "records": [
  43. {
  44. "id": 0,
  45. "merchantId": 0,
  46. "merchantName": "",
  47. "amount": 0,
  48. "type": 0,
  49. "bankName": "",
  50. "bankAccount": "",
  51. "realName": "",
  52. "applyTime": "",
  53. "auditStatus": 0,
  54. "transferStatus": 0,
  55. "failReason": "",
  56. "createdTime": "",
  57. "updatedTime": ""
  58. }
  59. ],
  60. "total": 0,
  61. "size": 0,
  62. "current": 0,
  63. "orders": [
  64. {
  65. "column": "",
  66. "asc": false
  67. }
  68. ],
  69. "optimizeCountSql": false,
  70. "searchCount": false,
  71. "optimizeJoinOfCountSql": false,
  72. "maxLimit": 0,
  73. "countId": ""
  74. }
  75. }
  76. },
  77. "2": {
  78. "summary": "成功示例",
  79. "value": {
  80. "code": 0,
  81. "msg": "",
  82. "data": {
  83. "records": [
  84. {
  85. "id": 0,
  86. "merchantId": 0,
  87. "merchantName": "",
  88. "amount": 0,
  89. "type": 0,
  90. "bankName": "",
  91. "bankAccount": "",
  92. "realName": "",
  93. "applyTime": "",
  94. "auditStatus": 0,
  95. "transferStatus": 0,
  96. "failReason": "",
  97. "createdTime": "",
  98. "updatedTime": ""
  99. }
  100. ],
  101. "total": 0,
  102. "size": 0,
  103. "current": 0,
  104. "orders": [
  105. {
  106. "column": "",
  107. "asc": false
  108. }
  109. ],
  110. "optimizeCountSql": false,
  111. "searchCount": false,
  112. "optimizeJoinOfCountSql": false,
  113. "maxLimit": 0,
  114. "countId": ""
  115. }
  116. }
  117. },
  118. "3": {
  119. "summary": "成功示例",
  120. "value": {
  121. "code": 0,
  122. "msg": "",
  123. "data": {
  124. "records": [
  125. {
  126. "id": 0,
  127. "merchantId": 0,
  128. "merchantName": "",
  129. "amount": 0,
  130. "type": 0,
  131. "bankName": "",
  132. "bankAccount": "",
  133. "realName": "",
  134. "applyTime": "",
  135. "auditStatus": 0,
  136. "transferStatus": 0,
  137. "failReason": "",
  138. "createdTime": "",
  139. "updatedTime": ""
  140. }
  141. ],
  142. "total": 0,
  143. "size": 0,
  144. "current": 0,
  145. "orders": [
  146. {
  147. "column": "",
  148. "asc": false
  149. }
  150. ],
  151. "optimizeCountSql": false,
  152. "searchCount": false,
  153. "optimizeJoinOfCountSql": false,
  154. "maxLimit": 0,
  155. "countId": ""
  156. }
  157. }
  158. }
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "security": [
  165. {
  166. "bearer": []
  167. }
  168. ]
  169. }
  170. },
  171. "/merchantWithdraw/apply": {
  172. "post": {
  173. "summary": "申请提现 merchantWithdraw_apply_admin",
  174. "deprecated": false,
  175. "description": "",
  176. "tags": [],
  177. "parameters": [],
  178. "requestBody": {
  179. "content": {
  180. "application/json": {
  181. "schema": {
  182. "$ref": "#/components/schemas/AddAgentWithdrawDTO",
  183. "description": ""
  184. }
  185. }
  186. }
  187. },
  188. "responses": {
  189. "200": {
  190. "description": "",
  191. "content": {
  192. "application/json": {
  193. "schema": {
  194. "$ref": "#/components/schemas/R",
  195. "description": "响应信息主体"
  196. },
  197. "examples": {
  198. "1": {
  199. "summary": "成功示例",
  200. "value": {
  201. "ok": false,
  202. "code": 0,
  203. "msg": "",
  204. "data": {}
  205. }
  206. },
  207. "2": {
  208. "summary": "成功示例",
  209. "value": {
  210. "ok": false,
  211. "code": 0,
  212. "msg": "",
  213. "data": {}
  214. }
  215. },
  216. "3": {
  217. "summary": "成功示例",
  218. "value": {
  219. "ok": false,
  220. "code": 0,
  221. "msg": "",
  222. "data": {}
  223. }
  224. }
  225. }
  226. }
  227. }
  228. }
  229. },
  230. "security": [
  231. {
  232. "bearer": []
  233. }
  234. ]
  235. }
  236. }
  237. },
  238. "components": {
  239. "schemas": {
  240. "MerchantWithdrawPageVO": {
  241. "type": "object",
  242. "properties": {
  243. "id": {
  244. "type": "integer",
  245. "description": "",
  246. "format": "int64"
  247. },
  248. "merchantId": {
  249. "type": "integer",
  250. "description": "代理商ID",
  251. "format": "int64"
  252. },
  253. "merchantName": {
  254. "type": "string",
  255. "description": "代理商明显"
  256. },
  257. "amount": {
  258. "type": "number",
  259. "description": "提现金额"
  260. },
  261. "type": {
  262. "type": "integer",
  263. "description": "提现类型:1 银行卡 2 U"
  264. },
  265. "bankName": {
  266. "type": "string",
  267. "description": "银行名称"
  268. },
  269. "bankAccount": {
  270. "type": "string",
  271. "description": "银行卡账号"
  272. },
  273. "realName": {
  274. "type": "string",
  275. "description": "姓名"
  276. },
  277. "applyTime": {
  278. "type": "string",
  279. "description": "审核时间"
  280. },
  281. "auditStatus": {
  282. "type": "integer",
  283. "description": "0待审核 1通过 2拒绝"
  284. },
  285. "transferStatus": {
  286. "type": "integer",
  287. "description": "0待打款 1成功 2失败"
  288. },
  289. "failReason": {
  290. "type": "string",
  291. "description": "拒绝原因"
  292. },
  293. "createdTime": {
  294. "type": "string",
  295. "description": "添加时间"
  296. },
  297. "updatedTime": {
  298. "type": "string",
  299. "description": "更新时间"
  300. }
  301. }
  302. },
  303. "": {
  304. "type": "object",
  305. "properties": {}
  306. },
  307. "PageMerchantWithdrawPageVO": {
  308. "type": "object",
  309. "properties": {
  310. "records": {
  311. "type": "array",
  312. "items": {
  313. "$ref": "#/components/schemas/MerchantWithdrawPageVO",
  314. "description": "com.mw.bridging.admin.api.vo.merchant.MerchantWithdrawPageVO"
  315. },
  316. "description": ""
  317. },
  318. "total": {
  319. "type": "integer",
  320. "description": "",
  321. "format": "int64"
  322. },
  323. "size": {
  324. "type": "integer",
  325. "description": "",
  326. "format": "int64"
  327. },
  328. "current": {
  329. "type": "integer",
  330. "description": "",
  331. "format": "int64"
  332. },
  333. "orders": {
  334. "type": "array",
  335. "items": {
  336. "$ref": "#/components/schemas/OrderItem",
  337. "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
  338. },
  339. "description": ""
  340. },
  341. "optimizeCountSql": {
  342. "type": "boolean",
  343. "description": ""
  344. },
  345. "searchCount": {
  346. "type": "boolean",
  347. "description": ""
  348. },
  349. "optimizeJoinOfCountSql": {
  350. "type": "boolean",
  351. "description": ""
  352. },
  353. "maxLimit": {
  354. "type": "integer",
  355. "description": "",
  356. "format": "int64"
  357. },
  358. "countId": {
  359. "type": "string",
  360. "description": ""
  361. }
  362. }
  363. },
  364. "RPageMerchantWithdrawPageVO": {
  365. "type": "object",
  366. "properties": {
  367. "code": {
  368. "type": "integer",
  369. "description": "返回标记:成功标记=0,失败标记=1"
  370. },
  371. "msg": {
  372. "type": "string",
  373. "description": "返回信息"
  374. },
  375. "data": {
  376. "$ref": "#/components/schemas/PageMerchantWithdrawPageVO",
  377. "description": "数据"
  378. }
  379. }
  380. },
  381. "R": {
  382. "type": "object",
  383. "properties": {
  384. "ok": {
  385. "type": "boolean"
  386. },
  387. "code": {
  388. "type": "integer",
  389. "description": "返回标记:成功标记=0,失败标记=1"
  390. },
  391. "msg": {
  392. "type": "string",
  393. "description": "返回信息"
  394. },
  395. "data": {
  396. "type": "object",
  397. "properties": {},
  398. "description": "数据"
  399. }
  400. }
  401. },
  402. "AgentWithdrawDTO": {
  403. "type": "object",
  404. "properties": {
  405. "records": {
  406. "type": "array",
  407. "items": {
  408. "$ref": "#/components/schemas/1"
  409. },
  410. "description": ""
  411. },
  412. "total": {
  413. "type": "integer",
  414. "description": "",
  415. "format": "int64"
  416. },
  417. "size": {
  418. "type": "integer",
  419. "description": "",
  420. "format": "int64"
  421. },
  422. "current": {
  423. "type": "integer",
  424. "description": "",
  425. "format": "int64"
  426. },
  427. "orders": {
  428. "type": "array",
  429. "items": {
  430. "$ref": "#/components/schemas/OrderItem",
  431. "description": "com.baomidou.mybatisplus.core.metadata.OrderItem"
  432. },
  433. "description": ""
  434. },
  435. "optimizeCountSql": {
  436. "type": "boolean",
  437. "description": ""
  438. },
  439. "searchCount": {
  440. "type": "boolean",
  441. "description": ""
  442. },
  443. "optimizeJoinOfCountSql": {
  444. "type": "boolean",
  445. "description": ""
  446. },
  447. "maxLimit": {
  448. "type": "integer",
  449. "description": "",
  450. "format": "int64"
  451. },
  452. "countId": {
  453. "type": "string",
  454. "description": ""
  455. },
  456. "auditStatus": {
  457. "type": "integer",
  458. "description": "0待审核 1通过 2拒绝"
  459. },
  460. "transferStatus": {
  461. "type": "integer",
  462. "description": "0待打款 1成功 2失败"
  463. },
  464. "bankAccount": {
  465. "type": "string",
  466. "description": "银行卡账号"
  467. },
  468. "realName": {
  469. "type": "string",
  470. "description": "姓名"
  471. },
  472. "startTime": {
  473. "type": "string",
  474. "description": "开始时间"
  475. },
  476. "endTime": {
  477. "type": "string",
  478. "description": "结束时间"
  479. }
  480. }
  481. },
  482. "OrderItem": {
  483. "type": "object",
  484. "properties": {
  485. "column": {
  486. "type": "string",
  487. "description": ""
  488. },
  489. "asc": {
  490. "type": "boolean",
  491. "description": ""
  492. }
  493. }
  494. },
  495. "AddAgentWithdrawDTO": {
  496. "type": "object",
  497. "properties": {
  498. "amount": {
  499. "type": "number",
  500. "description": "提现金额"
  501. },
  502. "type": {
  503. "type": "integer",
  504. "description": "提现类型:1 银行卡 2 U"
  505. },
  506. "bankName": {
  507. "type": "string",
  508. "description": "银行名称"
  509. },
  510. "bankAccount": {
  511. "type": "string",
  512. "description": "银行卡账号"
  513. },
  514. "realName": {
  515. "type": "string",
  516. "description": "姓名"
  517. }
  518. }
  519. }
  520. },
  521. "responses": {},
  522. "securitySchemes": {
  523. "bearer": {
  524. "type": "http",
  525. "scheme": "bearer"
  526. }
  527. }
  528. },
  529. "servers": [],
  530. "security": []
  531. }