|
@@ -10,6 +10,101 @@
|
|
|
"http"
|
|
|
],
|
|
|
"paths": {
|
|
|
+ "/buy/cate/list": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "\u7535\u5546\u5bfc\u8d2d"
|
|
|
+ ],
|
|
|
+ "summary": "\u83b7\u53d6\u7535\u5546\u5e73\u53f0\u5206\u7c7b",
|
|
|
+ "description": "\u83b7\u53d6\u7535\u5546\u5e73\u53f0\u5206\u7c7b",
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "source",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u6765\u6e90 jd-\u4eac\u4e1c,vip-\u552f\u54c1\u4f1a,pdd-\u62fc\u591a\u591a,kaola-\u8003\u62c9,taobao-\u6dd8\u5b9d",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "success",
|
|
|
+ "schema": {
|
|
|
+ "properties": {
|
|
|
+ "id": {
|
|
|
+ "description": "\u5206\u7c7bID",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "name": {
|
|
|
+ "description": "\u5206\u7c7b\u540d\u79f0",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "403": {
|
|
|
+ "description": "fail",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/ErrorBean"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "/buy/goods/list": {
|
|
|
+ "post": {
|
|
|
+ "tags": [
|
|
|
+ "\u7535\u5546\u5bfc\u8d2d"
|
|
|
+ ],
|
|
|
+ "summary": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
|
|
|
+ "description": "\u5546\u54c1\u5217\u8868\u63a5\u53e3",
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "page",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u7b2c\u51e0\u9875",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "page_size",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u6bcf\u9875\u6570\u91cf",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "source",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u6765\u6e90 jd-\u4eac\u4e1c,vip-\u552f\u54c1\u4f1a,pdd-\u62fc\u591a\u591a,kaola-\u8003\u62c9,taobao-\u6dd8\u5b9d",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "cat_id",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u5206\u7c7bID",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "success",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/GetGoodsListResultBean"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "403": {
|
|
|
+ "description": "fail",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/ErrorBean"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/home/list": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
@@ -911,6 +1006,46 @@
|
|
|
}
|
|
|
},
|
|
|
"definitions": {
|
|
|
+ "GetGoodsListResultBean": {
|
|
|
+ "properties": {
|
|
|
+ "total": {
|
|
|
+ "description": "\u603b\u6570\u91cf",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "list": {
|
|
|
+ "description": "\u6570\u636e",
|
|
|
+ "type": "array",
|
|
|
+ "items": {
|
|
|
+ "properties": {
|
|
|
+ "goods_name": {
|
|
|
+ "description": "\u5546\u54c1\u540d\u79f0",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goods_thumb_url": {
|
|
|
+ "description": "\u5546\u54c1\u56fe\u7247",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "market_price": {
|
|
|
+ "description": "\u5e02\u573a\u4ef7\u683c",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "price": {
|
|
|
+ "description": "\u4f18\u60e0\u4ef7",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goods_id": {
|
|
|
+ "description": "\u5546\u54c1ID",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "commission": {
|
|
|
+ "description": "\u4f63\u91d1(\u5355\u4f4d\u4e3a\u5206)",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"GetOrderListResultBean": {
|
|
|
"properties": {
|
|
|
"total": {
|