- 根据到家活动ID查询单品级促销活动接口地址变更为singlePromote/queryPromotionInfo

This commit is contained in:
gazebo
2019-04-19 10:34:39 +08:00
parent 849e1a9c6e
commit b09999a722

View File

@@ -195,7 +195,7 @@ func (a *API) QueryPromotionInfo(promotionInfoId int64) (promotionInfo *Promotio
jdParams := map[string]interface{}{
"promotionInfoId": promotionInfoId,
}
result, err := a.AccessAPINoPage("orderdiscount/queryPromotionInfo", jdParams, nil, nil, genNoPageResultParser("errorCode", "errorInfos", "data", "0"))
result, err := a.AccessAPINoPage("singlePromotion/queryPromotionInfo", jdParams, nil, nil, genNoPageResultParser("errorCode", "errorInfos", "data", "0"))
if err == nil {
data := result.(map[string]interface{})
// baseapi.SugarLogger.Debug(utils.Format4Output(data, false))