From d34122603f38a8deffcf53376a8c4849c24424d5 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 16 Aug 2023 18:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/contract/ContractLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/logic/contract/ContractLogic.php b/app/common/logic/contract/ContractLogic.php index 57aefa17a..1f1bcd625 100644 --- a/app/common/logic/contract/ContractLogic.php +++ b/app/common/logic/contract/ContractLogic.php @@ -135,7 +135,7 @@ class ContractLogic extends BaseLogic $filed = ['id,id_card,avatar,nickname,sex,mobile, province,city,area,street,village,brigade,address,province province_name,city city_name,area area_name,street street_name,village village_name,brigade brigade_name,nickname master_name, qualification']; - $user = User::where('id', $data['party_b'])->field($filed)->find(); + $user = User::where('id', $data['party_b'])->field($filed)->find()->toArray(); $user['qualification'] = json_decode($user['qualification'], true); if($user['qualification'] && isset($user['qualification']['other_qualifications'])){ $user['qualification']['other_qualifications']=json_decode($user['qualification']['other_qualifications'],true);