zhaolei
3 days ago 5275bbc35b15959c441f1f535a1e5eda96dea822
init
10 files modified
292 ■■■■■ changed files
lib/Bootstrap.Security.Mvc/Bootstrap.Security.Mvc.xml 5 ●●●●● patch | view | raw | blame | history
lib/Prow.Cache/Prow.Cache.xml 137 ●●●●● patch | view | raw | blame | history
lib/Prow.Json/Prow.Json.xml 113 ●●●● patch | view | raw | blame | history
lib/Prow.OAuth/Prow.OAuth.xml 10 ●●●● patch | view | raw | blame | history
lib/Prow.TencentAuth/Prow.TencentAuth.xml 7 ●●●●● patch | view | raw | blame | history
lib/Prow.WeChatAuth/Prow.WeChatAuth.xml 7 ●●●●● patch | view | raw | blame | history
src/admin/Bootstrap.Admin/BootstrapAdmin.db patch | view | raw | blame | history
src/admin/Bootstrap.Admin/Pages/Views/Index.razor 2 ●●● patch | view | raw | blame | history
src/admin/Bootstrap.Admin/Views/Admin/Index.cshtml 2 ●●● patch | view | raw | blame | history
src/admin/Bootstrap.Admin/appsettings.Development.json 9 ●●●●● patch | view | raw | blame | history
lib/Bootstrap.Security.Mvc/Bootstrap.Security.Mvc.xml
@@ -68,13 +68,12 @@
            BootstrapAdmin 健康检查扩展类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.HealthChecksBuilderExtensions.MapBootstrapHealthChecks(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder,Microsoft.AspNetCore.Http.PathString,System.Action{Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions})">
        <member name="M:Microsoft.AspNetCore.Builder.HealthChecksBuilderExtensions.UseBootstrapHealthChecks(Microsoft.AspNetCore.Builder.IApplicationBuilder,Microsoft.AspNetCore.Http.PathString)">
            <summary>
            启用健康检查
            </summary>
            <param name="endpoints"></param>
            <param name="app"></param>
            <param name="path"></param>
            <param name="configure"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions">
lib/Prow.Cache/Prow.Cache.xml
@@ -55,7 +55,17 @@
        </member>
        <member name="T:Prow.Cache.CacheCorsItem">
            <summary>
            CacheCorsItem 实体类
            CacheCorsItem 配置类
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheCorsItem.Enabled">
            <summary>
            获得/设置 是否启用 默认 false
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheCorsItem.Key">
            <summary>
            获得/设置 缓存键值
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheCorsItem.Url">
@@ -202,9 +212,19 @@
            <returns></returns>
        </member>
        <member name="T:Prow.Cache.CacheOption">
             <summary>
             </summary>
            <summary>
            缓存配置项定义类
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheOption.Enabled">
            <summary>
            获得/设置 是否启用 默认值 true 启用本配置项
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheOption.Key">
            <summary>
            获得/设置 缓存键值,配置文件中的 Key
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheOption.Interval">
            <summary>
@@ -219,17 +239,6 @@
        <member name="P:Prow.Cache.CacheOption.SlidingExpiration">
            <summary>
            获得/设置 缓存是否自动延长默认值 false
            </summary>
        </member>
        <member name="M:Prow.Cache.CacheOption.#ctor(System.String)">
            <summary>
            默认构造函数
            </summary>
            <param name="key"></param>
        </member>
        <member name="M:Prow.Cache.CacheOption.#ctor">
            <summary>
            默认构造函数
            </summary>
        </member>
        <member name="T:Prow.Cache.CacheOptions">
