swagger.json 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436
  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. "/user/feedback": {
  1155. "post": {
  1156. "tags": [
  1157. "\u7528\u6237\u7ba1\u7406"
  1158. ],
  1159. "summary": "\u53cd\u9988\u63a5\u53e3",
  1160. "description": "\u53cd\u9988\u63a5\u53e3",
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "parameters": [
  1165. {
  1166. "name": "content",
  1167. "in": "query",
  1168. "description": "\u53cd\u9988\u5185\u5bb9",
  1169. "type": "string"
  1170. }
  1171. ],
  1172. "responses": {
  1173. "200": {
  1174. "description": "success",
  1175. "schema": {
  1176. "$ref": "#/definitions/SuccessBean"
  1177. }
  1178. },
  1179. "403": {
  1180. "description": "fail",
  1181. "schema": {
  1182. "$ref": "#/definitions/ErrorBean"
  1183. }
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "/wechat/account/config": {
  1189. "post": {
  1190. "tags": [
  1191. "\u516c\u4f17\u53f7"
  1192. ],
  1193. "summary": "\u83b7\u53d6\u516c\u4f17\u53f7\u914d\u7f6e\u63a5\u53e3",
  1194. "description": "\u83b7\u53d6\u516c\u4f17\u53f7\u914d\u7f6e\u63a5\u53e3",
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "parameters": [
  1199. {
  1200. "name": "url",
  1201. "in": "query",
  1202. "description": "\u5f53\u524d\u9875\u9762\u5730\u5740",
  1203. "type": "string"
  1204. },
  1205. {
  1206. "name": "wechat_app_code",
  1207. "in": "query",
  1208. "description": "\u5e94\u7528\u7f16\u53f7",
  1209. "type": "string"
  1210. }
  1211. ],
  1212. "responses": {
  1213. "200": {
  1214. "description": "success",
  1215. "schema": {
  1216. "properties": {
  1217. "appId": {
  1218. "description": "appId",
  1219. "type": "string"
  1220. },
  1221. "timestamp": {
  1222. "description": "timestamp",
  1223. "type": "string"
  1224. },
  1225. "nonceStr": {
  1226. "description": "nonceStr",
  1227. "type": "string"
  1228. },
  1229. "signature": {
  1230. "description": "signature",
  1231. "type": "string"
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "403": {
  1237. "description": "fail",
  1238. "schema": {
  1239. "$ref": "#/definitions/ErrorBean"
  1240. }
  1241. }
  1242. }
  1243. }
  1244. }
  1245. },
  1246. "definitions": {
  1247. "GetGoodsListResultBean": {
  1248. "properties": {
  1249. "total": {
  1250. "description": "\u603b\u6570\u91cf",
  1251. "type": "string"
  1252. },
  1253. "list": {
  1254. "description": "\u6570\u636e",
  1255. "type": "array",
  1256. "items": {
  1257. "properties": {
  1258. "goods_name": {
  1259. "description": "\u5546\u54c1\u540d\u79f0",
  1260. "type": "string"
  1261. },
  1262. "goods_thumb_url": {
  1263. "description": "\u5546\u54c1\u56fe\u7247",
  1264. "type": "string"
  1265. },
  1266. "market_price": {
  1267. "description": "\u5e02\u573a\u4ef7\u683c",
  1268. "type": "string"
  1269. },
  1270. "price": {
  1271. "description": "\u4f18\u60e0\u4ef7",
  1272. "type": "string"
  1273. },
  1274. "goods_id": {
  1275. "description": "\u5546\u54c1ID",
  1276. "type": "string"
  1277. },
  1278. "commission": {
  1279. "description": "\u4f63\u91d1(\u5355\u4f4d\u4e3a\u5206)",
  1280. "type": "string"
  1281. }
  1282. }
  1283. }
  1284. }
  1285. }
  1286. },
  1287. "GetOrderListResultBean": {
  1288. "properties": {
  1289. "total": {
  1290. "description": "\u603b\u6570\u91cf",
  1291. "type": "string"
  1292. },
  1293. "list": {
  1294. "description": "\u6570\u636e",
  1295. "type": "array",
  1296. "items": {
  1297. "properties": {
  1298. "order_number": {
  1299. "description": "\u8ba2\u5355\u7f16\u53f7",
  1300. "type": "string"
  1301. },
  1302. "product_name": {
  1303. "description": "\u5546\u54c1\u540d\u79f0",
  1304. "type": "string"
  1305. },
  1306. "produt_unit_price": {
  1307. "description": "\u5546\u54c1\u5355\u4ef7",
  1308. "type": "string"
  1309. },
  1310. "product_num": {
  1311. "description": "\u5546\u54c1\u6570\u91cf",
  1312. "type": "string"
  1313. },
  1314. "order_price": {
  1315. "description": "\u8ba2\u5355\u603b\u91d1\u989d",
  1316. "type": "string"
  1317. },
  1318. "order_realy_price": {
  1319. "description": "\u8ba2\u5355\u5b9e\u9645\u652f\u4ed8\u91d1\u989d",
  1320. "type": "string"
  1321. },
  1322. "order_status": {
  1323. "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)",
  1324. "type": "string"
  1325. },
  1326. "order_pay_at": {
  1327. "description": "\u8ba2\u5355\u652f\u4ed8\u65f6\u95f4",
  1328. "type": "string"
  1329. },
  1330. "order_commission": {
  1331. "description": "\u4f63\u91d1(\u5206)",
  1332. "type": "string"
  1333. },
  1334. "order_refund_commission": {
  1335. "description": "\u9000\u6b3e\u4f63\u91d1",
  1336. "type": "string"
  1337. },
  1338. "order_refund_at": {
  1339. "description": "\u9000\u6b3e\u65f6\u95f4",
  1340. "type": "string"
  1341. },
  1342. "order_refund_price": {
  1343. "description": "\u9000\u6b3e\u91d1\u989d",
  1344. "type": "string"
  1345. },
  1346. "order_platform_type": {
  1347. "description": "\u8ba2\u5355\u5e73\u53f0\u7c7b\u578b(1\u6dd8\u5b9d2\u62fc\u591a\u591a3\u4eac\u4e1c4\u7f8e\u56e25\u8fd4\u4e0d\u505c)",
  1348. "type": "string"
  1349. },
  1350. "created_at": {
  1351. "description": "\u521b\u5efa\u65f6\u95f4",
  1352. "type": "string"
  1353. }
  1354. }
  1355. }
  1356. }
  1357. }
  1358. },
  1359. "GetFansListResultBean": {
  1360. "properties": {
  1361. "total": {
  1362. "description": "\u603b\u6570\u91cf",
  1363. "type": "string"
  1364. },
  1365. "list": {
  1366. "description": "\u6570\u636e",
  1367. "type": "array",
  1368. "items": {
  1369. "properties": {
  1370. "user_head_img_url": {
  1371. "description": "\u7528\u6237\u5934\u50cf",
  1372. "type": "string"
  1373. },
  1374. "user_nickname": {
  1375. "description": "\u7528\u6237\u6635\u79f0",
  1376. "type": "string"
  1377. },
  1378. "created_at": {
  1379. "description": "\u6ce8\u518c\u65f6\u95f4",
  1380. "type": "string"
  1381. }
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "ErrorBean": {
  1388. "properties": {
  1389. "status": {
  1390. "description": "\u72b6\u6001\u7801(true\u8bf7\u6c42\u6210\u529ffalse\u8bf7\u6c42\u5931\u8d25)",
  1391. "type": "boolean"
  1392. },
  1393. "data": {
  1394. "description": "\u6570\u636e",
  1395. "type": "object"
  1396. },
  1397. "msg": {
  1398. "description": "\u9519\u8bef\u4fe1\u606f",
  1399. "type": "string"
  1400. },
  1401. "url": {
  1402. "description": "\u91cd\u5b9a\u5411\u5730\u5740",
  1403. "type": "string"
  1404. },
  1405. "code": {
  1406. "description": "\u9519\u8bef\u7801",
  1407. "type": "string"
  1408. }
  1409. }
  1410. },
  1411. "SuccessBean": {
  1412. "properties": {
  1413. "status": {
  1414. "description": "\u72b6\u6001\u7801(true\u8bf7\u6c42\u6210\u529ffalse\u8bf7\u6c42\u5931\u8d25)",
  1415. "type": "boolean"
  1416. },
  1417. "data": {
  1418. "description": "\u6b63\u786e\u76f8\u5e94\u7684\u6570\u636e",
  1419. "type": "object"
  1420. },
  1421. "msg": {
  1422. "description": "\u9519\u8bef\u4fe1\u606f",
  1423. "type": "string"
  1424. },
  1425. "url": {
  1426. "description": "\u91cd\u5b9a\u5411\u5730\u5740",
  1427. "type": "string"
  1428. },
  1429. "code": {
  1430. "description": "\u9519\u8bef\u7801",
  1431. "type": "string"
  1432. }
  1433. }
  1434. }
  1435. }
  1436. }