1
This commit is contained in:
@@ -324,10 +324,12 @@ func (c *PurchaseHandler) onAfsOrderMsg(status string, msg interface{}) (retVal
|
||||
skuStr := *v.Attributes
|
||||
str2, err := strconv.Unquote("\"" + skuStr + "\"")
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("Unquote := %s", utils.Format4Output(err, false))
|
||||
return tao_vegetable.CallBackResultInfo(err)
|
||||
}
|
||||
skuDetail := tao_vegetable.GoodsScarceRefund{}
|
||||
if err := json.Unmarshal([]byte(str2), &skuDetail); err != nil {
|
||||
globals.SugarLogger.Debugf("Unmarshal := %s", utils.Format4Output(err, false))
|
||||
return tao_vegetable.CallBackResultInfo(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user