接口修改1
This commit is contained in:
parent
3a628c3ca4
commit
7a0f015995
@ -1658,7 +1658,7 @@ class Maintainentry extends BaseController
|
|||||||
// 获取家庭的人员信息
|
// 获取家庭的人员信息
|
||||||
$res = Db::table('fa_szxc_information_usermsg')->where($map)
|
$res = Db::table('fa_szxc_information_usermsg')->where($map)
|
||||||
->order('id desc')
|
->order('id desc')
|
||||||
->field("id,user_id,name,age,gender,family_num,political_outlook,householder_id,is_hz,address_name,family_relation")
|
->field("id,user_id,name,age,gender,family_num,political_outlook,householder_id,is_hz,address_name,family_relation,phone")
|
||||||
->withAttr('avatar', function ($value, $data) {
|
->withAttr('avatar', function ($value, $data) {
|
||||||
return Db::table('fa_user')->where('id', $data['user_id'])->value('avatar');
|
return Db::table('fa_user')->where('id', $data['user_id'])->value('avatar');
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user