|
|
@ -1,6 +1,7 @@ |
|
|
using Bwp.MainSystem; |
|
|
using Bwp.MainSystem; |
|
|
using Bwp.MainSystem.Auth; |
|
|
using Bwp.MainSystem.Auth; |
|
|
using Bwp.Web.Pages; |
|
|
using Bwp.Web.Pages; |
|
|
|
|
|
using BWP.B3WeChat.Tasks; |
|
|
using BWP.B3WeChat.Utils; |
|
|
using BWP.B3WeChat.Utils; |
|
|
using Forks.EnterpriseServices.BusinessInterfaces; |
|
|
using Forks.EnterpriseServices.BusinessInterfaces; |
|
|
using Forks.Utils; |
|
|
using Forks.Utils; |
|
|
@ -45,6 +46,7 @@ namespace BWP.Web |
|
|
var roleSchemas = Wpf.Settings.RoleSchemas; |
|
|
var roleSchemas = Wpf.Settings.RoleSchemas; |
|
|
roleSchemas.Add(new RoleSchema("wechat", "微信公众号用户", RoleSchema.DefaultFunctions.Empty)); |
|
|
roleSchemas.Add(new RoleSchema("wechat", "微信公众号用户", RoleSchema.DefaultFunctions.Empty)); |
|
|
Global.RegisterCustomPrePam(new WeChatAuth()); |
|
|
Global.RegisterCustomPrePam(new WeChatAuth()); |
|
|
|
|
|
ClearExpiredApproveMessagesTask.Register(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |