1
This commit is contained in:
@@ -6416,6 +6416,13 @@ func BatchUpdateMTStoreLogos(vendorOrgCode string, relInfo []MtRelInfo) (hint st
|
||||
param["address"] = v.Address
|
||||
}
|
||||
apiObj := mtwm.GetAPI(vendorOrgCode, 0, v.PoiCode)
|
||||
|
||||
remoteStoreInfo, err := apiObj.PoiGet(v.PoiCode)
|
||||
if err != nil {
|
||||
return fmt.Sprintf("%s:%v\n", v.PoiCode, err)
|
||||
}
|
||||
// 每个订单的配送费,单位是元。 更新时,如果不传配送费,平台会查询门店当前所有配送范围的配送费取最大的值。如果门店当前没有配送范围或其配送费均为0,则门店配送费取值为0。
|
||||
param["shipping_fee"] = remoteStoreInfo.ShippingFee
|
||||
if err := apiObj.PoiSave(v.PoiCode, param); err != nil {
|
||||
hint += fmt.Sprintf("%s:%v\n", v.PoiCode, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user