- 添加美团配送店时,强制忽略更新错
This commit is contained in:
@@ -1074,7 +1074,12 @@ func addStoreCourierMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendorID
|
||||
storeDetail.VendorID = vendorID
|
||||
storeDetail.VendorStoreID = storeCourierMap.VendorStoreID
|
||||
if err = updateCourierStore(ctx, storeDetail); err != nil {
|
||||
return nil, err
|
||||
if vendorID != model.VendorIDMTPS {
|
||||
return nil, err
|
||||
}
|
||||
// 如果是美团配送,强制忽略更新错
|
||||
globals.SugarLogger.Infof("addStoreCourierMap storeID:%d, vendorID:%d failed with err:%v", storeID, vendorID, err)
|
||||
err = nil
|
||||
}
|
||||
}
|
||||
dao.WrapAddIDCULDEntity(storeCourierMap, ctx.GetUserName())
|
||||
|
||||
Reference in New Issue
Block a user