From 20dd320a1bba8f4df00b287e3ceba4bb96947e3b Mon Sep 17 00:00:00 2001 From: filesite Date: Sun, 17 Sep 2023 23:45:13 +0800 Subject: [PATCH] remove test code --- themes/tajian/controller/ApiController.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/themes/tajian/controller/ApiController.php b/themes/tajian/controller/ApiController.php index c223a1a..1fda37c 100644 --- a/themes/tajian/controller/ApiController.php +++ b/themes/tajian/controller/ApiController.php @@ -55,14 +55,6 @@ Class ApiController extends SiteController { $msg = ''; $err = ''; - //方便测试 - if (empty($content)) { - $content = $this->get('content', ''); - } - if (empty($tag)) { - $tag = $this->get('tag', ''); - } - if (empty($content)) { $code = 0; $err = '请粘贴填写分享内容!';