...
|
...
|
@@ -362,9 +362,9 @@ func (c *OrderInfoController) GetOrderReal() { |
|
|
"orderNumCountControl": "",
|
|
|
"orderAmountAdjustmentCountControl": "",
|
|
|
"product": allGoods,
|
|
|
"create_time": orderinfo.CreateTime.Local().Format("2006-01-02 15:04:06"),
|
|
|
"update_time": orderinfo.UpdateTime.Local().Format("2006-01-02 15:04:06"),
|
|
|
"saleDate": orderinfo.SaleDate.Local().Format("2006-01-02 15:04:06"),
|
|
|
"create_time": orderinfo.CreateTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"update_time": orderinfo.UpdateTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"saleDate": orderinfo.SaleDate.Local().Format("2006-01-02 15:04:05"),
|
|
|
"partnerCategoryId": orderinfo.PartnerCategory.Id,
|
|
|
"partnerCategoryName": orderinfo.PartnerCategory.Name,
|
|
|
}
|
...
|
...
|
@@ -414,7 +414,8 @@ func (c *OrderInfoController) UpdateOrderReal() { |
|
|
return
|
|
|
}
|
|
|
var orderDataReturn *domain.OrderBase
|
|
|
saleDate, err := time.ParseInLocation("2006-01-02 15:04:06", param.SaleDate, time.Local)
|
|
|
saleDate, err := time.ParseInLocation("2006-01-02 15:04:05", param.SaleDate, time.Local)
|
|
|
|
|
|
if err != nil {
|
|
|
e := lib.ThrowError(lib.ARG_ERROR, err.Error())
|
|
|
c.ResponseError(e)
|
...
|
...
|
|