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