GET api/Carta?userID={userID}&goodsID={goodsID}&sNum={sNum}

加入购物车

请求信息

URI 参数

参数参数描述类型其它信息
userID

人员

string

Required

goodsID

商品

string

Required

sNum

数量

decimal number

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}]