優(yōu)惠券接口數(shù)據(jù)描述

10.1可領(lǐng)取優(yōu)惠券列表接口

  • 請(qǐng)求路徑:com/smallprogapi/Coupon/GetLoadSiteCoupon

 

  • 請(qǐng)求參數(shù):

?

參數(shù)名稱 必填 參數(shù)值說(shuō)明 格式要求
openId OpenID String
pageSize 每頁(yè)數(shù)量 int
pageIndex 頁(yè)數(shù)
obtainWay 類型(0:主動(dòng)領(lǐng)取?1:指定發(fā)放?2:積分兌換)

?

  • 返回值說(shuō)明: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ù)說(shuō)明:

?

字段名稱 字段編碼 數(shù)據(jù)類型 是否可空 備注
總量 totalCount INT
數(shù)據(jù) Data json

數(shù)據(jù)列表?Data

字段名稱 字段編碼 數(shù)據(jù)類型 是否可空 備注
優(yōu)惠券ID CouponId Int
優(yōu)惠券名稱 CouponName string
優(yōu)惠價(jià)值 Price decimal
發(fā)放總量 SendCount int
用戶限領(lǐng)數(shù)量 UserLimitCount int
訂單使用條件 OrderUseLimit decimal
開始時(shí)間 StartTime datetime
結(jié)束時(shí)間 ClosingTime datetime
可使用商品 CanUseProducts string
領(lǐng)取方式 ObtainWay int 0:主動(dòng)領(lǐng)取?1:指定發(fā)放?2:積分兌換
需要積分 NeedPoint int
更多
  • 該日志由 于2020年05月30日發(fā)表在 未分類 分類下, 你可以發(fā)表評(píng)論,并在保留原文地址 及作者的情況下引用到你的網(wǎng)站或博客。
  • 本文鏈接: 優(yōu)惠券接口數(shù)據(jù)描述 | 幫助信息-動(dòng)天數(shù)據(jù)
  • 版權(quán)所有: 幫助信息-動(dòng)天數(shù)據(jù)-轉(zhuǎn)載請(qǐng)標(biāo)明出處
  • 【上一篇】 【下一篇】

    0 Comments.

    發(fā)表評(píng)論