Commit 08dc00d0 authored by hujun's avatar hujun

all

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