|
@@ -207,6 +207,12 @@
|
|
|
"description": "\u6bcf\u9875\u6570\u91cf",
|
|
|
"type": "string"
|
|
|
},
|
|
|
+ {
|
|
|
+ "name": "sort",
|
|
|
+ "in": "query",
|
|
|
+ "description": "1-\u7efc\u5408\u6392\u5e8f,2-\u4ef7\u683c\u5347\u5e8f,3-\u9500\u91cf\u964d\u5e8f \u9ed8\u8ba41",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
{
|
|
|
"name": "source",
|
|
|
"in": "query",
|
|
@@ -230,6 +236,79 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "/buy/transfer/goods": {
|
|
|
+ "get": {
|
|
|
+ "tags": [
|
|
|
+ "\u7535\u5546\u5bfc\u8d2d"
|
|
|
+ ],
|
|
|
+ "summary": "\u6dd8\u5b9d\u5206\u4eab\u5546\u54c1\u8be6\u60c5\u9875\u63a5\u53e3",
|
|
|
+ "description": "\u6dd8\u5b9d\u5206\u4eab\u5546\u54c1\u8be6\u60c5\u9875\u63a5\u53e3",
|
|
|
+ "produces": [
|
|
|
+ "application/json"
|
|
|
+ ],
|
|
|
+ "parameters": [
|
|
|
+ {
|
|
|
+ "name": "user_id",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u5206\u4eab\u8005\u7528\u6237ID",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "goods_id",
|
|
|
+ "in": "query",
|
|
|
+ "description": "\u5546\u54c1ID",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "responses": {
|
|
|
+ "200": {
|
|
|
+ "description": "success",
|
|
|
+ "schema": {
|
|
|
+ "properties": {
|
|
|
+ "goods_name": {
|
|
|
+ "description": "\u5546\u54c1\u540d\u79f0",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "price": {
|
|
|
+ "description": "\u4f18\u60e0\u4ef7",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "market_price": {
|
|
|
+ "description": "\u5e02\u573a\u4ef7\u683c",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "discount": {
|
|
|
+ "description": "\u4f18\u60e0\u91d1\u989d",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "commission": {
|
|
|
+ "description": "\u4f63\u91d1",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "url": {
|
|
|
+ "description": "\u8d2d\u4e70\u94fe\u63a5",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goods_carousel_pictures": {
|
|
|
+ "description": "\u5546\u54c1\u8f6e\u64ad\u56fe(\u6570\u7ec4)",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "goods_detail_pictures": {
|
|
|
+ "description": "\u5546\u54c1\u8be6\u60c5\u56fe\u7247(\u6570\u7ec4)",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "403": {
|
|
|
+ "description": "fail",
|
|
|
+ "schema": {
|
|
|
+ "$ref": "#/definitions/ErrorBean"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"/home/list": {
|
|
|
"get": {
|
|
|
"tags": [
|