using Bwp.Web.Pages; using System; using System.Collections.Generic; using System.Linq; using System.Text; using TSingSoft.WebPluginFramework; namespace BWP.Web { public class PluginClass:IPluginClass { public void OnInit() { CustomLogin.Register("WeChatReceive.aspx"); var roleSchemas = Wpf.Settings.RoleSchemas; roleSchemas.Add(new RoleSchema("wechat", "微信公众号用户", RoleSchema.DefaultFunctions.Empty)); } } }