Commit 734f4021 authored by zhuwei's avatar zhuwei

取消

parent 31854620
...@@ -58,10 +58,7 @@ class Bargain extends Basic ...@@ -58,10 +58,7 @@ 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 ]);
big_log(json_encode($agent_res));
big_log('登录用户agent_id'.$submit_agent_id );
big_log('登录用户level'.$agent_res[0]['level'] );
big_log('$is_my_correlation'.$is_my_correlation);
if(($agent_res[0]['level'] == 10) && ($is_my_correlation == 0)){ if(($agent_res[0]['level'] == 10) && ($is_my_correlation == 0)){
return $this->response("200", "暂无权限!"); return $this->response("200", "暂无权限!");
......
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