chenhao 4 years ago
parent
commit
c56aabd0a2

+ 2 - 1
application/admin/controller/Users.php

@@ -31,6 +31,7 @@ class Users extends Backend
 
     public function _initialize()
     {
+        set_time_limit(1000);
         parent::_initialize();
         $this->model = new \app\admin\model\Users;
 
@@ -404,7 +405,7 @@ class Users extends Backend
                         unlink($v);
                     }
                 }
-                return $this->error('检测到错误,正在排列',"users/a",$resutl);
+                return $this->error('检测到错误,正在排列',"",$resutl);
             }
             //前两行是备注,从A3第三行开始导入
             for ($currentRow = 3; $currentRow <= $allRow; $currentRow++) {

+ 1 - 1
public/assets/js/backend/users.js

@@ -125,7 +125,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
                 data: {file: data.url},
             }, function (data, ret) {
                 if (ret.code==1) {
-                    window.location.href='users/index';//解析成功
+                    window.location.reload()//解析成功
                 }
                 //table.bootstrapTable('refresh');
             },

BIN
public/uploads/20200521/52826064515dc5165ec555b588bb0665.xls


BIN
public/uploads/20200521/52885a9992f964377114dadcf88c9018.xls


BIN
public/uploads/20200521/e3570725e89799d0eacd2ca6c6e57521.xls


BIN
public/uploads/images/0b40b289-1818-46eb-a643-c41c996601d8.jpg


BIN
public/uploads/images/65e49c04-8408-4897-8008-21b223ea7c7b.jpg


BIN
public/uploads/images/7e4e30fe-0542-4a83-85d7-e20d64f90511.jpg


BIN
public/uploads/images/90e88bf8-30a6-48fc-a417-ae208aa0d304.jpg


BIN
public/uploads/images/d9b0631e-9ae8-45cf-a14f-ecbba396b79d.jpg


BIN
public/uploads/images/e15dfa92-dd58-4ae3-bad0-5bbebfce5011.jpg


BIN
public/uploads/images/f3dfdac9-9d95-4f70-9fc4-dd04f9c49bfe.jpg


BIN
public/uploads/images/ff3eaee5-a10b-4c47-8bf7-dda916ff087d.jpg