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