感谢您的反馈!
下单时使用积分,进行积分扣减,并返回积分分摊情况
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
userId | String | 必须 | 123 | 用户id | |
traceId | String | 可选 | 123 | 123 | |
dutyfreeType | String | 可选 | 11 | 业务dutyfreeType | |
outerUserId | String | 可选 | 345 | 三方系统用户id | |
usePoint | Number | 必须 | 100 | 下单使用的积分数量 | |
orderInfo | OrderDO | 必须 | 订单对象 | ||
|
|||||
nonDeductiblePrice | Number | 必须 | 900 | 不可用积分抵扣的金额。无小数位,保留到分位。如500,等于5元 | |
extInfo | String | 可选 | {"key":"jsonstring"} | 备注 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | Data | 返回对象 | |
|
|||
success | Boolean | true | 请求成功标识 |
respMsg | String | succ | 错误描述 |
respCode | String | 200 | 错误码 |
{"traceId":"123","usePoint":100,"dutyfreeType":"11","outerUserId":"345","orderInfo":{"orderTime":"2021-04-01","orderId":"123abc","items":[{"gz":"10100620","totalPrice":500,"qty":2,"outerId":"234","id":"123","extraInfo":"{\"key\":\"jsonstring\"}"}]},"nonDeductiblePrice":900,"userId":"123","extInfo":"{\"key\":\"jsonstring\"}"}
{ "data":{ "pointUseShareList":[ { "itemId":"123", "outerItemId":"234", "points":50 } ], "pointGiftShareList":[ { "itemId":"123", "outerItemId":"234", "points":50 } ], "pointGiftTotal":12300 }, "success":true, "respMsg":"succ", "respCode":"200" }
{"success":"false","respMsg":"Illegal request","respCode":"sign-check-failure"}
错误码 | 错误描述 | 解决方案 |
---|---|---|
isp.http-connection-timeout |