1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user