@@ -252,80 +261,29 @@
            获得/设置 CacheOption 缓存配置集合
            </summary>
        </member>
        <member name="T:Prow.Cache.CacheCorsItemCollection">
        <member name="T:Prow.Cache.CacheConfigureOptions`1">
            <summary>
            缓存配置相集合
            缓存配置类
            </summary>
            <typeparam name="TOptions"></typeparam>
        </member>
        <member name="T:Prow.Cache.CacheListSection">
        <member name="M:Prow.Cache.CacheConfigureOptions`1.#ctor(Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            CacheList 配置项操作类
            构造函数
            </summary>
        </member>
        <member name="F:Prow.Cache.CacheListSection.DefaultSectionName">
            <summary>
            默认配置小节项名称,默认值 cacheManagerList
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheListSection.Enabled">
            <summary>
            获得 是否启用本设置,默认为启用 true
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheListSection.CorsItems">
            <summary>
            CorsItems
            </summary>
        </member>
        <member name="M:Prow.Cache.CacheListSection.GetSection">
            <summary>
            获取配置小节方法
            </summary>
            <returns></returns>
        </member>
        <member name="T:Prow.Cache.CacheOptionCollection">
            <summary>
            缓存配置相集合
            </summary>
        </member>
        <member name="T:Prow.Cache.CacheSection">
            <summary>
            CacheSection 操作类
            </summary>
        </member>
        <member name="F:Prow.Cache.CacheSection.DefaultSectionName">
            <summary>
            默认配置小节项名称,默认是cacheManager
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheSection.Enabled">
            <summary>
            获得 是否启用本设置,默认为启用(true)
            </summary>
        </member>
        <member name="P:Prow.Cache.CacheSection.CacheOptions">
            <summary>
            获得 CacheOption 集合
            </summary>
        </member>
        <member name="M:Prow.Cache.CacheSection.GetSection">
            <summary>
            获取 CacheSection 配置项方法
            </summary>
            <returns></returns>
        </member>
        <member name="M:Prow.Cache.CacheSection.GetOptions">
            <summary>
            获取 CacheOptions 方法
            </summary>
            <returns>CacheOptions 实例</returns>
            <param name="configuration"></param>
        </member>
        <member name="T:Prow.Cache.DefaultCache">
            <summary>
            Cache 内部默认实现类
            </summary>
        </member>
        <member name="M:Prow.Cache.DefaultCache.#ctor">
        <member name="P:Prow.Cache.DefaultCache.Instance">
            <summary>
            ICache 实例
            </summary>
        </member>
        <member name="M:Prow.Cache.DefaultCache.#ctor(Microsoft.Extensions.Options.IOptionsMonitor{Prow.Cache.CacheOptions},Microsoft.AspNetCore.Http.IHttpContextAccessor,System.Net.Http.IHttpClientFactory)">
            <summary>
            默认构造函数
            </summary>
@@ -593,5 +551,28 @@
            获得/设置 是否自动延时过期时间
            </summary>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.CacheManagerServiceCollectionExtensions">
            <summary>
            配置服务注入方法扩展类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.CacheManagerServiceCollectionExtensions.AddCacheManager(Microsoft.Extensions.DependencyInjection.IServiceCollection)">
            <summary>
            增加缓存管理到服务容器中 <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" />.
            </summary>
            <param name="services">The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection" /> to add services to.</param>
            <returns>The <see cref="T:Microsoft.Extensions.DependencyInjection.IServiceCollection"/> so that additional calls can be chained.</returns>
        </member>
        <member name="T:Microsoft.AspNetCore.Builder.CacheManagerExtensions">
            <summary>
            CacheManagerCorsHandler 中间件扩展类,负责解析 /CacheList.axd 请求
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.CacheManagerExtensions.UseCacheManager(Microsoft.AspNetCore.Builder.IApplicationBuilder)">
            <summary>
            增加CacheManager跨站点管理中间件
            </summary>
            <param name="builder"></param>
        </member>
    </members>
