作者 唐旭辉

修正 时间格式化错误

... ... @@ -443,7 +443,7 @@ func (c *OrderInfoController) PageListOrderReal() {
c.ResponseError(errors.New("UpdateTimeBegin 时间格式错误"))
return
}
updateTimeBegin = t.Format("2006-01-02 15:04:05+07")
updateTimeBegin = t.Format("2006-01-02 15:04:05-07")
}
}
if len(param.UpdateTime) > 1 {
... ... @@ -454,8 +454,8 @@ func (c *OrderInfoController) PageListOrderReal() {
return
}
//设定时间边界
t.Add(86399 * time.Second)
updateTimeEnd = t.Format("2006-01-02 15:04:05+07")
t = t.Add(86399 * time.Second)
updateTimeEnd = t.Format("2006-01-02 15:04:05-07")
}
}
companyId := c.GetUserCompany()
... ...