Commit 41fe2700 authored by zhuwei's avatar zhuwei

1

parent b71636db
......@@ -378,7 +378,7 @@ class Broker extends Basic
return $this->response("300", $checkResult);
}
if ($params['agent_id'] !== $this->agentId) {
if ($params['agent_id'] != $this->agentId) {
return $this->response("101", "失败!");
}
......@@ -429,7 +429,7 @@ class Broker extends Basic
if (true !== $checkResult) {
return $this->response("300", $checkResult);
}
if ($params['agent_id'] !== $this->agentId) {
if ($params['agent_id'] != $this->agentId) {
return $this->response("101", "失败!");
}
......
......@@ -457,15 +457,14 @@ class Member extends Basic{
if(empty($params['content']) || empty($params['user_id'])) {
return $this->response(101, $msg = '缺少参数', $params);
}
if ($params['agent_id'] !== $this->userId) {
return $this->response("101", "失败!");
}
//$params['id'] = '';
$params['labels_id'] = 0;
$params['agent_id'] = Session::get("user_info.id");
$params['type'] = 1;
$params['user_status'] = $params['user_status'];
$params['agent_id'] = $this->userId;
// $model = new UPhoneFollowUp($this->siteId);
$s_phone_follow_up = new UPhoneFollowUpTemporary($this->siteId);
......
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