!14 用户导入职位显示错误

Merge pull request !14 from 栗子/N/A
This commit is contained in:
celaraze 2023-05-17 02:27:51 +00:00 committed by Gitee
commit 9907ba545b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -64,7 +64,7 @@ class UserImportForm extends Form
$user->title = $row['职位']; $user->title = $row['职位'];
} }
if (!empty($row['账号状态'])) { if (!empty($row['账号状态'])) {
$user->title = $row['账号状态']; $user->status = $row['账号状态'];
} }
if (!empty($row['手机'])) { if (!empty($row['手机'])) {
$user->mobile = $row['手机']; $user->mobile = $row['手机'];