</doc>
lib/Prow.Json/Prow.Json.xml
@@ -4,71 +4,146 @@
        <name>Prow.Json</name>
    </assembly>
    <members>
        <member name="T:Newtonsoft.Json.Converters.CustomerDateTimeConverter">
        <member name="T:System.Text.Json.Serialization.CustomerDateTimeConverter">
            <summary>
            转换 DateTime 类型数据为自定义格式的 Json 字符串
            </summary>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.#ctor">
        <member name="P:System.Text.Json.Serialization.CustomerDateTimeConverter.DateTimeFormat">
            <summary>
            获得/设置 DateTime 类型数据自定义字符串 默认 "yyyy-MM-dd HH:mm:ss"
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.#ctor">
            <summary>
            默认构造函数 字符串默认为 "yyyy-MM-dd HH:mm:ss"
            </summary>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.#ctor(System.String)">
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.#ctor(System.String)">
            <summary>
            默认构造函数
            </summary>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
            <summary>
            读取方法
            </summary>
            <param name="reader"></param>
            <param name="objectType"></param>
            <param name="existingValue"></param>
            <param name="serializer"></param>
            <param name="typeToConvert"></param>
            <param name="options"></param>
            <returns></returns>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.Write(System.Text.Json.Utf8JsonWriter,System.DateTime,System.Text.Json.JsonSerializerOptions)">
            <summary>
            写入方法
            </summary>
            <param name="writer"></param>
            <param name="value"></param>
            <param name="serializer"></param>
            <param name="options"></param>
        </member>
        <member name="T:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter">
        <member name="T:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter">
            <summary>
            转换 DateTimeOffset 类型数据为自定义格式的 Json 字符串
            转换 DateTime 类型数据为自定义格式的 Json 字符串
            </summary>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.#ctor">
        <member name="P:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.DateTimeFormat">
            <summary>
            获得/设置 DateTime 类型数据自定义字符串 默认 "yyyy-MM-dd HH:mm:ss"
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.#ctor">
            <summary>
            默认构造函数 字符串默认为 "yyyy-MM-dd HH:mm:ss"
            </summary>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.#ctor(System.String)">
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.#ctor(System.String)">
            <summary>
            默认构造函数
            </summary>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
            <summary>
            读取方法
            </summary>
            <param name="reader"></param>
            <param name="objectType"></param>
            <param name="existingValue"></param>
            <param name="serializer"></param>
            <param name="typeToConvert"></param>
            <param name="options"></param>
            <returns></returns>
        </member>
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.Write(System.Text.Json.Utf8JsonWriter,System.DateTimeOffset,System.Text.Json.JsonSerializerOptions)">
            <summary>
            写入方法
            </summary>
            <param name="writer"></param>
            <param name="value"></param>
            <param name="serializer"></param>
            <param name="options"></param>
        </member>
        <member name="T:System.Text.Json.Serialization.ShortDateTimeConverter">
            <summary>
            Json 序列化转换器 "yyyy-MM-dd" 样式
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.ShortDateTimeConverter.#ctor">
            <summary>
            构造函数
            </summary>
        </member>
        <member name="T:System.Text.Json.Serialization.StringToNumberConverter">
            <summary>
            转换 String 类型数据为 Number 数据
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.StringToNumberConverter.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
            <summary>
            读取方法
            </summary>
            <param name="reader"></param>
            <param name="typeToConvert"></param>
            <param name="options"></param>
            <returns></returns>
        </member>
        <member name="M:System.Text.Json.Serialization.StringToNumberConverter.Write(System.Text.Json.Utf8JsonWriter,System.Int32,System.Text.Json.JsonSerializerOptions)">
            <summary>
            写入方法
            </summary>
            <param name="writer"></param>
            <param name="value"></param>
            <param name="options"></param>
        </member>
        <member name="T:System.Text.Json.Serialization.StringToTimeSpanConverter">
            <summary>
            转换 String 类型数据为 Number 数据
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.StringToTimeSpanConverter.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
            <summary>
            读取方法
            </summary>
            <param name="reader"></param>
            <param name="typeToConvert"></param>
            <param name="options"></param>
            <returns></returns>
        </member>
        <member name="M:System.Text.Json.Serialization.StringToTimeSpanConverter.Write(System.Text.Json.Utf8JsonWriter,System.TimeSpan,System.Text.Json.JsonSerializerOptions)">
            <summary>
            写入方法
            </summary>
            <param name="writer"></param>
            <param name="value"></param>
            <param name="options"></param>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.JsonExtensions">
            <summary>
            System.Text.Json 扩展操作类
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.JsonExtensions.AddDefaultConverters(System.Text.Json.JsonSerializerOptions)">
            <summary>
            提供默认配置 支持驼峰命名方法(Pascal)
            </summary>
            <param name="options">JsonSerializerOptions 实例</param>
            <remarks>内部 Converters 增加了时间转化器</remarks>
            <returns></returns>
        </member>
    </members>
</doc>
lib/Prow.OAuth/Prow.OAuth.xml
@@ -110,19 +110,11 @@
            微信用户扩展操作类
            </summary>
        </member>
        <member name="M:Prow.OAuth.OAuthUserExtensions.ToAuthUser(System.Text.Json.JsonElement)">
        <member name="M:Prow.OAuth.OAuthUserExtensions.ToAuthUser(Newtonsoft.Json.Linq.JObject)">
            <summary>
            格式化为微信用户方法
            </summary>
            <param name="element"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.OAuth.OAuthUserExtensions.TryGetValue(System.Text.Json.JsonElement.ObjectEnumerator,System.String)">
            <summary>
            读取指定键值的 Json 数值
            </summary>
            <param name="target"></param>
            <param name="propertyName"></param>
            <returns></returns>
        </member>
    </members>
