作者 sgj
1 个管道 的构建 失败 耗费 0 秒

修改志愿者列表

@@ -987,6 +987,11 @@ class SecondController extends RestBaseController @@ -987,6 +987,11 @@ class SecondController extends RestBaseController
987 $User=new VolunteerModel(); 987 $User=new VolunteerModel();
988 $user=$User->where('user_id',$userId)->find()->toArray(); 988 $user=$User->where('user_id',$userId)->find()->toArray();
989 //dump($user); 989 //dump($user);
  990 + $userInfo=$User->getUserInfo($userId);
  991 + dump($userInfo);
  992 + dump($user);
  993 + exit();
  994 +
990 $path='../upload/zhengjian/'; 995 $path='../upload/zhengjian/';
991 $info['photo']=explode('https://volunteer.cnpu.org',$user['photo']); 996 $info['photo']=explode('https://volunteer.cnpu.org',$user['photo']);
992 $path1=ROOT_PATH.'public/imgs/font.png'; 997 $path1=ROOT_PATH.'public/imgs/font.png';