소스 검색

恢复导入数据原代码

sandm 2 년 전
부모
커밋
a17b75e27b
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      app/user/controller/AdminUserController.php

+ 0 - 1
app/user/controller/AdminUserController.php

@@ -167,7 +167,6 @@ class AdminUserController extends AdminBaseController
             $data   = $excel->import($file, ['no', 'name', 'company', 'idcard', 'marry', 'mobile', 'id_type','marry'], 1);
             $idtype = Constant::ID_TYPE;
             $marry  = Constant::MARRY;
-            dd($data);
             foreach ($data as $k => $v) {
                 if (empty($v['name'])) {
                     $this->error("第" . ($k + 2) . "行的姓名不能为空");