swagger.json 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "\u5bfc\u8d2dAPI\u6587\u6863",
  5. "version": "1.0.0"
  6. },
  7. "host": "test-daogou.codedreamit.com/api",
  8. "basePath": "/",
  9. "schemes": [
  10. "http"
  11. ],
  12. "paths": {
  13. "/home/list": {
  14. "get": {
  15. "tags": [
  16. "\u9996\u9875\u7ba1\u7406"
  17. ],
  18. "summary": "\u83b7\u53d6\u7701\u94b1\u5217\u8868\u63a5\u53e3",
  19. "description": "\u83b7\u53d6\u7701\u94b1\u5217\u8868\u63a5\u53e3",
  20. "produces": [
  21. "application/json"
  22. ],
  23. "responses": {
  24. "200": {
  25. "description": "success",
  26. "schema": {
  27. "properties": {
  28. "category_type_name": {
  29. "description": "\u7c7b\u578b\u540d\u79f0",
  30. "type": "string"
  31. },
  32. "category_data": {
  33. "description": "\u6570\u636e",
  34. "type": "array",
  35. "items": {
  36. "properties": {
  37. "category_name": {
  38. "description": "\u540d\u79f0",
  39. "type": "string"
  40. },
  41. "category_img_url": {
  42. "description": "\u56fe\u6807",
  43. "type": "string"
  44. },
  45. "link_url": {
  46. "description": "\u8df3\u8f6c\u5730\u5740",
  47. "type": "string"
  48. }
  49. }
  50. }
  51. }
  52. }
  53. }
  54. },
  55. "403": {
  56. "description": "fail",
  57. "schema": {
  58. "$ref": "#/definitions/ErrorBean"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/home/commission/list": {
  65. "get": {
  66. "tags": [
  67. "\u9996\u9875\u7ba1\u7406"
  68. ],
  69. "summary": "\u53cd\u94b1\u8d5a\u94b1\u5217\u8868\u63a5\u53e3",
  70. "description": "\u53cd\u94b1\u8d5a\u94b1\u5217\u8868\u63a5\u53e3",
  71. "produces": [
  72. "application/json"
  73. ],
  74. "parameters": [
  75. {
  76. "name": "type",
  77. "in": "query",
  78. "description": "\u7c7b\u578b(0\u8d5a\u94b11\u53cd\u94b1)",
  79. "type": "string"
  80. }
  81. ],
  82. "responses": {
  83. "200": {
  84. "description": "success",
  85. "schema": {
  86. "properties": {
  87. "total": {
  88. "description": "\u603b\u6570\u91cf",
  89. "type": "string"
  90. },
  91. "list": {
  92. "description": "\u6570\u636e",
  93. "type": "array",
  94. "items": {
  95. "properties": {
  96. "order_commission": {
  97. "description": "\u8ba2\u5355\u4f63\u91d1(\u5355\u4f4d\u4e3a\u5206)",
  98. "type": "string"
  99. },
  100. "commission_status": {
  101. "description": "\u4f63\u91d1\u72b6\u6001(0\u672a\u7ed3\u7b971\u5df2\u7ed3\u7b972\u5df2\u9000\u6b3e)",
  102. "type": "string"
  103. },
  104. "commission_type": {
  105. "description": "\u4f63\u91d1\u7c7b\u578b",
  106. "type": "string"
  107. },
  108. "created_at": {
  109. "description": "\u521b\u5efa\u65f6\u95f4",
  110. "type": "string"
  111. },
  112. "user_head_img_url": {
  113. "description": "\u8d5a\u94b1\u5934\u50cf",
  114. "type": "string"
  115. },
  116. "user_provider_head_img_url": {
  117. "description": "\u53cd\u94b1\u5934\u50cf",
  118. "type": "string"
  119. },
  120. "order_title": {
  121. "description": "\u8ba2\u5355\u6807\u9898",
  122. "type": "string"
  123. },
  124. "user_nickname": {
  125. "description": "\u7528\u6237\u6635\u79f0",
  126. "type": "string"
  127. }
  128. }
  129. }
  130. }
  131. }
  132. }
  133. },
  134. "403": {
  135. "description": "fail",
  136. "schema": {
  137. "$ref": "#/definitions/ErrorBean"
  138. }
  139. }
  140. }
  141. }
  142. },
  143. "/order/list": {
  144. "post": {
  145. "tags": [
  146. "\u8ba2\u5355\u7ba1\u7406"
  147. ],
  148. "summary": "\u7528\u6237\u8ba2\u5355\u5217\u8868\u63a5\u53e3",
  149. "description": "\u7528\u6237\u8ba2\u5355\u5217\u8868\u63a5\u53e3",
  150. "produces": [
  151. "application/json"
  152. ],
  153. "parameters": [
  154. {
  155. "name": "page",
  156. "in": "query",
  157. "description": "\u7b2c\u51e0\u9875",
  158. "type": "string"
  159. },
  160. {
  161. "name": "page_size",
  162. "in": "query",
  163. "description": "\u6bcf\u9875\u6570\u91cf",
  164. "type": "string"
  165. },
  166. {
  167. "name": "order_platform_son_type",
  168. "in": "query",
  169. "description": "\u8ba2\u5355\u7c7b\u578b(0\u672a\u5168\u90e8)",
  170. "type": "string"
  171. },
  172. {
  173. "name": "order_status",
  174. "in": "query",
  175. "description": "\u8ba2\u5355\u72b6\u6001(1\u672a\u7ed3\u7b972\u5df2\u7ed3\u7b97(0\u4e3a\u5168\u90e8))",
  176. "type": "string"
  177. }
  178. ],
  179. "responses": {
  180. "200": {
  181. "description": "success",
  182. "schema": {
  183. "$ref": "#/definitions/GetOrderListResultBean"
  184. }
  185. },
  186. "403": {
  187. "description": "fail",
  188. "schema": {
  189. "$ref": "#/definitions/ErrorBean"
  190. }
  191. }
  192. }
  193. }
  194. },
  195. "/order/type/list": {
  196. "get": {
  197. "tags": [
  198. "\u8ba2\u5355\u7ba1\u7406"
  199. ],
  200. "summary": "\u8ba2\u5355\u7c7b\u578b\u63a5\u53e3",
  201. "description": "\u8ba2\u5355\u7c7b\u578b\u63a5\u53e3",
  202. "produces": [
  203. "application/json"
  204. ],
  205. "responses": {
  206. "200": {
  207. "description": "success",
  208. "schema": {
  209. "properties": {
  210. "order_platform_son_type": {
  211. "description": "\u8ba2\u5355\u7c7b\u578bID",
  212. "type": "string"
  213. },
  214. "type_name": {
  215. "description": "\u7c7b\u578b\u540d\u79f0",
  216. "type": "string"
  217. }
  218. }
  219. }
  220. },
  221. "403": {
  222. "description": "fail",
  223. "schema": {
  224. "$ref": "#/definitions/ErrorBean"
  225. }
  226. }
  227. }
  228. }
  229. },
  230. "/order/detail": {
  231. "get": {
  232. "tags": [
  233. "\u8ba2\u5355\u7ba1\u7406"
  234. ],
  235. "summary": "\u8ba2\u5355\u8be6\u60c5\u63a5\u53e3",
  236. "description": "\u8ba2\u5355\u8be6\u60c5\u63a5\u53e3",
  237. "produces": [
  238. "application/json"
  239. ],
  240. "parameters": [
  241. {
  242. "name": "order_id",
  243. "in": "query",
  244. "description": "\u8ba2\u5355ID",
  245. "type": "string"
  246. }
  247. ],
  248. "responses": {
  249. "200": {
  250. "description": "success",
  251. "schema": {
  252. "properties": {
  253. "order_number": {
  254. "description": "\u8ba2\u5355\u7f16\u53f7",
  255. "type": "string"
  256. },
  257. "order_platform_son_type": {
  258. "description": "\u5e73\u53f0",
  259. "type": "string"
  260. },
  261. "order_price": {
  262. "description": "\u8ba2\u5355\u91d1\u989d",
  263. "type": "string"
  264. },
  265. "order_commission": {
  266. "description": "\u9884\u4f30\u6536\u76ca",
  267. "type": "string"
  268. },
  269. "order_status": {
  270. "description": "\u8ba2\u5355\u72b6\u6001(0\u672a\u652f\u4ed81\u5df2\u652f\u4ed82\u5df2\u6536\u83b73\u5df2\u7ed3\u7b974\u5168\u90e8\u9000\u6b3e\u6216\u98ce\u63a75\u90e8\u5206\u9000\u6b3e6\u5df2\u53d6\u6d88)",
  271. "type": "string"
  272. },
  273. "order_pay_at": {
  274. "description": "\u652f\u4ed8\u65f6\u95f4",
  275. "type": "string"
  276. }
  277. }
  278. }
  279. },
  280. "403": {
  281. "description": "fail",
  282. "schema": {
  283. "$ref": "#/definitions/ErrorBean"
  284. }
  285. }
  286. }
  287. }
  288. },
  289. "/pdd/cate/list": {
  290. "get": {
  291. "tags": [
  292. "\u62fc\u591a\u591a\u5bfc\u8d2d\u7ba1\u7406"
  293. ],
  294. "summary": "\u7c7b\u76ee/\u6d3b\u52a8/\u9891\u9053\u63a5\u53e3",
  295. "description": "\u7c7b\u76ee/\u6d3b\u52a8/\u9891\u9053\u63a5\u53e3",
  296. "produces": [
  297. "application/json"
  298. ],
  299. "responses": {
  300. "200": {
  301. "description": "success",
  302. "schema": {
  303. "properties": {
  304. "cate": {
  305. "description": "\u7c7b\u76ee",
  306. "type": "array",
  307. "items": {
  308. "properties": {
  309. "id": {
  310. "description": "id",
  311. "type": "string"
  312. },
  313. "name": {
  314. "description": "\u540d\u79f0",
  315. "type": "string"
  316. }
  317. }
  318. }
  319. },
  320. "activity": {
  321. "description": "\u6d3b\u52a8",
  322. "type": "array",
  323. "items": {
  324. "properties": {
  325. "id": {
  326. "description": "id",
  327. "type": "string"
  328. },
  329. "name": {
  330. "description": "\u540d\u79f0",
  331. "type": "string"
  332. }
  333. }
  334. }
  335. },
  336. "channel": {
  337. "description": "\u9891\u9053",
  338. "type": "array",
  339. "items": {
  340. "properties": {
  341. "id": {
  342. "description": "id",
  343. "type": "string"
  344. },
  345. "name": {
  346. "description": "\u540d\u79f0",
  347. "type": "string"
  348. }
  349. }
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "403": {
  356. "description": "fail",
  357. "schema": {
  358. "$ref": "#/definitions/ErrorBean"
  359. }
  360. }
  361. }
  362. }
  363. },
  364. "/pdd/goods/list": {
  365. "get": {
  366. "tags": [
  367. "\u62fc\u591a\u591a\u5bfc\u8d2d\u7ba1\u7406"
  368. ],
  369. "summary": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
  370. "description": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "parameters": [
  375. {
  376. "name": "page",
  377. "in": "query",
  378. "description": "\u7b2c\u51e0\u9875",
  379. "type": "string"
  380. },
  381. {
  382. "name": "activity_id",
  383. "in": "query",
  384. "description": "\u6d3b\u52a8ID",
  385. "type": "string"
  386. },
  387. {
  388. "name": "cat_id",
  389. "in": "query",
  390. "description": "\u7c7b\u76eeID",
  391. "type": "string"
  392. },
  393. {
  394. "name": "channel_id",
  395. "in": "query",
  396. "description": "\u9891\u9053ID",
  397. "type": "string"
  398. }
  399. ],
  400. "responses": {
  401. "200": {
  402. "description": "success",
  403. "schema": {
  404. "properties": {
  405. "total": {
  406. "description": "\u6570\u91cf",
  407. "type": "string"
  408. },
  409. "list": {
  410. "description": "\u6570\u636e",
  411. "type": "array",
  412. "items": {
  413. "properties": {
  414. "goods_name": {
  415. "description": "\u5546\u54c1\u540d\u79f0",
  416. "type": "string"
  417. },
  418. "goods_desc": {
  419. "description": "\u5546\u54c1\u63cf\u8ff0",
  420. "type": "string"
  421. },
  422. "goods_image_url": {
  423. "description": "\u5546\u54c1\u4e3b\u56fe",
  424. "type": "string"
  425. },
  426. "goods_sign": {
  427. "description": "\u5546\u54c1ID",
  428. "type": "string"
  429. },
  430. "goods_thumbnail_url": {
  431. "description": "\u5546\u54c1\u7f29\u7565\u56fe",
  432. "type": "string"
  433. },
  434. "mall_name": {
  435. "description": "\u5e97\u94fa\u540d\u79f0",
  436. "type": "string"
  437. },
  438. "promotion_rate": {
  439. "description": "\u4f63\u91d1\u6bd4\u4f8b,\u5343\u5206\u6bd4",
  440. "type": "string"
  441. },
  442. "sales_tip": {
  443. "description": "\u9500\u552e\u91cf",
  444. "type": "string"
  445. }
  446. }
  447. }
  448. }
  449. }
  450. }
  451. },
  452. "403": {
  453. "description": "fail",
  454. "schema": {
  455. "$ref": "#/definitions/ErrorBean"
  456. }
  457. }
  458. }
  459. }
  460. },
  461. "/pdd/goods/recommendurl": {
  462. "get": {
  463. "tags": [
  464. "\u62fc\u591a\u591a\u5bfc\u8d2d\u7ba1\u7406"
  465. ],
  466. "summary": "\u751f\u6210\u5546\u54c1\u63a8\u5e7f\u94fe\u63a5\u63a5\u53e3",
  467. "description": "\u751f\u6210\u5546\u54c1\u63a8\u5e7f\u94fe\u63a5\u63a5\u53e3",
  468. "produces": [
  469. "application/json"
  470. ],
  471. "parameters": [
  472. {
  473. "name": "goods_sign",
  474. "in": "query",
  475. "description": "\u5546\u54c1ID",
  476. "type": "string"
  477. }
  478. ],
  479. "responses": {
  480. "200": {
  481. "description": "success",
  482. "schema": {
  483. "properties": {
  484. "link_url": {
  485. "description": "\u63a8\u5e7f\u94fe\u63a5",
  486. "type": "string"
  487. }
  488. }
  489. }
  490. },
  491. "403": {
  492. "description": "fail",
  493. "schema": {
  494. "$ref": "#/definitions/ErrorBean"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/user/info": {
  501. "get": {
  502. "tags": [
  503. "\u7528\u6237\u7ba1\u7406"
  504. ],
  505. "summary": "\u83b7\u53d6\u7528\u6237\u4fe1\u606f",
  506. "description": "\u83b7\u53d6\u7528\u6237\u4fe1\u606f\u63a5\u53e3",
  507. "produces": [
  508. "application/json"
  509. ],
  510. "responses": {
  511. "200": {
  512. "description": "success",
  513. "schema": {
  514. "properties": {
  515. "user_head_img_url": {
  516. "description": "\u7528\u6237\u5934\u50cf",
  517. "type": "string"
  518. },
  519. "user_nickname": {
  520. "description": "\u7528\u6237\u6635\u79f0",
  521. "type": "string"
  522. },
  523. "user_sex": {
  524. "description": "\u7528\u6237\u6027\u522b",
  525. "type": "string"
  526. },
  527. "user_balance": {
  528. "description": "'\u7528\u6237\u53ef\u63d0\u73b0\u4f59\u989d(\u5355\u4f4d\u4e3a\u5206)",
  529. "type": "string"
  530. },
  531. "user_unreceive_balance": {
  532. "description": "\u7528\u6237\u672a\u7ed3\u7b97\u91d1\u989d(\u5355\u4f4d\u4e3a\u5206",
  533. "type": "string"
  534. },
  535. "user_ucrash_balance": {
  536. "description": "\u7528\u6237\u7d2f\u8ba1\u63d0\u73b0\u91d1\u989d(\u5355\u4f4d\u4e3a\u5206",
  537. "type": "string"
  538. },
  539. "created_at": {
  540. "description": "'\u6ce8\u518c\u65f6\u95f4",
  541. "type": "string"
  542. },
  543. "user_fans_num": {
  544. "description": "'\u7528\u6237\u7c89\u4e1d\u6570\u91cf",
  545. "type": "string"
  546. }
  547. }
  548. }
  549. },
  550. "403": {
  551. "description": "fail",
  552. "schema": {
  553. "$ref": "#/definitions/ErrorBean"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/user/fans/list": {
  560. "post": {
  561. "tags": [
  562. "\u7528\u6237\u7ba1\u7406"
  563. ],
  564. "summary": "\u7528\u6237\u7c89\u4e1d\u5217\u8868\u63a5\u53e3",
  565. "description": "\u7528\u6237\u7c89\u4e1d\u5217\u8868\u63a5\u53e3",
  566. "produces": [
  567. "application/json"
  568. ],
  569. "parameters": [
  570. {
  571. "name": "page",
  572. "in": "query",
  573. "description": "\u7b2c\u51e0\u9875",
  574. "type": "string"
  575. },
  576. {
  577. "name": "page_size",
  578. "in": "query",
  579. "description": "\u6bcf\u9875\u6570\u91cf",
  580. "type": "string"
  581. },
  582. {
  583. "name": "type",
  584. "in": "query",
  585. "description": "\u7c89\u4e1d\u7c7b\u578b(1\u672a\u6fc0\u6d3b2\u5df2\u6fc0\u6d3b)",
  586. "type": "string"
  587. }
  588. ],
  589. "responses": {
  590. "200": {
  591. "description": "success",
  592. "schema": {
  593. "$ref": "#/definitions/GetFansListResultBean"
  594. }
  595. },
  596. "403": {
  597. "description": "fail",
  598. "schema": {
  599. "$ref": "#/definitions/ErrorBean"
  600. }
  601. }
  602. }
  603. }
  604. },
  605. "/user/fianance/list": {
  606. "get": {
  607. "tags": [
  608. "\u7528\u6237\u7ba1\u7406"
  609. ],
  610. "summary": "\u6536\u652f\u660e\u7ec6\u5217\u8868\u63a5\u53e3",
  611. "description": "\u6536\u652f\u660e\u7ec6\u5217\u8868\u63a5\u53e3",
  612. "produces": [
  613. "application/json"
  614. ],
  615. "parameters": [
  616. {
  617. "name": "page",
  618. "in": "query",
  619. "description": "\u7b2c\u51e0\u9875",
  620. "type": "string"
  621. },
  622. {
  623. "name": "page_size",
  624. "in": "query",
  625. "description": "\u6bcf\u9875\u6570\u91cf",
  626. "type": "string"
  627. },
  628. {
  629. "name": "finance_type",
  630. "in": "query",
  631. "description": "\u6d41\u6c34\u7c7b\u578b(0\u5168\u90e81\u6536\u51652\u63d0\u73b0)",
  632. "type": "string"
  633. }
  634. ],
  635. "responses": {
  636. "200": {
  637. "description": "success",
  638. "schema": {
  639. "properties": {
  640. "total": {
  641. "description": "\u603b\u6570\u91cf",
  642. "type": "string"
  643. },
  644. "list": {
  645. "description": "\u6570\u636e",
  646. "type": "array",
  647. "items": {
  648. "properties": {
  649. "finance_balance": {
  650. "description": "\u6d41\u6c34\u91d1\u989d(\u5355\u4f4d\u4e3a\u5206)",
  651. "type": "string"
  652. },
  653. "finance_type": {
  654. "description": "\u6d41\u6c34\u7c7b\u578b(1\u6536\u51652\u652f\u51fa)",
  655. "type": "string"
  656. },
  657. "finance_number": {
  658. "description": "\u6d41\u6c34\u7f16\u53f7",
  659. "type": "string"
  660. },
  661. "created_at": {
  662. "description": "\u521b\u5efa\u65f6\u95f4",
  663. "type": "string"
  664. },
  665. "cash_status": {
  666. "description": "\u63d0\u73b0\u72b6\u6001(0\u63d0\u73b0\u4e2d1\u5df2\u5230\u8d262\u63d0\u73b0\u5931\u8d25)",
  667. "type": "string"
  668. }
  669. }
  670. }
  671. }
  672. }
  673. }
  674. },
  675. "403": {
  676. "description": "fail",
  677. "schema": {
  678. "$ref": "#/definitions/ErrorBean"
  679. }
  680. }
  681. }
  682. }
  683. },
  684. "/user/fianance/detail": {
  685. "get": {
  686. "tags": [
  687. "\u7528\u6237\u7ba1\u7406"
  688. ],
  689. "summary": "\u6d41\u6c34\u8be6\u60c5\u63a5\u53e3",
  690. "description": "\u6d41\u6c34\u8be6\u60c5\u63a5\u53e3",
  691. "produces": [
  692. "application/json"
  693. ],
  694. "parameters": [
  695. {
  696. "name": "id",
  697. "in": "query",
  698. "description": "\u6d41\u6c34ID",
  699. "type": "string"
  700. }
  701. ],
  702. "responses": {
  703. "200": {
  704. "description": "success",
  705. "schema": {
  706. "properties": {
  707. "finance_balance": {
  708. "description": "\u6d41\u6c34\u91d1\u989d",
  709. "type": "string"
  710. },
  711. "finance_remark": {
  712. "description": "\u6d41\u6c34\u5907\u6ce8",
  713. "type": "string"
  714. },
  715. "finance_number": {
  716. "description": "\u6d41\u6c34\u5907\u6ce8",
  717. "type": "string"
  718. },
  719. "created_at": {
  720. "description": "\u521b\u5efa\u65f6\u95f4",
  721. "type": "string"
  722. },
  723. "cash_status": {
  724. "description": "\u63d0\u73b0\u72b6\u6001(0\u63d0\u73b0\u4e2d1\u5df2\u5230\u8d262\u63d0\u73b0\u5931\u8d25)",
  725. "type": "string"
  726. }
  727. }
  728. }
  729. },
  730. "403": {
  731. "description": "fail",
  732. "schema": {
  733. "$ref": "#/definitions/ErrorBean"
  734. }
  735. }
  736. }
  737. }
  738. },
  739. "/user/cash": {
  740. "post": {
  741. "tags": [
  742. "\u7528\u6237\u7ba1\u7406"
  743. ],
  744. "summary": "\u63d0\u73b0\u63a5\u53e3",
  745. "description": "\u63d0\u73b0\u63a5\u53e3",
  746. "produces": [
  747. "application/json"
  748. ],
  749. "parameters": [
  750. {
  751. "name": "amount",
  752. "in": "query",
  753. "description": "\u63d0\u73b0\u91d1\u989d",
  754. "type": "string"
  755. }
  756. ],
  757. "responses": {
  758. "200": {
  759. "description": "success",
  760. "schema": {
  761. "$ref": "#/definitions/SuccessBean"
  762. }
  763. },
  764. "403": {
  765. "description": "fail",
  766. "schema": {
  767. "$ref": "#/definitions/ErrorBean"
  768. }
  769. }
  770. }
  771. }
  772. },
  773. "/user/recommend/url": {
  774. "get": {
  775. "tags": [
  776. "\u7528\u6237\u7ba1\u7406"
  777. ],
  778. "summary": "\u83b7\u53d6\u7528\u6237\u63a8\u5e7f\u4e8c\u7ef4\u7801\u63a5\u53e3",
  779. "description": "\u83b7\u53d6\u7528\u6237\u63a8\u5e7f\u4e8c\u7ef4\u7801\u63a5\u53e3",
  780. "produces": [
  781. "application/json"
  782. ],
  783. "responses": {
  784. "200": {
  785. "description": "success",
  786. "schema": {
  787. "properties": {
  788. "url": {
  789. "description": "\u63a8\u5e7f\u5730\u5740",
  790. "type": "string"
  791. }
  792. }
  793. }
  794. },
  795. "403": {
  796. "description": "fail",
  797. "schema": {
  798. "$ref": "#/definitions/ErrorBean"
  799. }
  800. }
  801. }
  802. }
  803. },
  804. "/wechat/account/config": {
  805. "post": {
  806. "tags": [
  807. "\u516c\u4f17\u53f7"
  808. ],
  809. "summary": "\u83b7\u53d6\u516c\u4f17\u53f7\u914d\u7f6e\u63a5\u53e3",
  810. "description": "\u83b7\u53d6\u516c\u4f17\u53f7\u914d\u7f6e\u63a5\u53e3",
  811. "produces": [
  812. "application/json"
  813. ],
  814. "parameters": [
  815. {
  816. "name": "url",
  817. "in": "query",
  818. "description": "\u5f53\u524d\u9875\u9762\u5730\u5740",
  819. "type": "string"
  820. },
  821. {
  822. "name": "wechat_app_code",
  823. "in": "query",
  824. "description": "\u5e94\u7528\u7f16\u53f7",
  825. "type": "string"
  826. }
  827. ],
  828. "responses": {
  829. "200": {
  830. "description": "success",
  831. "schema": {
  832. "properties": {
  833. "appId": {
  834. "description": "appId",
  835. "type": "string"
  836. },
  837. "timestamp": {
  838. "description": "timestamp",
  839. "type": "string"
  840. },
  841. "nonceStr": {
  842. "description": "nonceStr",
  843. "type": "string"
  844. },
  845. "signature": {
  846. "description": "signature",
  847. "type": "string"
  848. }
  849. }
  850. }
  851. },
  852. "403": {
  853. "description": "fail",
  854. "schema": {
  855. "$ref": "#/definitions/ErrorBean"
  856. }
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "definitions": {
  863. "GetOrderListResultBean": {
  864. "properties": {
  865. "total": {
  866. "description": "\u603b\u6570\u91cf",
  867. "type": "string"
  868. },
  869. "list": {
  870. "description": "\u6570\u636e",
  871. "type": "array",
  872. "items": {
  873. "properties": {
  874. "order_number": {
  875. "description": "\u8ba2\u5355\u7f16\u53f7",
  876. "type": "string"
  877. },
  878. "product_name": {
  879. "description": "\u5546\u54c1\u540d\u79f0",
  880. "type": "string"
  881. },
  882. "produt_unit_price": {
  883. "description": "\u5546\u54c1\u5355\u4ef7",
  884. "type": "string"
  885. },
  886. "product_num": {
  887. "description": "\u5546\u54c1\u6570\u91cf",
  888. "type": "string"
  889. },
  890. "order_price": {
  891. "description": "\u8ba2\u5355\u603b\u91d1\u989d",
  892. "type": "string"
  893. },
  894. "order_realy_price": {
  895. "description": "\u8ba2\u5355\u5b9e\u9645\u652f\u4ed8\u91d1\u989d",
  896. "type": "string"
  897. },
  898. "order_status": {
  899. "description": "\u8ba2\u5355\u72b6\u6001(0\u672a\u652f\u4ed81\u5df2\u652f\u4ed82\u5df2\u6536\u83b73\u5df2\u7ed3\u7b974\u5168\u90e8\u9000\u6b3e\u6216\u98ce\u63a75\u90e8\u5206\u9000\u6b3e6\u5df2\u53d6\u6d88)",
  900. "type": "string"
  901. },
  902. "order_pay_at": {
  903. "description": "\u8ba2\u5355\u652f\u4ed8\u65f6\u95f4",
  904. "type": "string"
  905. },
  906. "order_commission": {
  907. "description": "\u4f63\u91d1(\u5206)",
  908. "type": "string"
  909. },
  910. "order_refund_commission": {
  911. "description": "\u9000\u6b3e\u4f63\u91d1",
  912. "type": "string"
  913. },
  914. "order_refund_at": {
  915. "description": "\u9000\u6b3e\u65f6\u95f4",
  916. "type": "string"
  917. },
  918. "order_refund_price": {
  919. "description": "\u9000\u6b3e\u91d1\u989d",
  920. "type": "string"
  921. },
  922. "order_platform_type": {
  923. "description": "\u8ba2\u5355\u5e73\u53f0\u7c7b\u578b(1\u6dd8\u5b9d2\u62fc\u591a\u591a3\u4eac\u4e1c4\u7f8e\u56e25\u8fd4\u4e0d\u505c)",
  924. "type": "string"
  925. },
  926. "created_at": {
  927. "description": "\u521b\u5efa\u65f6\u95f4",
  928. "type": "string"
  929. }
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "GetFansListResultBean": {
  936. "properties": {
  937. "total": {
  938. "description": "\u603b\u6570\u91cf",
  939. "type": "string"
  940. },
  941. "list": {
  942. "description": "\u6570\u636e",
  943. "type": "array",
  944. "items": {
  945. "properties": {
  946. "user_head_img_url": {
  947. "description": "\u7528\u6237\u5934\u50cf",
  948. "type": "string"
  949. },
  950. "user_nickname": {
  951. "description": "\u7528\u6237\u6635\u79f0",
  952. "type": "string"
  953. },
  954. "created_at": {
  955. "description": "\u6ce8\u518c\u65f6\u95f4",
  956. "type": "string"
  957. }
  958. }
  959. }
  960. }
  961. }
  962. },
  963. "ErrorBean": {
  964. "properties": {
  965. "status": {
  966. "description": "\u72b6\u6001\u7801(true\u8bf7\u6c42\u6210\u529ffalse\u8bf7\u6c42\u5931\u8d25)",
  967. "type": "boolean"
  968. },
  969. "data": {
  970. "description": "\u6570\u636e",
  971. "type": "object"
  972. },
  973. "msg": {
  974. "description": "\u9519\u8bef\u4fe1\u606f",
  975. "type": "string"
  976. },
  977. "url": {
  978. "description": "\u91cd\u5b9a\u5411\u5730\u5740",
  979. "type": "string"
  980. },
  981. "code": {
  982. "description": "\u9519\u8bef\u7801",
  983. "type": "string"
  984. }
  985. }
  986. },
  987. "SuccessBean": {
  988. "properties": {
  989. "status": {
  990. "description": "\u72b6\u6001\u7801(true\u8bf7\u6c42\u6210\u529ffalse\u8bf7\u6c42\u5931\u8d25)",
  991. "type": "boolean"
  992. },
  993. "data": {
  994. "description": "\u6b63\u786e\u76f8\u5e94\u7684\u6570\u636e",
  995. "type": "object"
  996. },
  997. "msg": {
  998. "description": "\u9519\u8bef\u4fe1\u606f",
  999. "type": "string"
  1000. },
  1001. "url": {
  1002. "description": "\u91cd\u5b9a\u5411\u5730\u5740",
  1003. "type": "string"
  1004. },
  1005. "code": {
  1006. "description": "\u9519\u8bef\u7801",
  1007. "type": "string"
  1008. }
  1009. }
  1010. }
  1011. }
  1012. }