Commit 78a79cb4 authored by zhuwei's avatar zhuwei

代码优化

parent aa6df2e4
......@@ -451,6 +451,10 @@ class UserService
$params_["id"] = $user_agent_id;
$result = $agent_model->searchAgentsByKeyword("id,store_id,district_id,level", $params_);
if(!$result){
return 1;
}
$params__['district_id']=$result[0]['district_id'];
$params__['level']=30;
$result = $agent_model->searchAgentsByKeyword("id,store_id,district_id,level", $params__);
......
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