This commit is contained in:
邹宗楠
2022-10-24 15:47:43 +08:00
parent 71397c6d03
commit ae6f93f697
3 changed files with 9 additions and 2 deletions

View File

@@ -4322,7 +4322,6 @@ func CreateVendorStore(ctx *jxcontext.Context, storeID, vendorID int, payload ma
if err != nil {
return err
}
fmt.Println("======", payload["pricePercentage"])
if vendorStoreID != "" && vendorStoreID != "0" {
//AddStoreVendorMap 太复杂了并不满足,还是手动加吧
storeMap := &model.StoreMap{

View File

@@ -335,7 +335,6 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}
}
globals.SugarLogger.Debugf("===========%s", utils.Format4Output(foodDataList, false))
if globals.EnableMtwmStoreWrite {
if len(foodDataList) == 1 {
foodDataList[0]["skus"] = string(utils.MustMarshal(foodDataList[0]["skus"]))