Commit 1dfe7885 authored by zhuwei's avatar zhuwei

1

parent fbc577c4
......@@ -132,7 +132,6 @@ class Report extends Basic
$result = [];
if(isset($params["is_all"]) && $params["is_all"] == 1){
$check_type = $this->service_->getCheckType($this->agentId);
$check_type = 1;
if ($check_type == 0) {
return $this->response(101, "暂无权限");
}
......@@ -161,7 +160,7 @@ class Report extends Basic
if ($result == 0) {
return $this->response(101, "暂无权限");
} else {
return $this->response("200", "request success", $result);
return $this->response("200", "request success", ['check_type'=>$result]);
}
}
......
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