From 99006a0fb8357c80f82711ad52610d08c6c2f95e Mon Sep 17 00:00:00 2001 From: gazebo Date: Sat, 27 Apr 2019 09:59:52 +0800 Subject: [PATCH] - singlePromotion to singlePromote --- platformapi/jdapi/promotion_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/jdapi/promotion_sku.go b/platformapi/jdapi/promotion_sku.go index 06593f85..11951226 100644 --- a/platformapi/jdapi/promotion_sku.go +++ b/platformapi/jdapi/promotion_sku.go @@ -195,7 +195,7 @@ func (a *API) QueryPromotionInfo(promotionInfoId int64) (promotionInfo *Promotio jdParams := map[string]interface{}{ "promotionInfoId": promotionInfoId, } - result, err := a.AccessAPINoPage("singlePromotion/queryPromotionInfo", jdParams, nil, nil, genNoPageResultParser("errorCode", "errorInfos", "data", "0")) + result, err := a.AccessAPINoPage("singlePromote/queryPromotionInfo", jdParams, nil, nil, genNoPageResultParser("errorCode", "errorInfos", "data", "0")) if err == nil { data := result.(map[string]interface{}) // baseapi.SugarLogger.Debug(utils.Format4Output(data, false))