- 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

@@ -72,7 +72,7 @@ func (c *PurchaseHandler) GetOrder(orderID string) (order *model.GoodsOrder, err
ConsigneeMobile: result["buyerMobile"].(string),
ConsigneeAddress: result["buyerFullAddress"].(string),
CoordinateType: model.CoordinateTypeMars,
BuyerComment: utils.TrimBlanChar(utils.Interface2String(result["orderBuyerRemark"])),
BuyerComment: utils.TrimBlankChar(utils.Interface2String(result["orderBuyerRemark"])),
ExpectedDeliveredTime: utils.Str2TimeWithDefault(utils.Interface2String(result["orderPreEndDeliveryTime"]), utils.DefaultTimeValue),
VendorStatus: utils.Int64ToStr(utils.MustInterface2Int64(result["orderStatus"])),
OrderSeq: int(utils.MustInterface2Int64(result["orderNum"])),