領(lǐng)取優(yōu)惠券代碼教程

  • 請求路徑:com/smallprogapi/Coupon/GetUserCoupon

 

  • 請求參數(shù):

?

參數(shù)名稱 必填 參數(shù)值說明 格式要求
openId OpenID String
couponId 優(yōu)惠券編號 int

?

  • 返回值說明:Json格式
返回結(jié)果:{"success":true,"msg":"領(lǐng)取成功","code":0,"data":0}

?

 

10.4用戶優(yōu)惠券列表

  • 請求路徑:com/smallprogapi/Coupon/GetLoadCoupon

 

  • 請求參數(shù):

?

參數(shù)名稱 必填 參數(shù)值說明 格式要求
openId OpenID String
pageSize 每頁數(shù)量 int
pageIndex 頁數(shù)
couponType 類型(1=可用?2=不可用)

?

  • 返回值說明:Json格式
返回結(jié)果:

{"success":true,"msg":"","code":0,"data":{"total":4,"Data":[{"CouponId":160,"RedEnvelopeId":"","CouponName":"test1","ClaimCode":"ea9dd38f242e48d08c12eb5ec63df7c0","UserId":664,"UserName":"viange","ShopId":351,"GetDate":"2017.11.16","Price":6.0,"StartTime":"2017.10.27","ClosingTime":"2017.11.27","OrderUseLimit":0.0,"CanUseProducts":"","UseWithGroup":false,"UseWithPanicBuying":false,"UseWithFireGroup":false,"RowNumber":1,"ShopName":"uliwsky","UseArea":1,"Remark":null,"CounponStatus":0},{"CouponId":157,"RedEnvelopeId":"","CouponName":"10","ClaimCode":"2ed75039d26746d7baabe30e5394e3fb","UserId":664,"UserName":"viange","ShopId":1,"GetDate":"2017.11.15","Price":10.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","OrderUseLimit":100.0,"CanUseProducts":"","UseWithGroup":false,"UseWithPanicBuying":false,"UseWithFireGroup":false,"RowNumber":1,"ShopName":"官方自營店","UseArea":0,"Remark":null,"CounponStatus":0},{"CouponId":157,"RedEnvelopeId":"","CouponName":"10","ClaimCode":"5a19f37a85ee4081a4306a59cf5636b9","UserId":664,"UserName":"viange","ShopId":1,"GetDate":"2017.11.15","Price":10.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","OrderUseLimit":100.0,"CanUseProducts":"","UseWithGroup":false,"UseWithPanicBuying":false,"UseWithFireGroup":false,"RowNumber":1,"ShopName":"官方自營店","UseArea":0,"Remark":null,"CounponStatus":0},{"CouponId":157,"RedEnvelopeId":"","CouponName":"10","ClaimCode":"ce55dd7b73b1496ca26a663c8cb68ac9","UserId":664,"UserName":"viange","ShopId":1,"GetDate":"2017.11.15","Price":10.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","OrderUseLimit":100.0,"CanUseProducts":"","UseWithGroup":false,"UseWithPanicBuying":false,"UseWithFireGroup":false,"RowNumber":1,"ShopName":"官方自營店","UseArea":0,"Remark":null,"CounponStatus":0}]}}

?

返回結(jié)果參數(shù)說明:

?

字段名稱 字段編碼 數(shù)據(jù)類型 是否可空 備注
優(yōu)惠券Id CouponId INT
優(yōu)惠券號 ClaimCode
領(lǐng)取日期 GetDate
訂單滿多少可用 OrderUseLimit
優(yōu)惠券名稱 CouponName
金額 Price
使用范圍 UseArea 1=全場,2=部分商品
部分商品可用說明 Remark

 

更多
  • 該日志由 于2020年05月30日發(fā)表在 未分類 分類下, 你可以發(fā)表評論,并在保留原文地址 及作者的情況下引用到你的網(wǎng)站或博客。
  • 本文鏈接: 領(lǐng)取優(yōu)惠券代碼教程 | 幫助信息-動(dòng)天數(shù)據(jù)
  • 版權(quán)所有: 幫助信息-動(dòng)天數(shù)據(jù)-轉(zhuǎn)載請標(biāo)明出處
  • 【上一篇】 【下一篇】

    0 Comments.

    發(fā)表評論