This commit is contained in:
richboo111
2024-01-29 17:25:19 +08:00
parent b98bbba9f4
commit cf5fa322be
2 changed files with 15 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
package mtwmapi
import (
"git.rosy.net.cn/jx-callback/globals"
"strings"
"git.rosy.net.cn/baseapi/utils"
@@ -394,9 +395,12 @@ func (a *API) RetailDiscountBatchSave2(poiCode string, actType int, actData []*R
err = utils.UnmarshalUseNumber([]byte(resultMap[resultKeySuccessMsg].(string)), &actResult)
if err == nil {
msg = utils.Interface2String(resultMap[resultKeyMsg])
globals.SugarLogger.Debugf("RetailDiscountBatchSave2 test0129 msg:%v", utils.Format4Output(msg, false))
}
} else {
msg = getMsgFromError(err)
globals.SugarLogger.Debugf("RetailDiscountBatchSave2 test0129 err:%v", err)
}
failedList = parseErr4ErrList(msg)
return actResult, failedList, err