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