/// <summary> /// 配置服务方法。 /// </summary> /// <param name="builder">容器构建实例。</param> public void ConfigureServices(IServiceBuilder builder) { builder.AddSensitiveWords(); }