- 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

@@ -47,7 +47,7 @@ func (p *PurchaseHandler) GetOrder(vendorOrderID string) (order *model.GoodsOrde
ConsigneeMobile: userMap["phone"].(string),
ConsigneeAddress: userMap["address"].(string),
CoordinateType: model.CoordinateTypeBaiDu,
BuyerComment: utils.TrimBlanChar(utils.Interface2String(orderMap["remark"])),
BuyerComment: utils.TrimBlankChar(utils.Interface2String(orderMap["remark"])),
ExpectedDeliveredTime: getTimeFromTimestampStr(utils.Interface2String(orderMap["send_time"])),
VendorStatus: utils.Int64ToStr(utils.MustInterface2Int64(orderMap["status"])),
OrderSeq: int(utils.Str2Int64(utils.Interface2String(orderMap["order_index"]))),