diff --git a/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatureDefinitionProvider.cs b/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatureDefinitionProvider.cs index 3a62bcc8d..e918233c4 100644 --- a/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatureDefinitionProvider.cs +++ b/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatureDefinitionProvider.cs @@ -19,12 +19,12 @@ public class WeChatOfficialFeatureDefinitionProvider : FeatureDefinitionProvider description: L("Features:WeChat.Official.EnableDesc"), valueType: new ToggleStringValueType(new BooleanValueValidator())); - officialEnableFeature.CreateChild( - name: WeChatOfficialFeatures.EnableAuthorization, - defaultValue: true.ToString(), - displayName: L("Features:WeChat.Official.EnableAuthorization"), - description: L("Features:WeChat.Official.EnableAuthorizationDesc"), - valueType: new ToggleStringValueType(new BooleanValueValidator())); + //officialEnableFeature.CreateChild( + // name: WeChatOfficialFeatures.EnableAuthorization, + // defaultValue: true.ToString(), + // displayName: L("Features:WeChat.Official.EnableAuthorization"), + // description: L("Features:WeChat.Official.EnableAuthorizationDesc"), + // valueType: new ToggleStringValueType(new BooleanValueValidator())); } protected LocalizableString L(string name) diff --git a/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatures.cs b/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatures.cs index 5ff03e252..ec87536ca 100644 --- a/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatures.cs +++ b/aspnet-core/framework/wechat/LINGYUN.Abp.WeChat.Official/LINGYUN/Abp/WeChat/Official/Features/WeChatOfficialFeatures.cs @@ -8,5 +8,5 @@ public static class WeChatOfficialFeatures public const string Enable = GroupName + ".Enable"; - public const string EnableAuthorization = GroupName + ".EnableAuthorization"; + //public const string EnableAuthorization = GroupName + ".EnableAuthorization"; }