lib/Prow.TencentAuth/Prow.TencentAuth.xml
@@ -61,12 +61,11 @@
            <param name="redirectUri"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.TencentAuth.TencentHandler.ExchangeCodeAsync(System.String,System.String)">
        <member name="M:Prow.TencentAuth.TencentHandler.ExchangeCodeAsync(Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext)">
            <summary>
            通过 code 获取 access_token 方法
            </summary>
            <param name="code"></param>
            <param name="redirectUri"></param>
            <param name="context"></param>
            <remarks>标准的都是 post 方法 微信使用 get</remarks>
        </member>
        <member name="M:Prow.TencentAuth.TencentHandler.HandleUserInfoAsync(Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse)">
@@ -126,7 +125,7 @@
            腾讯 QQ 用户扩展操作类
            </summary>
        </member>
        <member name="M:Prow.TencentAuth.AlipayUserExtensions.ToTencentUser(Newtonsoft.Json.Linq.JObject)">
        <member name="M:Prow.TencentAuth.AlipayUserExtensions.ToTencentUser(System.Text.Json.JsonElement)">
            <summary>
            格式化为腾讯 QQ 用户方法
            </summary>
lib/Prow.WeChatAuth/Prow.WeChatAuth.xml
@@ -56,12 +56,11 @@
            <param name="redirectUri"></param>
            <returns></returns>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.ExchangeCodeAsync(System.String,System.String)">
        <member name="M:Prow.WeChatAuth.WeChatHandler.ExchangeCodeAsync(Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext)">
            <summary>
            通过 code 获取 access_token 方法
            </summary>
            <param name="code"></param>
            <param name="redirectUri"></param>
            <param name="context"></param>
            <remarks>标准的都是 post 方法 微信使用 get</remarks>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatHandler.BuildUserInfoUrl(Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse)">
@@ -123,7 +122,7 @@
            微信用户扩展操作类
            </summary>
        </member>
        <member name="M:Prow.WeChatAuth.WeChatUserExtensions.ToWeChatUser(Newtonsoft.Json.Linq.JObject)">
        <member name="M:Prow.WeChatAuth.WeChatUserExtensions.ToWeChatUser(System.Text.Json.JsonElement)">
            <summary>
            格式化为微信用户方法
            </summary>
src/admin/Bootstrap.Admin/BootstrapAdmin.db
Binary files differ
src/admin/Bootstrap.Admin/Pages/Views/Index.razor
@@ -6,7 +6,7 @@
@inject IJSRuntime JSRuntime
<Section ShowCardTitle="@Layout.Model.ShowCardTitle" LockScreenPeriod="@Layout.Model.LockScreenPeriod" ShowBackground="true">
    <h4 style="color: #fff; padding: 1rem 0 0 1rem;">欢迎使用后台管理</h4>
    <h4 style="color: #fff; padding: 1rem 0 0 1rem;">欢迎使用小牛集卡后台管理</h4>
</Section>
@code {
src/admin/Bootstrap.Admin/Views/Admin/Index.cshtml
@@ -25,4 +25,4 @@
        });
    </script>
}
<h4>欢迎使用后台管理</h4>
<h4>欢迎使用小牛集卡后台管理</h4>
src/admin/Bootstrap.Admin/appsettings.Development.json
@@ -21,18 +21,17 @@
      "Url": "https://client.sdgxgz.com/api/Interface/Log"
    }
  },
  "AutoGenerateDatabase": true,
  "AutoGenerateDatabase": false,
  "DB": [
    {
      "Enabled": false,
      "Enabled": true,
      "ProviderName": "SqlServer",
      "SqlFolder": "..\\..\\..\\db\\SqlServer",
      "ConnectionStrings": {
        "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
        "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=prow123"
      }
    },
    {
      "Enabled": true,
      "Enabled": false,
      "ProviderName": "Sqlite",
      "SqlFolder": "..\\..\\..\\db\\SQLite",
      "ConnectionStrings": {