...
|
...
|
@@ -641,6 +641,7 @@ class MemberCenterController extends RestBaseController |
|
|
$map['j.delete_time']=0;
|
|
|
|
|
|
$info=db('join')->alias('j')
|
|
|
->distinct(true)
|
|
|
->field('v.*,j.*,j.id as join_id,j.status as status')
|
|
|
->join('volunteer v','v.user_id=j.user_id')
|
|
|
->where($map)
|
...
|
...
|
@@ -648,7 +649,7 @@ class MemberCenterController extends RestBaseController |
|
|
->select()
|
|
|
->toArray();
|
|
|
|
|
|
// dump($info);
|
|
|
dump($info);
|
|
|
$return=[];
|
|
|
$i0=0;
|
|
|
$i1=0;
|
...
|
...
|
@@ -706,6 +707,8 @@ class MemberCenterController extends RestBaseController |
|
|
break;
|
|
|
case 6:
|
|
|
$return[5]['title']='门诊服务';
|
|
|
|
|
|
/*判断是否有user_id*/
|
|
|
$return[5]['arr'][$i5]['id']=$v['join_id'];
|
|
|
$return[5]['arr'][$i5]['photo']=$v['photo'];
|
|
|
$return[5]['arr'][$i5]['name']=$v['name'];
|
...
|
...
|
@@ -715,6 +718,13 @@ class MemberCenterController extends RestBaseController |
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
foreach ($return as $k=>$v){
|
|
|
foreach($return[$k] as $k1=>$v1){
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
$this->success('',$return);
|
|
|
}
|
|
|
/**
|
...
|
...
|
|