- retrieve errmsg from data in funcs createPromotionSku
This commit is contained in:
@@ -215,7 +215,7 @@ func genNoPageResultParser(codeKey, msgKey, resultKey, okCode string) func(data
|
||||
return nil, nil
|
||||
}
|
||||
if msg, ok := data[msgKey]; ok {
|
||||
errMsg := msg.(string)
|
||||
errMsg := utils.Format4Output(msg, true)
|
||||
if innerCode == ResponseInnerCodePartialFailed {
|
||||
errMsg += ", " + utils.Format4Output(data[resultKey], true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user