Commit 562faea4 authored by zhuwei's avatar zhuwei

101

parent 734f4021
...@@ -58,10 +58,9 @@ class Bargain extends Basic ...@@ -58,10 +58,9 @@ class Bargain extends Basic
/*业务员不允许点击查看全部成交报告 start*/ /*业务员不允许点击查看全部成交报告 start*/
$agent_field = "a.level"; $agent_field = "a.level";
$agent_res = $this->agentModel->getAgentsInfoByAgentId($agent_field, [ "agent_id" => $submit_agent_id ]); $agent_res = $this->agentModel->getAgentsInfoByAgentId($agent_field, [ "agent_id" => $submit_agent_id ]);
if(($agent_res[0]['level'] == 10) && ($is_my_correlation == 0)){
return $this->response("200", "暂无权限!"); if(($agent_res[0]['level'] == 10) && ($is_my_correlation == 0)){
return $this->response("101", "暂无权限!");
} }
/*业务员不允许点击查看全部成交报告 end*/ /*业务员不允许点击查看全部成交报告 end*/
......
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