swagger.json 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402
  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. "/buy/cate/list": {
  14. "get": {
  15. "tags": [
  16. "\u7535\u5546\u5bfc\u8d2d"
  17. ],
  18. "summary": "\u83b7\u53d6\u7535\u5546\u5e73\u53f0\u5206\u7c7b",
  19. "description": "\u83b7\u53d6\u7535\u5546\u5e73\u53f0\u5206\u7c7b",
  20. "produces": [
  21. "application/json"
  22. ],
  23. "parameters": [
  24. {
  25. "name": "source",
  26. "in": "query",
  27. "description": "\u6765\u6e90 jd-\u4eac\u4e1c,vip-\u552f\u54c1\u4f1a,pdd-\u62fc\u591a\u591a,kaola-\u8003\u62c9,taobao-\u6dd8\u5b9d",
  28. "type": "string"
  29. }
  30. ],
  31. "responses": {
  32. "200": {
  33. "description": "success",
  34. "schema": {
  35. "properties": {
  36. "id": {
  37. "description": "\u5206\u7c7bID",
  38. "type": "string"
  39. },
  40. "name": {
  41. "description": "\u5206\u7c7b\u540d\u79f0",
  42. "type": "string"
  43. }
  44. }
  45. }
  46. },
  47. "403": {
  48. "description": "fail",
  49. "schema": {
  50. "$ref": "#/definitions/ErrorBean"
  51. }
  52. }
  53. }
  54. }
  55. },
  56. "/buy/goods/list": {
  57. "post": {
  58. "tags": [
  59. "\u7535\u5546\u5bfc\u8d2d"
  60. ],
  61. "summary": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
  62. "description": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
  63. "produces": [
  64. "application/json"
  65. ],
  66. "parameters": [
  67. {
  68. "name": "page",
  69. "in": "query",
  70. "description": "\u7b2c\u51e0\u9875",
  71. "type": "string"
  72. },
  73. {
  74. "name": "page_size",
  75. "in": "query",
  76. "description": "\u6bcf\u9875\u6570\u91cf",
  77. "type": "string"
  78. },
  79. {
  80. "name": "source",
  81. "in": "query",
  82. "description": "\u6765\u6e90 jd-\u4eac\u4e1c,vip-\u552f\u54c1\u4f1a,pdd-\u62fc\u591a\u591a,kaola-\u8003\u62c9,taobao-\u6dd8\u5b9d",
  83. "type": "string"
  84. },
  85. {
  86. "name": "cat_id",
  87. "in": "query",
  88. "description": "\u5206\u7c7bID",
  89. "type": "string"
  90. }
  91. ],
  92. "responses": {
  93. "200": {
  94. "description": "success",
  95. "schema": {
  96. "$ref": "#/definitions/GetGoodsListResultBean"
  97. }
  98. },
  99. "403": {
  100. "description": "fail",
  101. "schema": {
  102. "$ref": "#/definitions/ErrorBean"
  103. }
  104. }
  105. }
  106. }
  107. },
  108. "/buy/goods/detail": {
  109. "get": {
  110. "tags": [
  111. "\u7535\u5546\u5bfc\u8d2d"
  112. ],
  113. "summary": "\u5546\u54c1\u8be6\u60c5\u9875",
  114. "description": "\u5546\u54c1\u8be6\u60c5\u9875",
  115. "produces": [
  116. "application/json"
  117. ],
  118. "parameters": [
  119. {
  120. "name": "source",
  121. "in": "query",
  122. "description": "\u6765\u6e90 jd-\u4eac\u4e1c,vip-\u552f\u54c1\u4f1a,pdd-\u62fc\u591a\u591a,kaola-\u8003\u62c9,taobao-\u6dd8\u5b9d",
  123. "type": "string"
  124. },
  125. {
  126. "name": "goods_id",
  127. "in": "query",
  128. "description": "\u5546\u54c1ID",
  129. "type": "string"
  130. }
  131. ],
  132. "responses": {
  133. "200": {
  134. "description": "success",
  135. "schema": {
  136. "properties": {
  137. "goods_name": {
  138. "description": "\u5546\u54c1\u540d\u79f0",
  139. "type": "string"
  140. },
  141. "price": {
  142. "description": "\u4f18\u60e0\u4ef7",
  143. "type": "string"
  144. },
  145. "market_price": {
  146. "description": "\u5e02\u573a\u4ef7\u683c",
  147. "type": "string"
  148. },
  149. "discount": {
  150. "description": "\u4f18\u60e0\u91d1\u989d",
  151. "type": "string"
  152. },
  153. "commission": {
  154. "description": "\u4f63\u91d1",
  155. "type": "string"
  156. },
  157. "url": {
  158. "description": "\u8d2d\u4e70\u94fe\u63a5",
  159. "type": "string"
  160. },
  161. "goods_carousel_pictures": {
  162. "description": "\u5546\u54c1\u8f6e\u64ad\u56fe(\u6570\u7ec4)",
  163. "type": "string"
  164. },
  165. "goods_detail_pictures": {
  166. "description": "\u5546\u54c1\u8be6\u60c5\u56fe\u7247(\u6570\u7ec4)",
  167. "type": "string"
  168. }
  169. }
  170. }
  171. },
  172. "403": {
  173. "description": "fail",
  174. "schema": {
  175. "$ref": "#/definitions/ErrorBean"
  176. }
  177. }
  178. }
  179. }
  180. },
  181. "/buy/goods/search": {
  182. "post": {
  183. "tags": [
  184. "\u7535\u5546\u5bfc\u8d2d"
  185. ],
  186. "summary": "\u5546\u54c1\u641c\u7d22\u63a5\u53e3",
  187. "description": "\u5546\u54c1\u641c\u7d22\u63a5\u53e3",
  188. "produces": [
  189. "application/json"
  190. ],
  191. "parameters": [
  192. {
  193. "name": "keyword",
  194. "in": "query",
  195. "description": "\u641c\u7d22\u5173\u952e\u8bcd",
  196. "type": "string"
  197. },
  198. {
  199. "name": "page",
  200. "in": "query",
  201. "description": "\u7b2c\u51e0\u9875",
  202. "type": "string"
  203. },
  204. {
  205. "name": "page_size",
  206. "in": "query",
  207. "description": "\u6bcf\u9875\u6570\u91cf",
  208. "type": "string"
  209. },
  210. {
  211. "name": "sort",
  212. "in": "query",
  213. "description": "1-\u7efc\u5408\u6392\u5e8f,2-\u4ef7\u683c\u5347\u5e8f,3-\u9500\u91cf\u964d\u5e8f \u9ed8\u8ba41",
  214. "type": "string"
  215. },
  216. {
  217. "name": "source",
  218. "in": "query",
  219. "description": "\u6765\u6e90 jd-\u4eac\u4e1c,vip-\u552f\u54c1\u4f1a,pdd-\u62fc\u591a\u591a,kaola-\u8003\u62c9,taobao-\u6dd8\u5b9d",
  220. "type": "string"
  221. }
  222. ],
  223. "responses": {
  224. "200": {
  225. "description": "success",
  226. "schema": {
  227. "$ref": "#/definitions/GetGoodsListResultBean"
  228. }
  229. },
  230. "403": {
  231. "description": "fail",
  232. "schema": {
  233. "$ref": "#/definitions/ErrorBean"
  234. }
  235. }
  236. }
  237. }
  238. },
  239. "/buy/transfer/goods": {
  240. "get": {
  241. "tags": [
  242. "\u7535\u5546\u5bfc\u8d2d"
  243. ],
  244. "summary": "\u6dd8\u5b9d\u5206\u4eab\u5546\u54c1\u8be6\u60c5\u9875\u63a5\u53e3",
  245. "description": "\u6dd8\u5b9d\u5206\u4eab\u5546\u54c1\u8be6\u60c5\u9875\u63a5\u53e3",
  246. "produces": [
  247. "application/json"
  248. ],
  249. "parameters": [
  250. {
  251. "name": "user_id",
  252. "in": "query",
  253. "description": "\u5206\u4eab\u8005\u7528\u6237ID",
  254. "type": "string"
  255. },
  256. {
  257. "name": "goods_id",
  258. "in": "query",
  259. "description": "\u5546\u54c1ID",
  260. "type": "string"
  261. }
  262. ],
  263. "responses": {
  264. "200": {
  265. "description": "success",
  266. "schema": {
  267. "properties": {
  268. "goods_name": {
  269. "description": "\u5546\u54c1\u540d\u79f0",
  270. "type": "string"
  271. },
  272. "price": {
  273. "description": "\u4f18\u60e0\u4ef7",
  274. "type": "string"
  275. },
  276. "market_price": {
  277. "description": "\u5e02\u573a\u4ef7\u683c",
  278. "type": "string"
  279. },
  280. "discount": {
  281. "description": "\u4f18\u60e0\u91d1\u989d",
  282. "type": "string"
  283. },
  284. "commission": {
  285. "description": "\u4f63\u91d1",
  286. "type": "string"
  287. },
  288. "url": {
  289. "description": "\u8d2d\u4e70\u94fe\u63a5",
  290. "type": "string"
  291. },
  292. "goods_carousel_pictures": {
  293. "description": "\u5546\u54c1\u8f6e\u64ad\u56fe(\u6570\u7ec4)",
  294. "type": "string"
  295. },
  296. "goods_detail_pictures": {
  297. "description": "\u5546\u54c1\u8be6\u60c5\u56fe\u7247(\u6570\u7ec4)",
  298. "type": "string"
  299. }
  300. }
  301. }
  302. },
  303. "403": {
  304. "description": "fail",
  305. "schema": {
  306. "$ref": "#/definitions/ErrorBean"
  307. }
  308. }
  309. }
  310. }
  311. },
  312. "/home/list": {
  313. "get": {
  314. "tags": [
  315. "\u9996\u9875\u7ba1\u7406"
  316. ],
  317. "summary": "\u83b7\u53d6\u7701\u94b1\u5217\u8868\u63a5\u53e3",
  318. "description": "\u83b7\u53d6\u7701\u94b1\u5217\u8868\u63a5\u53e3",
  319. "produces": [
  320. "application/json"
  321. ],
  322. "responses": {
  323. "200": {
  324. "description": "success",
  325. "schema": {
  326. "properties": {
  327. "category_type_name": {
  328. "description": "\u7c7b\u578b\u540d\u79f0",
  329. "type": "string"
  330. },
  331. "category_data": {
  332. "description": "\u6570\u636e",
  333. "type": "array",
  334. "items": {
  335. "properties": {
  336. "category_name": {
  337. "description": "\u540d\u79f0",
  338. "type": "string"
  339. },
  340. "category_img_url": {
  341. "description": "\u56fe\u6807",
  342. "type": "string"
  343. },
  344. "link_url": {
  345. "description": "\u8df3\u8f6c\u5730\u5740",
  346. "type": "string"
  347. }
  348. }
  349. }
  350. }
  351. }
  352. }
  353. },
  354. "403": {
  355. "description": "fail",
  356. "schema": {
  357. "$ref": "#/definitions/ErrorBean"
  358. }
  359. }
  360. }
  361. }
  362. },
  363. "/home/commission/list": {
  364. "get": {
  365. "tags": [
  366. "\u9996\u9875\u7ba1\u7406"
  367. ],
  368. "summary": "\u53cd\u94b1\u8d5a\u94b1\u5217\u8868\u63a5\u53e3",
  369. "description": "\u53cd\u94b1\u8d5a\u94b1\u5217\u8868\u63a5\u53e3",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "parameters": [
  374. {
  375. "name": "type",
  376. "in": "query",
  377. "description": "\u7c7b\u578b(0\u8d5a\u94b11\u53cd\u94b1)",
  378. "type": "string"
  379. }
  380. ],
  381. "responses": {
  382. "200": {
  383. "description": "success",
  384. "schema": {
  385. "properties": {
  386. "total": {
  387. "description": "\u603b\u6570\u91cf",
  388. "type": "string"
  389. },
  390. "list": {
  391. "description": "\u6570\u636e",
  392. "type": "array",
  393. "items": {
  394. "properties": {
  395. "order_commission": {
  396. "description": "\u8ba2\u5355\u4f63\u91d1(\u5355\u4f4d\u4e3a\u5206)",
  397. "type": "string"
  398. },
  399. "commission_status": {
  400. "description": "\u4f63\u91d1\u72b6\u6001(0\u672a\u7ed3\u7b971\u5df2\u7ed3\u7b972\u5df2\u9000\u6b3e)",
  401. "type": "string"
  402. },
  403. "commission_type": {
  404. "description": "\u4f63\u91d1\u7c7b\u578b",
  405. "type": "string"
  406. },
  407. "created_at": {
  408. "description": "\u521b\u5efa\u65f6\u95f4",
  409. "type": "string"
  410. },
  411. "user_head_img_url": {
  412. "description": "\u8d5a\u94b1\u5934\u50cf",
  413. "type": "string"
  414. },
  415. "user_provider_head_img_url": {
  416. "description": "\u53cd\u94b1\u5934\u50cf",
  417. "type": "string"
  418. },
  419. "order_title": {
  420. "description": "\u8ba2\u5355\u6807\u9898",
  421. "type": "string"
  422. },
  423. "user_nickname": {
  424. "description": "\u7528\u6237\u6635\u79f0",
  425. "type": "string"
  426. }
  427. }
  428. }
  429. }
  430. }
  431. }
  432. },
  433. "403": {
  434. "description": "fail",
  435. "schema": {
  436. "$ref": "#/definitions/ErrorBean"
  437. }
  438. }
  439. }
  440. }
  441. },
  442. "/transfer/25/1": {
  443. "get": {
  444. "tags": [
  445. "\u9996\u9875\u7ba1\u7406"
  446. ],
  447. "summary": "\u83b7\u53d6\u8fd4\u5229\u94fe\u63a5\u63a5\u53e3",
  448. "description": "\u83b7\u53d6\u8fd4\u5229\u94fe\u63a5\u63a5\u53e3",
  449. "produces": [
  450. "application/json"
  451. ],
  452. "responses": {
  453. "200": {
  454. "description": "success",
  455. "schema": {
  456. "properties": {
  457. "type": {
  458. "description": "\u7c7b\u578b(1 h5 2\u5c0f\u7a0b\u5e8f)",
  459. "type": "string"
  460. },
  461. "url": {
  462. "description": "h5\u94fe\u63a5",
  463. "type": "string"
  464. },
  465. "app_id": {
  466. "description": "\u5c0f\u7a0b\u5e8fappID",
  467. "type": "string"
  468. },
  469. "page_path": {
  470. "description": "\u5c0f\u7a0b\u5e8f\u8def\u5f84",
  471. "type": "string"
  472. }
  473. }
  474. }
  475. },
  476. "403": {
  477. "description": "fail",
  478. "schema": {
  479. "$ref": "#/definitions/ErrorBean"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/order/list": {
  486. "post": {
  487. "tags": [
  488. "\u8ba2\u5355\u7ba1\u7406"
  489. ],
  490. "summary": "\u7528\u6237\u8ba2\u5355\u5217\u8868\u63a5\u53e3",
  491. "description": "\u7528\u6237\u8ba2\u5355\u5217\u8868\u63a5\u53e3",
  492. "produces": [
  493. "application/json"
  494. ],
  495. "parameters": [
  496. {
  497. "name": "page",
  498. "in": "query",
  499. "description": "\u7b2c\u51e0\u9875",
  500. "type": "string"
  501. },
  502. {
  503. "name": "page_size",
  504. "in": "query",
  505. "description": "\u6bcf\u9875\u6570\u91cf",
  506. "type": "string"
  507. },
  508. {
  509. "name": "order_platform_son_type",
  510. "in": "query",
  511. "description": "\u8ba2\u5355\u7c7b\u578b(0\u672a\u5168\u90e8)",
  512. "type": "string"
  513. },
  514. {
  515. "name": "order_status",
  516. "in": "query",
  517. "description": "\u8ba2\u5355\u72b6\u6001(1\u672a\u7ed3\u7b972\u5df2\u7ed3\u7b97(0\u4e3a\u5168\u90e8))",
  518. "type": "string"
  519. }
  520. ],
  521. "responses": {
  522. "200": {
  523. "description": "success",
  524. "schema": {
  525. "$ref": "#/definitions/GetOrderListResultBean"
  526. }
  527. },
  528. "403": {
  529. "description": "fail",
  530. "schema": {
  531. "$ref": "#/definitions/ErrorBean"
  532. }
  533. }
  534. }
  535. }
  536. },
  537. "/order/type/list": {
  538. "get": {
  539. "tags": [
  540. "\u8ba2\u5355\u7ba1\u7406"
  541. ],
  542. "summary": "\u8ba2\u5355\u7c7b\u578b\u63a5\u53e3",
  543. "description": "\u8ba2\u5355\u7c7b\u578b\u63a5\u53e3",
  544. "produces": [
  545. "application/json"
  546. ],
  547. "responses": {
  548. "200": {
  549. "description": "success",
  550. "schema": {
  551. "properties": {
  552. "order_platform_son_type": {
  553. "description": "\u8ba2\u5355\u7c7b\u578bID",
  554. "type": "string"
  555. },
  556. "type_name": {
  557. "description": "\u7c7b\u578b\u540d\u79f0",
  558. "type": "string"
  559. }
  560. }
  561. }
  562. },
  563. "403": {
  564. "description": "fail",
  565. "schema": {
  566. "$ref": "#/definitions/ErrorBean"
  567. }
  568. }
  569. }
  570. }
  571. },
  572. "/order/detail": {
  573. "get": {
  574. "tags": [
  575. "\u8ba2\u5355\u7ba1\u7406"
  576. ],
  577. "summary": "\u8ba2\u5355\u8be6\u60c5\u63a5\u53e3",
  578. "description": "\u8ba2\u5355\u8be6\u60c5\u63a5\u53e3",
  579. "produces": [
  580. "application/json"
  581. ],
  582. "parameters": [
  583. {
  584. "name": "order_id",
  585. "in": "query",
  586. "description": "\u8ba2\u5355ID",
  587. "type": "string"
  588. }
  589. ],
  590. "responses": {
  591. "200": {
  592. "description": "success",
  593. "schema": {
  594. "properties": {
  595. "order_number": {
  596. "description": "\u8ba2\u5355\u7f16\u53f7",
  597. "type": "string"
  598. },
  599. "order_platform_son_type": {
  600. "description": "\u5e73\u53f0",
  601. "type": "string"
  602. },
  603. "order_price": {
  604. "description": "\u8ba2\u5355\u91d1\u989d",
  605. "type": "string"
  606. },
  607. "order_commission": {
  608. "description": "\u9884\u4f30\u6536\u76ca",
  609. "type": "string"
  610. },
  611. "order_status": {
  612. "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)",
  613. "type": "string"
  614. },
  615. "order_pay_at": {
  616. "description": "\u652f\u4ed8\u65f6\u95f4",
  617. "type": "string"
  618. }
  619. }
  620. }
  621. },
  622. "403": {
  623. "description": "fail",
  624. "schema": {
  625. "$ref": "#/definitions/ErrorBean"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/pdd/cate/list": {
  632. "get": {
  633. "tags": [
  634. "\u62fc\u591a\u591a\u5bfc\u8d2d\u7ba1\u7406"
  635. ],
  636. "summary": "\u7c7b\u76ee/\u6d3b\u52a8/\u9891\u9053\u63a5\u53e3",
  637. "description": "\u7c7b\u76ee/\u6d3b\u52a8/\u9891\u9053\u63a5\u53e3",
  638. "produces": [
  639. "application/json"
  640. ],
  641. "responses": {
  642. "200": {
  643. "description": "success",
  644. "schema": {
  645. "properties": {
  646. "cate": {
  647. "description": "\u7c7b\u76ee",
  648. "type": "array",
  649. "items": {
  650. "properties": {
  651. "id": {
  652. "description": "id",
  653. "type": "string"
  654. },
  655. "name": {
  656. "description": "\u540d\u79f0",
  657. "type": "string"
  658. }
  659. }
  660. }
  661. },
  662. "activity": {
  663. "description": "\u6d3b\u52a8",
  664. "type": "array",
  665. "items": {
  666. "properties": {
  667. "id": {
  668. "description": "id",
  669. "type": "string"
  670. },
  671. "name": {
  672. "description": "\u540d\u79f0",
  673. "type": "string"
  674. }
  675. }
  676. }
  677. },
  678. "channel": {
  679. "description": "\u9891\u9053",
  680. "type": "array",
  681. "items": {
  682. "properties": {
  683. "id": {
  684. "description": "id",
  685. "type": "string"
  686. },
  687. "name": {
  688. "description": "\u540d\u79f0",
  689. "type": "string"
  690. }
  691. }
  692. }
  693. }
  694. }
  695. }
  696. },
  697. "403": {
  698. "description": "fail",
  699. "schema": {
  700. "$ref": "#/definitions/ErrorBean"
  701. }
  702. }
  703. }
  704. }
  705. },
  706. "/pdd/goods/list": {
  707. "get": {
  708. "tags": [
  709. "\u62fc\u591a\u591a\u5bfc\u8d2d\u7ba1\u7406"
  710. ],
  711. "summary": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
  712. "description": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
  713. "produces": [
  714. "application/json"
  715. ],
  716. "parameters": [
  717. {
  718. "name": "page",
  719. "in": "query",
  720. "description": "\u7b2c\u51e0\u9875",
  721. "type": "string"
  722. },
  723. {
  724. "name": "activity_id",
  725. "in": "query",
  726. "description": "\u6d3b\u52a8ID",
  727. "type": "string"
  728. },
  729. {
  730. "name": "cat_id",
  731. "in": "query",
  732. "description": "\u7c7b\u76eeID",
  733. "type": "string"
  734. },
  735. {
  736. "name": "channel_id",
  737. "in": "query",
  738. "description": "\u9891\u9053ID",
  739. "type": "string"
  740. }
  741. ],
  742. "responses": {
  743. "200": {
  744. "description": "success",
  745. "schema": {
  746. "properties": {
  747. "total": {
  748. "description": "\u6570\u91cf",
  749. "type": "string"
  750. },
  751. "list": {
  752. "description": "\u6570\u636e",
  753. "type": "array",
  754. "items": {
  755. "properties": {
  756. "goods_name": {
  757. "description": "\u5546\u54c1\u540d\u79f0",
  758. "type": "string"
  759. },
  760. "goods_desc": {
  761. "description": "\u5546\u54c1\u63cf\u8ff0",
  762. "type": "string"
  763. },
  764. "goods_image_url": {
  765. "description": "\u5546\u54c1\u4e3b\u56fe",
  766. "type": "string"
  767. },
  768. "goods_sign": {
  769. "description": "\u5546\u54c1ID",
  770. "type": "string"
  771. },
  772. "goods_thumbnail_url": {
  773. "description": "\u5546\u54c1\u7f29\u7565\u56fe",
  774. "type": "string"
  775. },
  776. "mall_name": {
  777. "description": "\u5e97\u94fa\u540d\u79f0",
  778. "type": "string"
  779. },
  780. "promotion_rate": {
  781. "description": "\u4f63\u91d1\u6bd4\u4f8b,\u5343\u5206\u6bd4",
  782. "type": "string"
  783. },
  784. "sales_tip": {
  785. "description": "\u9500\u552e\u91cf",
  786. "type": "string"
  787. }
  788. }
  789. }
  790. }
  791. }
  792. }
  793. },
  794. "403": {
  795. "description": "fail",
  796. "schema": {
  797. "$ref": "#/definitions/ErrorBean"
  798. }
  799. }
  800. }
  801. }
  802. },
  803. "/pdd/goods/recommendurl": {
  804. "get": {
  805. "tags": [
  806. "\u62fc\u591a\u591a\u5bfc\u8d2d\u7ba1\u7406"
  807. ],
  808. "summary": "\u751f\u6210\u5546\u54c1\u63a8\u5e7f\u94fe\u63a5\u63a5\u53e3",
  809. "description": "\u751f\u6210\u5546\u54c1\u63a8\u5e7f\u94fe\u63a5\u63a5\u53e3",
  810. "produces": [
  811. "application/json"
  812. ],
  813. "parameters": [
  814. {
  815. "name": "goods_sign",
  816. "in": "query",
  817. "description": "\u5546\u54c1ID",
  818. "type": "string"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "success",
  824. "schema": {
  825. "properties": {
  826. "link_url": {
  827. "description": "\u63a8\u5e7f\u94fe\u63a5",
  828. "type": "string"
  829. }
  830. }
  831. }
  832. },
  833. "403": {
  834. "description": "fail",
  835. "schema": {
  836. "$ref": "#/definitions/ErrorBean"
  837. }
  838. }
  839. }
  840. }
  841. },
  842. "/user/info": {
  843. "get": {
  844. "tags": [
  845. "\u7528\u6237\u7ba1\u7406"
  846. ],
  847. "summary": "\u83b7\u53d6\u7528\u6237\u4fe1\u606f",
  848. "description": "\u83b7\u53d6\u7528\u6237\u4fe1\u606f\u63a5\u53e3",
  849. "produces": [
  850. "application/json"
  851. ],
  852. "responses": {
  853. "200": {
  854. "description": "success",
  855. "schema": {
  856. "properties": {
  857. "user_head_img_url": {
  858. "description": "\u7528\u6237\u5934\u50cf",
  859. "type": "string"
  860. },
  861. "user_nickname": {
  862. "description": "\u7528\u6237\u6635\u79f0",
  863. "type": "string"
  864. },
  865. "user_sex": {
  866. "description": "\u7528\u6237\u6027\u522b",
  867. "type": "string"
  868. },
  869. "user_balance": {
  870. "description": "'\u7528\u6237\u53ef\u63d0\u73b0\u4f59\u989d(\u5355\u4f4d\u4e3a\u5206)",
  871. "type": "string"
  872. },
  873. "user_unreceive_balance": {
  874. "description": "\u7528\u6237\u672a\u7ed3\u7b97\u91d1\u989d(\u5355\u4f4d\u4e3a\u5206",
  875. "type": "string"
  876. },
  877. "user_ucrash_balance": {
  878. "description": "\u7528\u6237\u7d2f\u8ba1\u63d0\u73b0\u91d1\u989d(\u5355\u4f4d\u4e3a\u5206",
  879. "type": "string"
  880. },
  881. "created_at": {
  882. "description": "'\u6ce8\u518c\u65f6\u95f4",
  883. "type": "string"
  884. },
  885. "user_fans_num": {
  886. "description": "'\u7528\u6237\u7c89\u4e1d\u6570\u91cf",
  887. "type": "string"
  888. },
  889. "last_month_money": {
  890. "description": "'\u4e0a\u6708\u9884\u4f30\u6536\u76ca",
  891. "type": "string"
  892. },
  893. "month_money": {
  894. "description": "'\u672c\u6708\u9884\u4f30\u6536\u76ca",
  895. "type": "string"
  896. }
  897. }
  898. }
  899. },
  900. "403": {
  901. "description": "fail",
  902. "schema": {
  903. "$ref": "#/definitions/ErrorBean"
  904. }
  905. }
  906. }
  907. }
  908. },
  909. "/user/fans/list": {
  910. "post": {
  911. "tags": [
  912. "\u7528\u6237\u7ba1\u7406"
  913. ],
  914. "summary": "\u7528\u6237\u7c89\u4e1d\u5217\u8868\u63a5\u53e3",
  915. "description": "\u7528\u6237\u7c89\u4e1d\u5217\u8868\u63a5\u53e3",
  916. "produces": [
  917. "application/json"
  918. ],
  919. "parameters": [
  920. {
  921. "name": "page",
  922. "in": "query",
  923. "description": "\u7b2c\u51e0\u9875",
  924. "type": "string"
  925. },
  926. {
  927. "name": "page_size",
  928. "in": "query",
  929. "description": "\u6bcf\u9875\u6570\u91cf",
  930. "type": "string"
  931. },
  932. {
  933. "name": "type",
  934. "in": "query",
  935. "description": "\u7c89\u4e1d\u7c7b\u578b(1\u672a\u6fc0\u6d3b2\u5df2\u6fc0\u6d3b)",
  936. "type": "string"
  937. }
  938. ],
  939. "responses": {
  940. "200": {
  941. "description": "success",
  942. "schema": {
  943. "$ref": "#/definitions/GetFansListResultBean"
  944. }
  945. },
  946. "403": {
  947. "description": "fail",
  948. "schema": {
  949. "$ref": "#/definitions/ErrorBean"
  950. }
  951. }
  952. }
  953. }
  954. },
  955. "/user/fianance/list": {
  956. "get": {
  957. "tags": [
  958. "\u7528\u6237\u7ba1\u7406"
  959. ],
  960. "summary": "\u6536\u652f\u660e\u7ec6\u5217\u8868\u63a5\u53e3",
  961. "description": "\u6536\u652f\u660e\u7ec6\u5217\u8868\u63a5\u53e3",
  962. "produces": [
  963. "application/json"
  964. ],
  965. "parameters": [
  966. {
  967. "name": "page",
  968. "in": "query",
  969. "description": "\u7b2c\u51e0\u9875",
  970. "type": "string"
  971. },
  972. {
  973. "name": "page_size",
  974. "in": "query",
  975. "description": "\u6bcf\u9875\u6570\u91cf",
  976. "type": "string"
  977. },
  978. {
  979. "name": "finance_type",
  980. "in": "query",
  981. "description": "\u6d41\u6c34\u7c7b\u578b(0\u5168\u90e81\u6536\u51652\u63d0\u73b0)",
  982. "type": "string"
  983. }
  984. ],
  985. "responses": {
  986. "200": {
  987. "description": "success",
  988. "schema": {
  989. "properties": {
  990. "total": {
  991. "description": "\u603b\u6570\u91cf",
  992. "type": "string"
  993. },
  994. "list": {
  995. "description": "\u6570\u636e",
  996. "type": "array",
  997. "items": {
  998. "properties": {
  999. "finance_balance": {
  1000. "description": "\u6d41\u6c34\u91d1\u989d(\u5355\u4f4d\u4e3a\u5206)",
  1001. "type": "string"
  1002. },
  1003. "finance_type": {
  1004. "description": "\u6d41\u6c34\u7c7b\u578b(1\u6536\u51652\u652f\u51fa)",
  1005. "type": "string"
  1006. },
  1007. "finance_number": {
  1008. "description": "\u6d41\u6c34\u7f16\u53f7",
  1009. "type": "string"
  1010. },
  1011. "created_at": {
  1012. "description": "\u521b\u5efa\u65f6\u95f4",
  1013. "type": "string"
  1014. },
  1015. "cash_status": {
  1016. "description": "\u63d0\u73b0\u72b6\u6001(0\u63d0\u73b0\u4e2d1\u5df2\u5230\u8d262\u63d0\u73b0\u5931\u8d25)",
  1017. "type": "string"
  1018. }
  1019. }
  1020. }
  1021. }
  1022. }
  1023. }
  1024. },
  1025. "403": {
  1026. "description": "fail",
  1027. "schema": {
  1028. "$ref": "#/definitions/ErrorBean"
  1029. }
  1030. }
  1031. }
  1032. }
  1033. },
  1034. "/user/fianance/detail": {
  1035. "get": {
  1036. "tags": [
  1037. "\u7528\u6237\u7ba1\u7406"
  1038. ],
  1039. "summary": "\u6d41\u6c34\u8be6\u60c5\u63a5\u53e3",
  1040. "description": "\u6d41\u6c34\u8be6\u60c5\u63a5\u53e3",
  1041. "produces": [
  1042. "application/json"
  1043. ],
  1044. "parameters": [
  1045. {
  1046. "name": "id",
  1047. "in": "query",
  1048. "description": "\u6d41\u6c34ID",
  1049. "type": "string"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "success",
  1055. "schema": {
  1056. "properties": {
  1057. "finance_balance": {
  1058. "description": "\u6d41\u6c34\u91d1\u989d",
  1059. "type": "string"
  1060. },
  1061. "finance_remark": {
  1062. "description": "\u6d41\u6c34\u5907\u6ce8",
  1063. "type": "string"
  1064. },
  1065. "finance_number": {
  1066. "description": "\u6d41\u6c34\u5907\u6ce8",
  1067. "type": "string"
  1068. },
  1069. "created_at": {
  1070. "description": "\u521b\u5efa\u65f6\u95f4",
  1071. "type": "string"
  1072. },
  1073. "cash_status": {
  1074. "description": "\u63d0\u73b0\u72b6\u6001(0\u63d0\u73b0\u4e2d1\u5df2\u5230\u8d262\u63d0\u73b0\u5931\u8d25)",
  1075. "type": "string"
  1076. }
  1077. }
  1078. }
  1079. },
  1080. "403": {
  1081. "description": "fail",
  1082. "schema": {
  1083. "$ref": "#/definitions/ErrorBean"
  1084. }
  1085. }
  1086. }
  1087. }
  1088. },
  1089. "/user/cash": {
  1090. "post": {
  1091. "tags": [
  1092. "\u7528\u6237\u7ba1\u7406"
  1093. ],
  1094. "summary": "\u63d0\u73b0\u63a5\u53e3",
  1095. "description": "\u63d0\u73b0\u63a5\u53e3",
  1096. "produces": [
  1097. "application/json"
  1098. ],
  1099. "parameters": [
  1100. {
  1101. "name": "amount",
  1102. "in": "query",
  1103. "description": "\u63d0\u73b0\u91d1\u989d",
  1104. "type": "string"
  1105. }
  1106. ],
  1107. "responses": {
  1108. "200": {
  1109. "description": "success",
  1110. "schema": {
  1111. "$ref": "#/definitions/SuccessBean"
  1112. }
  1113. },
  1114. "403": {
  1115. "description": "fail",
  1116. "schema": {
  1117. "$ref": "#/definitions/ErrorBean"
  1118. }
  1119. }
  1120. }
  1121. }
  1122. },
  1123. "/user/recommend/url": {
  1124. "get": {
  1125. "tags": [
  1126. "\u7528\u6237\u7ba1\u7406"
  1127. ],
  1128. "summary": "\u83b7\u53d6\u7528\u6237\u63a8\u5e7f\u4e8c\u7ef4\u7801\u63a5\u53e3",
  1129. "description": "\u83b7\u53d6\u7528\u6237\u63a8\u5e7f\u4e8c\u7ef4\u7801\u63a5\u53e3",
  1130. "produces": [
  1131. "application/json"
  1132. ],
  1133. "responses": {
  1134. "200": {
  1135. "description": "success",
  1136. "schema": {
  1137. "properties": {
  1138. "url": {
  1139. "description": "\u63a8\u5e7f\u5730\u5740",
  1140. "type": "string"
  1141. }
  1142. }
  1143. }
  1144. },
  1145. "403": {
  1146. "description": "fail",
  1147. "schema": {
  1148. "$ref": "#/definitions/ErrorBean"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/wechat/account/config": {
  1155. "post": {
  1156. "tags": [
  1157. "\u516c\u4f17\u53f7"
  1158. ],
  1159. "summary": "\u83b7\u53d6\u516c\u4f17\u53f7\u914d\u7f6e\u63a5\u53e3",
  1160. "description": "\u83b7\u53d6\u516c\u4f17\u53f7\u914d\u7f6e\u63a5\u53e3",
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "parameters": [
  1165. {
  1166. "name": "url",
  1167. "in": "query",
  1168. "description": "\u5f53\u524d\u9875\u9762\u5730\u5740",
  1169. "type": "string"
  1170. },
  1171. {
  1172. "name": "wechat_app_code",
  1173. "in": "query",
  1174. "description": "\u5e94\u7528\u7f16\u53f7",
  1175. "type": "string"
  1176. }
  1177. ],
  1178. "responses": {
  1179. "200": {
  1180. "description": "success",
  1181. "schema": {
  1182. "properties": {
  1183. "appId": {
  1184. "description": "appId",
  1185. "type": "string"
  1186. },
  1187. "timestamp": {
  1188. "description": "timestamp",
  1189. "type": "string"
  1190. },
  1191. "nonceStr": {
  1192. "description": "nonceStr",
  1193. "type": "string"
  1194. },
  1195. "signature": {
  1196. "description": "signature",
  1197. "type": "string"
  1198. }
  1199. }
  1200. }
  1201. },
  1202. "403": {
  1203. "description": "fail",
  1204. "schema": {
  1205. "$ref": "#/definitions/ErrorBean"
  1206. }
  1207. }
  1208. }
  1209. }
  1210. }
  1211. },
  1212. "definitions": {
  1213. "GetGoodsListResultBean": {
  1214. "properties": {
  1215. "total": {
  1216. "description": "\u603b\u6570\u91cf",
  1217. "type": "string"
  1218. },
  1219. "list": {
  1220. "description": "\u6570\u636e",
  1221. "type": "array",
  1222. "items": {
  1223. "properties": {
  1224. "goods_name": {
  1225. "description": "\u5546\u54c1\u540d\u79f0",
  1226. "type": "string"
  1227. },
  1228. "goods_thumb_url": {
  1229. "description": "\u5546\u54c1\u56fe\u7247",
  1230. "type": "string"
  1231. },
  1232. "market_price": {
  1233. "description": "\u5e02\u573a\u4ef7\u683c",
  1234. "type": "string"
  1235. },
  1236. "price": {
  1237. "description": "\u4f18\u60e0\u4ef7",
  1238. "type": "string"
  1239. },
  1240. "goods_id": {
  1241. "description": "\u5546\u54c1ID",
  1242. "type": "string"
  1243. },
  1244. "commission": {
  1245. "description": "\u4f63\u91d1(\u5355\u4f4d\u4e3a\u5206)",
  1246. "type": "string"
  1247. }
  1248. }
  1249. }
  1250. }
  1251. }
  1252. },
  1253. "GetOrderListResultBean": {
  1254. "properties": {
  1255. "total": {
  1256. "description": "\u603b\u6570\u91cf",
  1257. "type": "string"
  1258. },
  1259. "list": {
  1260. "description": "\u6570\u636e",
  1261. "type": "array",
  1262. "items": {
  1263. "properties": {
  1264. "order_number": {
  1265. "description": "\u8ba2\u5355\u7f16\u53f7",
  1266. "type": "string"
  1267. },
  1268. "product_name": {
  1269. "description": "\u5546\u54c1\u540d\u79f0",
  1270. "type": "string"
  1271. },
  1272. "produt_unit_price": {
  1273. "description": "\u5546\u54c1\u5355\u4ef7",
  1274. "type": "string"
  1275. },
  1276. "product_num": {
  1277. "description": "\u5546\u54c1\u6570\u91cf",
  1278. "type": "string"
  1279. },
  1280. "order_price": {
  1281. "description": "\u8ba2\u5355\u603b\u91d1\u989d",
  1282. "type": "string"
  1283. },
  1284. "order_realy_price": {
  1285. "description": "\u8ba2\u5355\u5b9e\u9645\u652f\u4ed8\u91d1\u989d",
  1286. "type": "string"
  1287. },
  1288. "order_status": {
  1289. "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)",
  1290. "type": "string"
  1291. },
  1292. "order_pay_at": {
  1293. "description": "\u8ba2\u5355\u652f\u4ed8\u65f6\u95f4",
  1294. "type": "string"
  1295. },
  1296. "order_commission": {
  1297. "description": "\u4f63\u91d1(\u5206)",
  1298. "type": "string"
  1299. },
  1300. "order_refund_commission": {
  1301. "description": "\u9000\u6b3e\u4f63\u91d1",
  1302. "type": "string"
  1303. },
  1304. "order_refund_at": {
  1305. "description": "\u9000\u6b3e\u65f6\u95f4",
  1306. "type": "string"
  1307. },
  1308. "order_refund_price": {
  1309. "description": "\u9000\u6b3e\u91d1\u989d",
  1310. "type": "string"
  1311. },
  1312. "order_platform_type": {
  1313. "description": "\u8ba2\u5355\u5e73\u53f0\u7c7b\u578b(1\u6dd8\u5b9d2\u62fc\u591a\u591a3\u4eac\u4e1c4\u7f8e\u56e25\u8fd4\u4e0d\u505c)",
  1314. "type": "string"
  1315. },
  1316. "created_at": {
  1317. "description": "\u521b\u5efa\u65f6\u95f4",
  1318. "type": "string"
  1319. }
  1320. }
  1321. }
  1322. }
  1323. }
  1324. },
  1325. "GetFansListResultBean": {
  1326. "properties": {
  1327. "total": {
  1328. "description": "\u603b\u6570\u91cf",
  1329. "type": "string"
  1330. },
  1331. "list": {
  1332. "description": "\u6570\u636e",
  1333. "type": "array",
  1334. "items": {
  1335. "properties": {
  1336. "user_head_img_url": {
  1337. "description": "\u7528\u6237\u5934\u50cf",
  1338. "type": "string"
  1339. },
  1340. "user_nickname": {
  1341. "description": "\u7528\u6237\u6635\u79f0",
  1342. "type": "string"
  1343. },
  1344. "created_at": {
  1345. "description": "\u6ce8\u518c\u65f6\u95f4",
  1346. "type": "string"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. }
  1352. },
  1353. "ErrorBean": {
  1354. "properties": {
  1355. "status": {
  1356. "description": "\u72b6\u6001\u7801(true\u8bf7\u6c42\u6210\u529ffalse\u8bf7\u6c42\u5931\u8d25)",
  1357. "type": "boolean"
  1358. },
  1359. "data": {
  1360. "description": "\u6570\u636e",
  1361. "type": "object"
  1362. },
  1363. "msg": {
  1364. "description": "\u9519\u8bef\u4fe1\u606f",
  1365. "type": "string"
  1366. },
  1367. "url": {
  1368. "description": "\u91cd\u5b9a\u5411\u5730\u5740",
  1369. "type": "string"
  1370. },
  1371. "code": {
  1372. "description": "\u9519\u8bef\u7801",
  1373. "type": "string"
  1374. }
  1375. }
  1376. },
  1377. "SuccessBean": {
  1378. "properties": {
  1379. "status": {
  1380. "description": "\u72b6\u6001\u7801(true\u8bf7\u6c42\u6210\u529ffalse\u8bf7\u6c42\u5931\u8d25)",
  1381. "type": "boolean"
  1382. },
  1383. "data": {
  1384. "description": "\u6b63\u786e\u76f8\u5e94\u7684\u6570\u636e",
  1385. "type": "object"
  1386. },
  1387. "msg": {
  1388. "description": "\u9519\u8bef\u4fe1\u606f",
  1389. "type": "string"
  1390. },
  1391. "url": {
  1392. "description": "\u91cd\u5b9a\u5411\u5730\u5740",
  1393. "type": "string"
  1394. },
  1395. "code": {
  1396. "description": "\u9519\u8bef\u7801",
  1397. "type": "string"
  1398. }
  1399. }
  1400. }
  1401. }
  1402. }