接口修改1

This commit is contained in:
彭桃 2023-02-02 11:08:58 +08:00
parent 3a628c3ca4
commit 7a0f015995

View File

@ -1658,7 +1658,7 @@ class Maintainentry extends BaseController
// 获取家庭的人员信息
$res = Db::table('fa_szxc_information_usermsg')->where($map)
->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) {
return Db::table('fa_user')->where('id', $data['user_id'])->value('avatar');
})