1
This commit is contained in:
@@ -6349,7 +6349,6 @@ func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo) (error,
|
||||
for _, v := range bind {
|
||||
if len(v.VendorStoreID) == 0 || len(v.VendorStoreName) == 0 {
|
||||
errIDName = append(errIDName, v.VendorStoreID)
|
||||
//errList.AddErr(fmt.Errorf("门店%s Id/名字不合法", v.VendorStoreID))
|
||||
} else {
|
||||
if strings.Contains(v.VendorStoreID, "X") {
|
||||
temp := strings.Split(v.VendorStoreID, "X")
|
||||
@@ -6370,6 +6369,13 @@ func SingleBindTaoVegetable(ctx *jxcontext.Context, bind []TaoBindInfo) (error,
|
||||
MtwmRefreshToken: "",
|
||||
VendorStoreID: v.VendorStoreID,
|
||||
}
|
||||
//跟美团同步 平台调价、调价套餐
|
||||
if localStore, err := dao.GetStoreDetail(dao.GetDB(), utils.Str2Int(storeID), model.VendorIDMTWM, ""); err == nil {
|
||||
if localStore.PricePercentage != 0 {
|
||||
storeMap.PricePercentage = localStore.PricePercentage
|
||||
}
|
||||
//else if localStore.priceper
|
||||
}
|
||||
storeMaps = append(storeMaps, storeMap)
|
||||
}
|
||||
userName := ctx.GetUserName()
|
||||
|
||||
Reference in New Issue
Block a user