From 62d7ea9a25fd0e35e0126285ad28d7e696d9c1b9 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 9 Dec 2019 23:04:32 +0800 Subject: [PATCH] add wechat menu editor --- app/wechat/controller/Menu.php | 2 +- app/wechat/view/news/form.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/wechat/controller/Menu.php b/app/wechat/controller/Menu.php index 19b36f109..7d79034b3 100644 --- a/app/wechat/controller/Menu.php +++ b/app/wechat/controller/Menu.php @@ -34,7 +34,7 @@ class Menu extends Controller 'click' => '匹配规则', 'view' => '跳转网页', 'miniprogram' => '打开小程序', - // 'customservice' => '转多客服', + 'customservice' => '转多客服', 'scancode_push' => '扫码推事件', 'scancode_waitmsg' => '扫码推事件且弹出“消息接收中”提示框', 'pic_sysphoto' => '弹出系统拍照发图', diff --git a/app/wechat/view/news/form.html b/app/wechat/view/news/form.html index d3816dc88..a6966e161 100644 --- a/app/wechat/view/news/form.html +++ b/app/wechat/view/news/form.html @@ -103,7 +103,7 @@ author: '管理员', content: '文章内容', read_num: 0, - local_url: '__ROOT__/static/plugs/uploader/theme/image.png', + local_url: '__ROOT__/static/theme/img/image.png', }); for (var i in list) { list[i].active = false; @@ -177,8 +177,8 @@ author: '管理员', content: '文章内容', read_num: 0, - local_url: '__ROOT__/static/plugs/uploader/theme/image.png', - style: "background-image:url('__ROOT__/static/plugs/uploader/theme/image.png')" + local_url: '___ROOT__/static/theme/img/image.png', + style: "background-image:url('__ROOT__/static/theme/img/image.png')" }); };