请求方式 POST 请求路径 api/Promotions/CreateSecKillOrder
URI 参数说明
None.
Json字符串 参数说明:Body Data
FrontNeedForCreateSecKill
字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
AddressId |
使用的地址id |
integer |
None. |
killid |
秒杀主表id |
integer |
None. |
hours |
开始小时 |
integer |
None. |
endhours |
结束小时 |
integer |
None. |
PostWay |
配送方式 0-新货栈配送 1-到店自取 |
integer |
None. |
BuyCount |
购买数量 |
integer |
None. |
LeaveWord |
买家留言 |
string |
None. |
UseHzb |
使用货站币金额 |
decimal number |
None. |
PayWay |
付款方式 0微信支付 1银联支付 2货到付款 |
integer |
None. |
HelpOrderServiceId |
代下单客服Id |
integer |
None. |
SourceId |
下单来源 0-公众号 1-小程序 2-安卓app |
integer |
None. |
请求格式:application/json, text/json
application/json
Sample:
{ "AddressId": 1, "killid": 2, "hours": 3, "endhours": 4, "PostWay": 5, "BuyCount": 6, "LeaveWord": "sample string 7", "UseHzb": 8.0, "PayWay": 9, "HelpOrderServiceId": 10, "SourceId": 11 }
得到响应信息说明
ResponseResult字段 | 说明 | 类型 | 备注说明 |
---|---|---|---|
ResponseMsg |
返回结果内容描述 |
string |
None. |
ResponseCode |
状态码 0(成功) >0(业务错误) <0(系统错误) -1: 系统错误 100: 字符为空报错 101: 字符类型错误 102: 图片上传失败200: 操作失败300: 缓存验证超时错误 301: 缓存验证码错误 302: token 错误系统不存在,非法操作 303: token 验证超时500: 参数错误 501: 数据为空 502: 存在重复数据 503: 业务验证失败 |
integer |
None. |
Data |
返回的结果集 |
Object |
None. |
响应格式
application/json, text/json
Sample:
{ "ResponseMsg": "sample string 1", "ResponseCode": 2, "Data": {} }