Merge branch 'jdshop' of https://e.coding.net/rosydev/jx-callback into jdshop

This commit is contained in:
richboo111
2023-10-09 16:46:44 +08:00
2 changed files with 41 additions and 23 deletions

View File

@@ -79,21 +79,22 @@ var (
"19:00:00",
"22:00:00",
}
// 七牛云流量检查
ChangeStoreSkuSaleStatusList = []string{
"7:00:00",
"8:00:00",
"9:00:00",
//"10:00:00",
//"11:00:00",
//"12:00:00",
//"13:00:00",
//"14:00:00",
//"15:00:00",
//"16:00:00",
//"17:00:00",
//"18:00:00",
//"19:00:00",
//"20:00:00",
//"7:00:00",
//"8:00:00",
//"9:00:00",
/* //"10:00:00",
//"11:00:00",
//"12:00:00",
//"13:00:00",
//"14:00:00",
//"15:00:00",
//"16:00:00",
//"17:00:00",
//"18:00:00",
//"19:00:00",
//"20:00:00",*/
}
openRemoteStoreTimeList = []string{
"04:30:00",
@@ -333,9 +334,9 @@ func Init() {
}, updateActStatusTimeList)
ScheduleScoreStore()
// ScheduleCheckStoreAlert()
ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, true)
}, ChangeStoreSkuSaleStatusList)
//ScheduleTimerFunc("ChangeStoreSkuSaleStatus", func() {
// cms.CurVendorSync.ChangeStoreSkuSaleStatus(jxcontext.AdminCtx, 0, true, true)
//}, ChangeStoreSkuSaleStatusList)
ScheduleTimerFunc("BeginSavePriceRefer", func() {
report.BeginSavePriceRefer(jxcontext.AdminCtx, nil, nil, true, true)
}, priceReferTimeList)