|
|
@ -8,6 +8,7 @@ using Forks.Utils; |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using TSingSoft.WebPluginFramework; |
|
|
using TSingSoft.WebPluginFramework; |
|
|
|
|
|
using System.Linq; |
|
|
|
|
|
|
|
|
namespace BWP.Web |
|
|
namespace BWP.Web |
|
|
{ |
|
|
{ |
|
|
@ -41,6 +42,12 @@ namespace BWP.Web |
|
|
|
|
|
|
|
|
public void OnInit() |
|
|
public void OnInit() |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (PluginManager.Current.Plugins.Any((p) => p.Name == "B3UnitedInfos")) |
|
|
|
|
|
{ |
|
|
|
|
|
throw new Exception("业务系统中不应该安装微信模块"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CustomLogin.Register("WeChatReceive.aspx"); |
|
|
CustomLogin.Register("WeChatReceive.aspx"); |
|
|
CustomLogin.Register("WeChatLogin.aspx"); |
|
|
CustomLogin.Register("WeChatLogin.aspx"); |
|
|
var roleSchemas = Wpf.Settings.RoleSchemas; |
|
|
var roleSchemas = Wpf.Settings.RoleSchemas; |
|
|
|