浏览代码

更新导出zip

sandm 1 年之前
父节点
当前提交
fb821e9317
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/Admin/Controllers/Recruit/RecruitController.php

+ 4 - 4
app/Admin/Controllers/Recruit/RecruitController.php

@@ -2147,7 +2147,7 @@ class RecruitController extends Controller
                     if($material){
                     if($material){
                         foreach ($material as $k => $v){
                         foreach ($material as $k => $v){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
-                                $old_path = base_path() . "/public/" . $v['url'];
+                                $old_path = base_path() . "/public/" . $v['response']['path'];
                             }else{
                             }else{
                                 $old_path = base_path() . "/public/" . $v['url'];
                                 $old_path = base_path() . "/public/" . $v['url'];
                             }
                             }
@@ -2164,7 +2164,7 @@ class RecruitController extends Controller
                     if($identification){
                     if($identification){
                         foreach ($identification as $k => $v){
                         foreach ($identification as $k => $v){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
-                                $old_path = base_path() . "/public/" . $v['url'];
+                                $old_path = base_path() . "/public/" . $v['response']['path'];
                             }else{
                             }else{
                                 $old_path = base_path() . "/public/" . $v['url'];
                                 $old_path = base_path() . "/public/" . $v['url'];
                             }
                             }
@@ -2181,7 +2181,7 @@ class RecruitController extends Controller
                     if($education_certification){
                     if($education_certification){
                         foreach ($education_certification as $k => $v){
                         foreach ($education_certification as $k => $v){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
-                                $old_path = base_path() . "/public/" . $v['url'];
+                                $old_path = base_path() . "/public/" . $v['response']['path'];
                             }else{
                             }else{
                                 $old_path = base_path() . "/public/" . $v['url'];
                                 $old_path = base_path() . "/public/" . $v['url'];
                             }
                             }
@@ -2198,7 +2198,7 @@ class RecruitController extends Controller
                     if($other_certification){
                     if($other_certification){
                         foreach ($other_certification as $k => $v){
                         foreach ($other_certification as $k => $v){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
                             if(array_key_exists('response',$v) && array_key_exists('path',$v['response'])){
-                                $old_path = base_path() . "/public/" . $v['url'];
+                                $old_path = base_path() . "/public/" . $v['response']['path'];
                             }else{
                             }else{
                                 $old_path = base_path() . "/public/" . $v['url'];
                                 $old_path = base_path() . "/public/" . $v['url'];
                             }
                             }