- up
This commit is contained in:
@@ -39,12 +39,16 @@ func (s *StoreManager) OnStoreStatusChanged(vendorStoreID string, vendorID int,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if storeDetail.Status == model.StoreStatusOpened {
|
if storeDetail.Status == model.StoreStatusOpened {
|
||||||
storeMapKV = map[string]interface{}{
|
if storeDetail.VendorStatus != storeStatus {
|
||||||
"Status": storeStatus,
|
storeMapKV = map[string]interface{}{
|
||||||
|
"Status": storeStatus,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if storeDetail.Status <= storeStatus {
|
} else if storeDetail.Status <= storeStatus {
|
||||||
storeMapKV = map[string]interface{}{
|
if storeDetail.VendorStatus != model.StoreStatusOpened {
|
||||||
"Status": model.StoreStatusOpened,
|
storeMapKV = map[string]interface{}{
|
||||||
|
"Status": model.StoreStatusOpened,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user