POST api/cart/post
Request Information
URI Parameters
None.
Body Parameters
CartModel| Name | Description | Type | Additional information |
|---|---|---|---|
| goods_id | integer |
None. |
|
| spec_sku_id | string |
None. |
|
| num | integer |
None. |
|
| open_id | string |
None. |
|
| shop_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"goods_id": 1,
"spec_sku_id": "sample string 2",
"num": 3,
"open_id": "sample string 4",
"shop_id": 5
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
AjaxResult| Name | Description | Type | Additional information |
|---|---|---|---|
| PromptMsg | string |
None. |
|
| Result | DoResult |
None. |
|
| RetValue | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"PromptMsg": "sample string 1",
"Result": 0,
"RetValue": {}
}