This commit is contained in:
richboo111
2022-11-02 15:02:18 +08:00
parent 092ff11009
commit 9366b58a71

View File

@@ -281,6 +281,7 @@ func CreateOrUpdateAll(vendorOrgCode string, storeID, vendorStoreID int64) (stri
errList.AddErr(fmt.Errorf("db update storeID,vendorStoreID defeat on :%v", err))
}
if utils.IsNil(errList) {
globals.SugarLogger.Debug("绑定门店需进行的错误处理:%v",errors.New(fmt.Sprintf("%s", utils.Format4Output(errList, true)))
return "门店绑定成功,但需要根据提示进行处理", errors.New(fmt.Sprintf("%s", utils.Format4Output(errList, true)))
} else {
return "门店绑定成功", nil