Commit 3696f7b7 authored by zhuwei's avatar zhuwei

查询店长下面的业务员id

parent 69e169d4
......@@ -644,7 +644,7 @@ class AppChat extends Basic
public function getAgentIds($agent_id){
$m_agent = new AAgents();
$a_res_level= $m_agent->getAgentFieldById($agent_id, 'level');
dump($a_res_level);
big_log('查询店长下面的业务员id:level'.$a_res_level);
if($a_res_level == 20){
//查询总监下面门店的所有经纪人
$a_res_store_id= $m_agent->getAgentFieldById($agent_id, 'store_id');
......
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