swagger.json 45 KB

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