- 清理京东活动API的一些小问题
This commit is contained in:
@@ -73,6 +73,9 @@ type PromotionLspQueryInfoResult struct {
|
||||
Source string `json:"source"`
|
||||
}
|
||||
|
||||
// 此接口逐渐会被[新版订单级促销]中相应接口替换
|
||||
// 根据到家活动ID查询订单级活动明细接口
|
||||
// https://openo2o.jddj.com/staticnew/widgets/resources.html?groupid=196&apiid=ff1ade31ac1b4a50be760854c777b567
|
||||
func (a *API) OrderDiscountQueryActivityInfoById(activityID int64, promotionType, state int, operator string) (response *OpenPlatActivityQResponse, err error) {
|
||||
params := map[string]interface{}{
|
||||
"activityId": activityID,
|
||||
@@ -91,6 +94,8 @@ func (a *API) OrderDiscountQueryActivityInfoById(activityID int64, promotionType
|
||||
return response, err
|
||||
}
|
||||
|
||||
// 根据到家活动ID查询单品级促销活动接口
|
||||
// https://openo2o.jddj.com/staticnew/widgets/resources.html?groupid=196&apiid=a47520a9757f4b0dbac1e6d36fd1103d
|
||||
func (a *API) QueryPromotionInfo(promotionInfoId int64) (promotionInfo *PromotionLspQueryInfoResult, err error) {
|
||||
jdParams := map[string]interface{}{
|
||||
"promotionInfoId": promotionInfoId,
|
||||
|
||||
Reference in New Issue
Block a user