diff --git a/B3WeChat.Web/Pages/B3WeChat/Tools/CustomMenuMan.cs b/B3WeChat.Web/Pages/B3WeChat/Tools/CustomMenuMan.cs
new file mode 100644
index 0000000..0b5cd6f
--- /dev/null
+++ b/B3WeChat.Web/Pages/B3WeChat/Tools/CustomMenuMan.cs
@@ -0,0 +1,68 @@
+using BWP.B3WeChat.Utils;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Web.UI;
+using System.Web.UI.HtmlControls;
+using System.Web.UI.WebControls;
+using TSingSoft.WebControls2;
+using TSingSoft.WebPluginFramework.Security;
+
+namespace BWP.Web.Pages.B3WeChat.Tools
+{
+ class CustomMenuMan:AppBasePage
+ {
+ protected override void InitForm(HtmlForm form)
+ {
+ if (!User.IsInRole("B3WeChat.服务号管理.自定义菜单"))
+ {
+ throw new AppSecurityException();
+ }
+
+ form.Controls.Add(new LiteralControl("
" + TabTitle + "
"));
+ var vPanel = new VLayoutPanel();
+ form.Controls.Add(vPanel);
+
+ var toobar = new HLayoutPanel();
+ vPanel.Add(toobar);
+
+ var text = new TextBox();
+ text.Width = Unit.Percentage(100);
+ text.TextMode = TextBoxMode.MultiLine;
+ text.Height = Unit.Pixel(600);
+ text.Style.Add("margin", "15px");
+ vPanel.Add(text, new VLayoutOption(HorizontalAlign.Left));
+
+
+ toobar.Add(new TSButton("载入", delegate
+ {
+ text.Text = InOutMessageUtil.GetCustomMenu();
+ AspUtil.Alert(this, "载入自定义菜单成功");
+ }));
+
+
+
+ toobar.Add(new TSButton("设置", delegate
+ {
+ InOutMessageUtil.SetCustomMenu(text.Text);
+ AspUtil.Alert(this, "设置自定义菜单成功");
+ }));
+
+ toobar.Add(new TSButton("删除", delegate
+ {
+ InOutMessageUtil.DelteCustomMenu();
+ AspUtil.Alert(this, "删除自定义菜单成功");
+ }));
+
+ }
+
+ protected override string TabTitle
+ {
+ get
+ {
+ return "自定义菜单";
+ }
+ }
+ }
+}
diff --git a/WebFolder/config/Plugins/B3WeChat.plugin b/WebFolder/config/Plugins/B3WeChat.plugin
index 54f2db4..56cd290 100644
--- a/WebFolder/config/Plugins/B3WeChat.plugin
+++ b/WebFolder/config/Plugins/B3WeChat.plugin
@@ -25,9 +25,13 @@
+
+
+
+
-
+