|
@@ -585,6 +585,27 @@ define({ "api": [
|
|
|
"optional": false,
|
|
|
"field": "num",
|
|
|
"description": "<p>产品数量,多个用逗号隔开</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "name",
|
|
|
+ "description": "<p>收货人姓名</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "address",
|
|
|
+ "description": "<p>收货人地址</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "mobile",
|
|
|
+ "description": "<p>收货人联系电话</p>"
|
|
|
}
|
|
|
]
|
|
|
}
|
|
@@ -719,6 +740,127 @@ define({ "api": [
|
|
|
"filename": "/root/input/doc/apidoc.php",
|
|
|
"groupTitle": "Product"
|
|
|
},
|
|
|
+ {
|
|
|
+ "type": "get",
|
|
|
+ "url": "product/?l=api.checkCode",
|
|
|
+ "title": "根据兑换码获取产品信息",
|
|
|
+ "version": "1.0.0",
|
|
|
+ "name": "api_checkCode",
|
|
|
+ "group": "Product",
|
|
|
+ "description": "<p>根据兑换码获取产品信息</p>",
|
|
|
+ "parameter": {
|
|
|
+ "fields": {
|
|
|
+ "Parameter": [
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "signature",
|
|
|
+ "description": "<p>signature</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "code",
|
|
|
+ "description": "<p>兑换码</p>"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "fields": {
|
|
|
+ "Success 200": [
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "Object[]",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product",
|
|
|
+ "description": "<p>产品信息</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.id",
|
|
|
+ "description": "<p>产品id</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.name",
|
|
|
+ "description": "<p>名称</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.pic",
|
|
|
+ "description": "<p>产品封面</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.focus",
|
|
|
+ "description": "<p>产品轮播图 多个用逗号隔开</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.content",
|
|
|
+ "description": "<p>内容</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.price",
|
|
|
+ "description": "<p>显示价格</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "Number",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product.pay_price",
|
|
|
+ "description": "<p>支付价格</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "Object[]",
|
|
|
+ "optional": false,
|
|
|
+ "field": "address",
|
|
|
+ "description": "<p>收货地址</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "address.name",
|
|
|
+ "description": "<p>收货人姓名</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "address.address",
|
|
|
+ "description": "<p>收货人地址</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "address.mobile",
|
|
|
+ "description": "<p>收货人联系电话</p>"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "filename": "/root/input/doc/apidoc.php",
|
|
|
+ "groupTitle": "Product"
|
|
|
+ },
|
|
|
{
|
|
|
"type": "get",
|
|
|
"url": "product/?l=api.code",
|
|
@@ -750,6 +892,71 @@ define({ "api": [
|
|
|
"optional": false,
|
|
|
"field": "code",
|
|
|
"description": "<p>兑换码</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "name",
|
|
|
+ "description": "<p>收货人姓名</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "address",
|
|
|
+ "description": "<p>收货人地址</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "mobile",
|
|
|
+ "description": "<p>收货人联系电话</p>"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "filename": "/root/input/doc/apidoc.php",
|
|
|
+ "groupTitle": "Product"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "get",
|
|
|
+ "url": "product/?l=api.delCarts",
|
|
|
+ "title": "从购物车删除产品",
|
|
|
+ "version": "1.0.0",
|
|
|
+ "name": "api_delCarts",
|
|
|
+ "group": "Product",
|
|
|
+ "description": "<p>从购物车删除产品</p>",
|
|
|
+ "parameter": {
|
|
|
+ "fields": {
|
|
|
+ "Parameter": [
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "signature",
|
|
|
+ "description": "<p>signature</p>"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "group": "Parameter",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "product_id",
|
|
|
+ "description": "<p>产品id</p>"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "success": {
|
|
|
+ "fields": {
|
|
|
+ "Success 200": [
|
|
|
+ {
|
|
|
+ "group": "Success 200",
|
|
|
+ "type": "String",
|
|
|
+ "optional": false,
|
|
|
+ "field": "data",
|
|
|
+ "description": "<p>返回ok</p>"
|
|
|
}
|
|
|
]
|
|
|
}
|