aa
This commit is contained in:
@@ -285,9 +285,7 @@ func Init() {
|
||||
dao.SetStoresMapSyncStatus(dao.GetDB(), nil, nil, model.SyncFlagStoreStatus)
|
||||
cms.CurVendorSync.SyncStore2(jxcontext.AdminCtx, dao.GetDB(), []int{model.VendorIDMTWM, model.VendorIDJD, model.VendorIDEBAI}, nil, true, true)
|
||||
|
||||
if beego.BConfig.RunMode == "prod" {
|
||||
syncStoreSku()
|
||||
}
|
||||
syncStoreSku()
|
||||
InitEx()
|
||||
cms.SyncStoresCourierInfo(jxcontext.AdminCtx, nil, false, true)
|
||||
netprinter.RebindAllPrinters(jxcontext.AdminCtx, false, true)
|
||||
@@ -398,7 +396,7 @@ func Init() {
|
||||
func syncStoreSku() {
|
||||
syncFlag := 0
|
||||
if beego.BConfig.RunMode == "jxgy" {
|
||||
syncFlag = model.SyncFlagPriceMask
|
||||
//syncFlag = model.SyncFlagPriceMask
|
||||
if true {
|
||||
syncFlag |= model.SyncFlagSaleMask
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user