From 5c89b5877e22d01b89eaa01fe63ebe77db65d3ad Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Tue, 27 Feb 2024 16:05:31 +0800 Subject: [PATCH] update --- app/adminapi/logic/DataReceptionLogic.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/adminapi/logic/DataReceptionLogic.php b/app/adminapi/logic/DataReceptionLogic.php index 6a776e2a3..e6e40fc11 100644 --- a/app/adminapi/logic/DataReceptionLogic.php +++ b/app/adminapi/logic/DataReceptionLogic.php @@ -129,12 +129,12 @@ class DataReceptionLogic extends BaseLogic { $data = DataReception::with(['projectInfo'])->findOrEmpty($params['id'])->toArray(); $data['bidding_file'] = json_decode($data['bidding_file'], true); - $data['zbkzj_file'] = json_encode($data['zbkzj_file'], true); - $data['gczjht_file'] = json_encode($data['gczjht_file'], true); - $data['xmbgqzzl_file'] = json_encode($data['xmbgqzzl_file'], true); - $data['ssgsysjs_file'] = json_encode($data['ssgsysjs_file'], true); - $data['wlhj_file'] = json_encode($data['wlhj_file'], true); - $data['other_file'] = json_encode($data['other_file'], true); + $data['zbkzj_file'] = json_decode($data['zbkzj_file'], true); + $data['gczjht_file'] = json_decode($data['gczjht_file'], true); + $data['xmbgqzzl_file'] = json_decode($data['xmbgqzzl_file'], true); + $data['ssgsysjs_file'] = json_decode($data['ssgsysjs_file'], true); + $data['wlhj_file'] = json_decode($data['wlhj_file'], true); + $data['other_file'] = json_decode($data['other_file'], true); return $data; } } \ No newline at end of file