Commit 1471bacf authored by zhuwei's avatar zhuwei

bug

parent b0052bde
...@@ -68,7 +68,7 @@ class Performance extends Basic ...@@ -68,7 +68,7 @@ class Performance extends Basic
"end_day" => "", "end_day" => "",
"start_day" =>"", "start_day" =>"",
);*/ );*/
$checkResult = $this->validate($params, "PerformanceServiceValidate.selectDistrictPerformance"); $checkResult = $this->validate($params, "PerformanceServiceValidate.selectStorePerformance");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response(101, $checkResult); return $this->response(101, $checkResult);
} }
...@@ -112,7 +112,10 @@ class Performance extends Basic ...@@ -112,7 +112,10 @@ class Performance extends Basic
"start_day" => '2018-08-08', "start_day" => '2018-08-08',
"end_day" => '2018-08-08', "end_day" => '2018-08-08',
);*/ );*/
$checkResult = $this->validate($params, "PerformanceServiceValidate.selectStorePerformance");
if (true !== $checkResult) {
return $this->response(101, $checkResult);
}
$params["type"] = 2; $params["type"] = 2;
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo']; $pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize']; $pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
......
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