1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package ebaiapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
@@ -347,13 +348,14 @@ type ActMultiChannelQueryInfosSkuList struct {
|
||||
Skuid string `json:"skuId"`
|
||||
}
|
||||
|
||||
// 多渠道查询活动详情
|
||||
// 多渠道查询活动详情(此接口成功率不达标,原因是上一个接口获取门店活动id时,把门店结束活动id查询出来了,但是此接口查询结束活动时,失效了)
|
||||
func (a *API) ActMultiChannelQueryInfos(activityID, shopID string, baiduShopID int64) (actMultiChannelQueryInfosResult *ActMultiChannelQueryInfosResult, err error) {
|
||||
pageSize := 100
|
||||
params := a.genShopIDParams(shopID, baiduShopID, 0)
|
||||
params["activity_id"] = activityID
|
||||
params["page_size"] = pageSize
|
||||
result, err := a.AccessAPI("act.multi.channel.queryinfos", params)
|
||||
fmt.Println(err)
|
||||
if err == nil {
|
||||
if result.Data != nil {
|
||||
utils.Map2StructByJson(result.Data.(map[string]interface{}), &actMultiChannelQueryInfosResult, false)
|
||||
|
||||
Reference in New Issue
Block a user