1
This commit is contained in:
@@ -2741,9 +2741,9 @@ var storeList = []int64{
|
||||
//103074,
|
||||
//668985,
|
||||
//103065,
|
||||
668960,
|
||||
668959,
|
||||
668953,
|
||||
//668960,
|
||||
//668959,
|
||||
//668953,
|
||||
103029,
|
||||
668949,
|
||||
103002,
|
||||
|
||||
@@ -213,7 +213,7 @@ func Init() {
|
||||
ScheduleTimerFunc("UpdateTaoSkuUpdateOffShelf", func() {
|
||||
orderman.UpdateTaoSkuUpdateOffShelf()
|
||||
}, []string{
|
||||
"14:00:00",
|
||||
"14:35:00",
|
||||
})
|
||||
|
||||
// 每分钟轮询一次,推送骑手信息
|
||||
|
||||
@@ -848,20 +848,7 @@ func (c *PurchaseHandler) GetOrderSettleAccounts(order *model.GoodsOrder) (int64
|
||||
// 下架
|
||||
func UpdateStoreSku(storeId int64, skuCode []string) []string {
|
||||
api := getAPI("34402634", 0, "")
|
||||
|
||||
result := make([]string, 0, 0)
|
||||
for _, v := range skuCode {
|
||||
param := &request587.AlibabaAxChannelSkuStatusUpdateRequest{ChannelSkuUpdateStatusReq: &domain587.AlibabaAxChannelSkuStatusUpdateChannelSkuUpdateStatusReq{
|
||||
SkuCode: utils.String2Pointer(v),
|
||||
StoreId: utils.String2Pointer(fmt.Sprintf("JX%d", storeId)),
|
||||
ChannelCode: utils.String2Pointer("31"),
|
||||
OnlineSaleFlag: utils.Int64ToPointer(0),
|
||||
}}
|
||||
if err := api.StoreSkuUpdateOffShelf(param); err != nil {
|
||||
result = append(result, fmt.Sprintf(" [storeId:%d,skuCode:%s]"+err.Error(), storeId, v))
|
||||
}
|
||||
}
|
||||
return result
|
||||
return api.StoreSkuUpdateOffShelfList(storeId, skuCode)
|
||||
}
|
||||
|
||||
// 上架
|
||||
|
||||
Reference in New Issue
Block a user