任敬轩 1 неделя назад
Родитель
Сommit
9a213d8cfb

+ 1 - 1
Modules/Admin/Http/Controllers/Api/ApiController.php

@@ -23,7 +23,7 @@ use Symfony\Component\HttpFoundation\Response;
 
 class ApiController extends BaseController
 {
-    //整改人列表tijiao
+    //整改人列表
     public function zgrList(Request $request){
         $params = $request->all();
         if(!$params['xjdw']){

+ 2 - 2
app/Http/Controllers/TestsController.php

@@ -77,9 +77,9 @@ class TestsController {
                 $id = mt_rand(pow(10, 18), pow(10, 18) + 999999999);
 
                 if($people_list[$i]->mobile != null && $people_list[$i]->mobile != ''){
-                    $dh = explode(';',$people_list[0]->mobile)[0];
+                    $dh = explode(';',$people_list[$i]->mobile)[0];
                 }elseif($people_list[$i]->telephone != null && $people_list[$i]->telephone != ''){
-                    $dh = explode(';',$people_list[0]->telephone)[0];
+                    $dh = explode(';',$people_list[$i]->telephone)[0];
                 }else{
                     $dh = '';
                 }