1
This commit is contained in:
@@ -194,8 +194,8 @@ func Init() {
|
|||||||
ScheduleTimerFunc("UpdateTiktokShopTotalMoney", func() {
|
ScheduleTimerFunc("UpdateTiktokShopTotalMoney", func() {
|
||||||
orderman.UpdateTiktokShopTotalMoney()
|
orderman.UpdateTiktokShopTotalMoney()
|
||||||
}, []string{
|
}, []string{
|
||||||
"03:35:00",
|
"04:30:00",
|
||||||
"11:05:00",
|
"09:40:00",
|
||||||
})
|
})
|
||||||
/// 更新淘鲜达结算信息
|
/// 更新淘鲜达结算信息
|
||||||
ScheduleTimerFunc("UpdateTaoTotalMoney", func() {
|
ScheduleTimerFunc("UpdateTaoTotalMoney", func() {
|
||||||
|
|||||||
@@ -467,16 +467,8 @@ func (c *PurchaseHandler) UpdateStoreLineStatus(ctx *jxcontext.Context, vendorOr
|
|||||||
err = mtwmApi.PoiOpen(vendorStoreID)
|
err = mtwmApi.PoiOpen(vendorStoreID)
|
||||||
}
|
}
|
||||||
default: // 先关店,在下线
|
default: // 先关店,在下线
|
||||||
globals.SugarLogger.Debugf("===========err1 := %s", vendorStoreID)
|
if err = mtwmApi.PoiClose(vendorStoreID); err == nil {
|
||||||
err = mtwmApi.PoiClose(vendorStoreID)
|
|
||||||
if err != nil {
|
|
||||||
globals.SugarLogger.Debugf("===========err1 := %v", err)
|
|
||||||
}
|
|
||||||
if err == nil {
|
|
||||||
err = mtwmApi.PoiOffline(vendorStoreID)
|
err = mtwmApi.PoiOffline(vendorStoreID)
|
||||||
if err != nil {
|
|
||||||
globals.SugarLogger.Debugf("===========err1 := %v", err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user