swagger.json 55 KB

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