aa
This commit is contained in:
@@ -29,7 +29,7 @@ func (s *StoreManager) OnStoreStatusChanged(vendorStoreID string, vendorID int,
|
||||
db := dao.GetDB()
|
||||
storeDetail, err := dao.GetStoreDetailByVendorStoreID(db, vendorStoreID, vendorID, "")
|
||||
if err == nil {
|
||||
if storeDetail.IsSync == model.NO {
|
||||
if storeDetail.IsSync == model.NO || storeDetail.Status == model.StoreStatusDisabled {
|
||||
return err
|
||||
}
|
||||
var storeKV, storeMapKV map[string]interface{}
|
||||
|
||||
Reference in New Issue
Block a user