更新门店营业时间

This commit is contained in:
苏尹岚
2019-11-18 16:23:08 +08:00
parent 9acd28873d
commit bd665daa8e

View File

@@ -794,8 +794,6 @@ func UpdateStore(ctx *jxcontext.Context, storeID int, payload map[string]interfa
}
notifyStoreOperatorChanged(store, valid["operatorPhone"])
if err == nil {
fmt.Println("valid")
fmt.Println(valid)
if valid["openTime1"] != 0 || valid["closeTime1"] != 0 || valid["openTime2"] != 0 || valid["closeTime2"] != 0 {
err = CurVendorSync.ChangeStoreSkuSaleStatus(ctx, storeID, true, true)
}