GET api/Cartd?userID={userID}&goodsID={goodsID}
加入购物车
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
userID |
人员 |
string |
Required |
goodsID |
商品 |
string |
Required |
Body 参数
None.
响应信息
响应描述
Collection of cState参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
State | integer |
None. |
响应格式
application/json, text/json
Sample:
[ { "_State": 1 }, { "_State": 1 } ]
text/html
Sample:
[{"_State":1},{"_State":1}]