Commit 95314b4e authored by hujun's avatar hujun

all

parent 36d5d54c
...@@ -182,9 +182,9 @@ class Report extends Basic ...@@ -182,9 +182,9 @@ class Report extends Basic
if (empty($agents_data)) { if (empty($agents_data)) {
return $this->response("200", "request null"); return $this->response("200", "request null");
} }
// if (isset($params["is_all"]) && $params["is_all"] == 1) { if ($params['check_status'] != 3) {
$params["report_agent_id"] = $agents_data['id']; $params["report_agent_id"] = $agents_data['id'];
$check_type = 1; $check_type = 1;
if ($agents_data["level"] < 30) { if ($agents_data["level"] < 30) {
$check_type = $this->service_->getCheckType($this->userId); $check_type = $this->service_->getCheckType($this->userId);
...@@ -210,9 +210,9 @@ class Report extends Basic ...@@ -210,9 +210,9 @@ class Report extends Basic
$result = $this->service_->orderListAll($field, $params, $pageNo, $pageSize, $check_type); $result = $this->service_->orderListAll($field, $params, $pageNo, $pageSize, $check_type);
// } else { } else {
// $result = $this->service_->orderList($field, $params, $pageNo, $pageSize); $result = $this->service_->orderList($field, $params, $pageNo, $pageSize);
// } }
if (count($result) > 0) { if (count($result) > 0) {
return $this->response("200", "request success", $result); return $this->response("200", "request success", $result);
} else { } else {
......
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