Browse Source

11

undefined
loumengning 4 years ago
parent
commit
a58f341867
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      application/admin/controller/user/User.php

+ 5
- 2
application/admin/controller/user/User.php View File

@@ -79,7 +79,7 @@ class User extends Backend
'username',
'password',
'email',
// 'floor'
'floor'
];


@@ -98,7 +98,7 @@ class User extends Backend
'username',
'password',
'email',
// 'floor'
'floor'
];
for ($currentRow = 2; $currentRow <= $allRow; $currentRow++) {
$values = [];
@@ -112,6 +112,9 @@ class User extends Backend
if (!$val){
continue 2;
}
if ($currentColumn==5 && !$val){
$val=-1;
}
$values[] = is_null($val) ? '' : $val;
}
// $row = [];


Loading…
Cancel
Save