Commit 73b6e1e3 authored by zhuwei's avatar zhuwei

1

parent 543b6fa2
......@@ -317,6 +317,9 @@ class UserService
$data['referrer_user'] = $referrer_user['user_name'] . '-' . $user_phone;
}
//老版本客方显示
$data['agents'] = $data['name'] . '-' . $data['phone'];
//客方
$s_user_agent = new UserAgentService();
$user_agent_res = $s_user_agent->selectUserAgent($user_id);
......
......@@ -409,8 +409,8 @@ class Users extends Model
{
return $this->field($field)
->alias("a")
->join("u_user_agent c","a.id = c.user_id","left")
->join("a_agents b", "c.agent_id=b.id", "left")
// ->join("u_user_agent c","a.id = c.user_id","left")
->join("a_agents b", "a.agent_id=b.id", "left")
->where($params)
->find();
}
......
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