Commit 7c713b4f authored by hujun's avatar hujun

修改获取用户信息

parent 268a6919
......@@ -49,7 +49,7 @@ class AAgents extends BaseModel
if (!empty($agents_data->auth_group_id)) {
$district_name = Db::table('a_district')->where('id', $agents_data['district_id'])->value('district_name');
$agents_data['department'] = $agents_data['department'] ? $district_name . '-' . $store_name : $district_name;
$agents_data['department'] = $district_name ? $district_name . '-' . $store_name : $district_name;
}
$agents_data['commission'] = 500;
......
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