- TrimBlanChar to TrimBlankChar

- error_code.go
This commit is contained in:
gazebo
2018-11-02 14:11:32 +08:00
parent addb300b1a
commit 386ac29ad7
10 changed files with 31 additions and 14 deletions

View File

@@ -139,7 +139,7 @@ func (c *PurchaseHandler) GetOrder(orderID string) (order *model.GoodsOrder, err
ConsigneeName: result["consignee"].(string),
ConsigneeMobile: consigneeMobile,
ConsigneeAddress: result["address"].(string),
BuyerComment: utils.TrimBlanChar(utils.Interface2String(result["description"])),
BuyerComment: utils.TrimBlankChar(utils.Interface2String(result["description"])),
ExpectedDeliveredTime: utils.Str2TimeWithDefault(utils.Interface2String(result["deliverTime"]), utils.DefaultTimeValue),
VendorStatus: utils.Interface2String(result["status"]), // 取订单的原始status不合并消息类型因为当前消息类型没有意义
OrderSeq: int(utils.MustInterface2Int64(result["daySn"])),