fix: 修复bug
This commit is contained in:
@@ -321,6 +321,7 @@ class User extends Common
|
||||
$ret['company'] = "苏州维达奇智能科技有限公司";
|
||||
}
|
||||
$ret['id'] = $login_id;
|
||||
$ret['name'] = $res['user_name'];
|
||||
}
|
||||
//客户
|
||||
if (2 == $res['user_type'])
|
||||
@@ -332,6 +333,7 @@ class User extends Common
|
||||
->field('i.contacts_name as name, i.contacts_idcard as idcard, c.company_name as company')
|
||||
->find();
|
||||
$ret['id'] = $login_id;
|
||||
$ret['name'] = $res['user_name'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user