Browse Source

fixbug:修复异常抛出带姓名

yb 2 months ago
parent
commit
68614eb6f7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/service/consultant/CustomService.php

+ 1 - 1
app/admin/service/consultant/CustomService.php

@@ -1214,7 +1214,7 @@ class CustomService
                 try {
                     foreach ($data as $key => $val) {
                         if ($val[3] == 1) {$level = 1;} else if ($val[4] == 1) {$level = 2;} else if ($val[5] == 1) {$level = 3;} else if ($val[6] == 1) {$level = 4;}
-                        $line = '第'.($key + 1).'行:';
+                        $line = '姓名:'.$val[1].' 第'.($key + 1).'行:';
                         if (empty($val[7]) && empty($val[8])) {
                             throw new \Exception($line.'报备人和顾问必须存在其中之一');
                         }