Commit 7b0a1099 authored by zhuwei's avatar zhuwei

1

parent 7e2de453
...@@ -370,11 +370,11 @@ class OperationData extends Basic ...@@ -370,11 +370,11 @@ class OperationData extends Basic
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
} }
//验证时间是否合法 2018-09 补全为 2018-09-30 用于验证月份选择是否有误,无其他作用 //验证时间是否合法 2018-09 补全为 2018-09-01 用于验证月份选择是否有误,无其他作用
if(!checkTimeData($params['time_start']. "-01")){ if(!checkTimeData($params['time_start']. "-01")){
return $this->response("101", '开始日期异常!'); return $this->response("101", '开始日期异常!');
} }
//验证时间是否合法 2018-09 补全为 2018-09-30 用于验证月份选择是否有误,无其他作用 //验证时间是否合法 2018-09 补全为 2018-09-01 用于验证月份选择是否有误,无其他作用
if(!checkTimeData($params['time_end']. "-01")){ if(!checkTimeData($params['time_end']. "-01")){
return $this->response("101", '结束日期异常!'); return $this->response("101", '结束日期异常!');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment