Browse Source

11

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

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

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


@@ -98,12 +98,12 @@ class User extends Backend
'username',
'password',
'email',
'floor'
// 'floor'
];
for ($currentRow = 2; $currentRow <= $allRow; $currentRow++) {
$values = [];
$salt = \fast\Random::alnum();
for ($currentColumn = 1; $currentColumn <= 5; $currentColumn++) {
for ($currentColumn = 1; $currentColumn <= 4; $currentColumn++) {
$val = $currentSheet->getCellByColumnAndRow($currentColumn, $currentRow)->getValue();
if ($currentColumn==3){
//修改的是密码


Loading…
Cancel
Save