優惠券詳情接口源碼

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

 

  • 請求參數:

?

參數名稱 必填 參數值說明 格式要求
openId OpenID String
couponId 優惠券編號 int

?

  • 返回值說明:Json格式
返回結果:

{"success":true,"msg":"","code":0,"data":{"CouponId":160,"CouponName":"test1","Price":6.0,"SendCount":6,"UserLimitCount":0,"OrderUseLimit":0.0,"StartTime":"2017.10.27","ClosingTime":"2017.11.27","CanUseProducts":"","ObtainWay":0,"NeedPoint":0,"UseWithGroup":false,"UseWithPanicBuying":false,"UseWithFireGroup":false,"UseArea":1,"Remark":null}}

?

返回結果參數說明:

?

字段名稱 字段編碼 數據類型 是否可空 備注
優惠券ID CouponId Int
優惠券名稱 CouponName string
優惠價值 Price decimal
發放總量 SendCount int
用戶限領數量 UserLimitCount int
訂單使用條件 OrderUseLimit decimal
開始時間 StartTime datetime
結束時間 ClosingTime datetime
可使用商品 CanUseProducts string
領取方式 ObtainWay int 0:主動領取?1:指定發放?2:積分兌換
需要積分 NeedPoint int
可用于團購 UseWithGroup bool
可用于搶購 UseWithPanicBuying bool
更多
  • 該日志由 于2020年05月30日發表在 未分類 分類下, 你可以發表評論,并在保留原文地址 及作者的情況下引用到你的網站或博客。
  • 本文鏈接: 優惠券詳情接口源碼 | 幫助信息-動天數據
  • 版權所有: 幫助信息-動天數據-轉載請標明出處
  • 【上一篇】 【下一篇】

    0 Comments.