From 09224443e446b80dd43dfbf1d2762761754852bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 11 Aug 2022 14:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E6=9D=BF=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/wechat/controller/Auto.php | 13 -------- app/wechat/view/auto/form.html | 56 +++++++++++++-------------------- app/wechat/view/auto/index.html | 6 ++-- 3 files changed, 25 insertions(+), 50 deletions(-) diff --git a/app/wechat/controller/Auto.php b/app/wechat/controller/Auto.php index 33d71a99f..2492c7959 100644 --- a/app/wechat/controller/Auto.php +++ b/app/wechat/controller/Auto.php @@ -105,19 +105,6 @@ class Auto extends Controller } } - /** - * 表单结果处理 - * @param boolean $result - */ - protected function _form_result(bool $result) - { - if ($result !== false) { - $this->success('恭喜, 关键字保存成功!', 'javascript:history.back()'); - } else { - $this->error('关键字保存失败, 请稍候再试!'); - } - } - /** * 修改规则状态 * @auth true diff --git a/app/wechat/view/auto/form.html b/app/wechat/view/auto/form.html index 9c61095c8..3fe5bfed2 100644 --- a/app/wechat/view/auto/form.html +++ b/app/wechat/view/auto/form.html @@ -1,6 +1,3 @@ -{extend name="../../admin/view/main"} - -{block name="style"} -{/block} -{block name="content"}
公众号
-
+
-
编辑关键字
+
编辑回复规则
@@ -89,14 +84,14 @@
- +

文件最大2Mb,支持bmp/png/jpeg/jpg/gif格式

img @@ -106,7 +101,7 @@
- +

文件最大2Mb,播放长度不超过60s,mp3/wma/wav/amr格式

@@ -122,7 +117,7 @@
- +
@@ -137,7 +132,7 @@
- +

文件最大64KB,只支持JPG格式

@@ -153,7 +148,7 @@
- +

文件最大10MB,只支持MP4格式

@@ -166,26 +161,21 @@
-
- -
- {if isset($vo['id'])}{/if} - {if isset($vo['code'])}{/if} - - - -
+
+
+ {if isset($vo['id'])}{/if} + {if isset($vo['code'])}{/if} + + +
-{/block} -{block name="script"} -{/block} \ No newline at end of file + }); + \ No newline at end of file diff --git a/app/wechat/view/auto/index.html b/app/wechat/view/auto/index.html index 74fb2b764..70363e46b 100644 --- a/app/wechat/view/auto/index.html +++ b/app/wechat/view/auto/index.html @@ -2,7 +2,7 @@ {block name="button"} - + @@ -34,7 +34,7 @@
{include file='auto/index_search'} -
+
{/block} @@ -103,7 +103,7 @@