作者 陈志颖

fix:销售日期格式修改

... ... @@ -414,7 +414,7 @@ func (c *OrderInfoController) UpdateOrderReal() {
return
}
var orderDataReturn *domain.OrderBase
saleDate, err := time.ParseInLocation("2006-01-02", param.SaleDate, time.Local)
saleDate, err := time.ParseInLocation("2006-01-02 15:04:06", param.SaleDate, time.Local)
if err != nil {
e := lib.ThrowError(lib.ARG_ERROR, err.Error())
c.ResponseError(e)
... ...