Commit 17d40a66 authored by zhuwei's avatar zhuwei

bug

parent dfc186c5
...@@ -376,7 +376,7 @@ class Broker extends Basic ...@@ -376,7 +376,7 @@ class Broker extends Basic
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("300", $checkResult); return $this->response("300", $checkResult);
} }
if ($params['agent_id'] !== $this->agentId) { if ($params['agent_id'] != $this->agentId) {
return $this->response("101", "失败!"); return $this->response("101", "失败!");
} }
...@@ -424,7 +424,7 @@ class Broker extends Basic ...@@ -424,7 +424,7 @@ class Broker extends Basic
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("300", $checkResult); return $this->response("300", $checkResult);
} }
if ($params['agent_id'] !== $this->agentId) { if ($params['agent_id'] != $this->agentId) {
return $this->response("101", "失败!"); return $this->response("101", "失败!");
} }
......
...@@ -442,7 +442,7 @@ class Member extends Basic{ ...@@ -442,7 +442,7 @@ class Member extends Basic{
if(empty($params['content']) || empty($params['user_id'])) { if(empty($params['content']) || empty($params['user_id'])) {
return $this->response(101, $msg = '缺少参数', $params); return $this->response(101, $msg = '缺少参数', $params);
} }
if ($params['agent_id'] !== $this->userId) { if ($params['agent_id'] != $this->userId) {
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