This commit is contained in:
gazebo
2019-12-10 18:39:32 +08:00
parent 7721893692
commit 794f4f084a

View File

@@ -188,7 +188,9 @@ func (v *VendorSync) oldSyncReorderCategories(ctx *jxcontext.Context, db *dao.Da
func (v *VendorSync) SyncStore(ctx *jxcontext.Context, db *dao.DaoDB, vendorID, storeID int, isAsync bool, userName string) (hint string, err error) {
globals.SugarLogger.Debugf("SyncStore, storeID:%d", storeID)
if vendorID == model.VendorIDJX {
return "1", nil
}
var vendorIDs []int
if vendorID != -1 {
vendorIDs = []int{