fix jdapi.QueryPromotionSku
This commit is contained in:
@@ -116,7 +116,7 @@ func (a *API) QueryPromotionSku(promotionType int, skuID int64, promotionState i
|
||||
"promotionState": promotionState,
|
||||
}
|
||||
result, _, err := a.AccessAPIHavePage("singlePromote/queryPromotionSku", jdParams, nil, nil, genNormalHavePageResultParser("data"))
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
err = JdMap2StructByJson(result, &skuResultList, false)
|
||||
}
|
||||
return skuResultList, err
|
||||
|
||||
Reference in New Issue
Block a user