文档
测试

添加购物车

POST
https://shop.szpdc.com/api/shop/AddToCart

请求头

参数名
类型
描述
必填
Content-Type
string
示例:application/json
必填

请求参数

参数名
类型
描述
必填
partner_id
int
登录获取到的partner_id,示例:14
必填
product_id
int
商品套餐id,示例:11
必填
qty
int
数量,示例:1
必填

响应参数

参数名
类型
描述
必填
jsonrpc
string
示例:2.0
必填
id
object
示例:null
必填
result
object
数据字典
必填
msg
string
示例:success,failed
必填

说明 / 示例

```json { "jsonrpc": "2.0", "id": null, "result": { "msg": "success" } } ```