From 793280e7f8ea88aa7104beaeb314d12b17ee3abd Mon Sep 17 00:00:00 2001 From: "zhangf@suq.cn" Date: Mon, 2 Feb 2026 16:36:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(member):=20=E6=B7=BB=E5=8A=A0=E6=96=B0?= =?UTF-8?q?=E9=97=BB=E5=90=8C=E6=AD=A5=E6=88=90=E5=8A=9F=E5=93=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在新闻添加流程中增加同步成功后的JSON响应 - 返回包含success状态和itemid的成功消息 - 为前端提供明确的操作结果反馈 --- member/xunliuAddNews.php | 1 + 1 file changed, 1 insertion(+) diff --git a/member/xunliuAddNews.php b/member/xunliuAddNews.php index 826d58e..9b31e93 100644 --- a/member/xunliuAddNews.php +++ b/member/xunliuAddNews.php @@ -79,5 +79,6 @@ if($do->pass($post)) { if(isset($post['sync_sina']) && $post['sync_sina']) { $js .= sync_weibo('sina', $moduleid, $do->itemid); } + echo '{"success":true,"itemid":' . $do->itemid . '}'; } ?> \ No newline at end of file