From 338091911141cb5e81a69c33bbaea0f50218503b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 21 Apr 2017 17:25:12 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E7=AE=80=E5=8C=96=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=EF=BC=8C=E4=BC=98=E5=8C=96=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Menu.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/wechat/controller/Menu.php b/application/wechat/controller/Menu.php index 0da815d82..ceadb5016 100644 --- a/application/wechat/controller/Menu.php +++ b/application/wechat/controller/Menu.php @@ -14,6 +14,7 @@ namespace app\wechat\controller; use controller\BasicAdmin; +use service\LogService; use service\ToolsService; use think\Db; @@ -84,6 +85,7 @@ class Menu extends BasicAdmin { if (Db::name($this->table)->where('1=1')->delete() !== false && Db::name($this->table)->insertAll($data) !== false) { $result = $this->_push(); if ($result['status']) { + LogService::write('微信管理', '发布微信菜单成功'); $this->success('保存发布菜单成功!', ''); } $this->error('菜单发布失败,' . $result['errmsg']);