From b1a23ce87a83654043d20972feb6134ff49b359d Mon Sep 17 00:00:00 2001 From: wangjinlei <751475802@qq.com> Date: Tue, 18 Jul 2023 09:55:32 +0800 Subject: [PATCH] 1 --- application/api/controller/Production.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/controller/Production.php b/application/api/controller/Production.php index dc853d0..a9a5923 100644 --- a/application/api/controller/Production.php +++ b/application/api/controller/Production.php @@ -156,8 +156,8 @@ class Production extends Base $program['article_id'] = $data['article_id']; $program['pre_id'] = $data['pre_id']; $program['contents'] = json_encode($data['contents']); - $res = object_to_array(json_decode(myPost($url,$data))); - return jsonSuccess([]); + $res = object_to_array(json_decode(myPost($url,$program))); + return jsonSuccess($res); } /**添加主题内容的空白行