優(yōu)惠券接口數(shù)據(jù)描述
10.1可領(lǐng)取優(yōu)惠券列表接口
- 請求路徑:com/smallprogapi/Coupon/GetLoadSiteCoupon
- 請求參數(shù):
?
參數(shù)名稱 | 必填 | 參數(shù)值說明 | 格式要求 |
openId | 是 | OpenID | String |
pageSize | 是 | 每頁數(shù)量 | int |
pageIndex | 是 | 頁數(shù) | |
obtainWay | 否 | 類型(0:主動領(lǐng)取?1:指定發(fā)放?2:積分兌換) |
?
- 返回值說明:Json格式
返回結(jié)果:
{"success":true,"msg":"","code":0,"data":{"total":4,"Data":[{"CouponId":160,"CouponName":"test1","Price":6.0,"SendCount":6,"UserLimitCount":0,"OrderUseLimit":0.0,"StartTime":"2017.10.27","ClosingTime":"2017.11.27","ObtainWay":0,"NeedPoint":0,"UseArea":1,"Remark":null},{"CouponId":157,"CouponName":"10","Price":10.0,"SendCount":1111,"UserLimitCount":0,"OrderUseLimit":100.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","ObtainWay":0,"NeedPoint":0,"UseArea":0,"Remark":null},{"CouponId":157,"CouponName":"10","Price":10.0,"SendCount":1111,"UserLimitCount":0,"OrderUseLimit":100.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","ObtainWay":0,"NeedPoint":0,"UseArea":0,"Remark":null},{"CouponId":157,"CouponName":"10","Price":10.0,"SendCount":1111,"UserLimitCount":0,"OrderUseLimit":100.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","ObtainWay":0,"NeedPoint":0,"UseArea":0,"Remark":null}]}} |
?
返回結(jié)果參數(shù)說明:
?
字段名稱 | 字段編碼 | 數(shù)據(jù)類型 | 是否可空 | 備注 |
總量 | totalCount | INT | 否 | |
數(shù)據(jù) | Data | json | 是 |
數(shù)據(jù)列表?Data
字段名稱 | 字段編碼 | 數(shù)據(jù)類型 | 是否可空 | 備注 |
優(yōu)惠券ID | CouponId | Int | 否 | |
優(yōu)惠券名稱 | CouponName | string | 否 | |
優(yōu)惠價值 | Price | decimal | 否 | |
發(fā)放總量 | SendCount | int | 否 | |
用戶限領(lǐng)數(shù)量 | UserLimitCount | int | 否 | |
訂單使用條件 | OrderUseLimit | decimal | 否 | |
開始時間 | StartTime | datetime | 否 | |
結(jié)束時間 | ClosingTime | datetime | 否 | |
可使用商品 | CanUseProducts | string | 是 | |
領(lǐng)取方式 | ObtainWay | int | 否 | 0:主動領(lǐng)取?1:指定發(fā)放?2:積分兌換 |
需要積分 | NeedPoint | int | 否 |
0 Comments.