zhaolei
3 days ago 0b51bf5178442b800fd76f4ff1df5b8e47af7525
init
9 files modified
258 ■■■■■ changed files
lib/Bootstrap.Security.Mvc/Bootstrap.Security.Mvc.xml 5 ●●●●● patch | view | raw | blame | history
lib/PetaPoco/Database.cs 2 ●●● patch | view | raw | blame | history
lib/PetaPoco/PetaPoco.xml 48 ●●●●● patch | view | raw | blame | history
lib/Prow.AlipayAuth/Prow.AlipayAuth.xml 7 ●●●●● patch | view | raw | blame | history
lib/Prow.Data/Prow.Data.csproj 6 ●●●● patch | view | raw | blame | history
lib/Prow.Data/Prow.Data.xml 71 ●●●● patch | view | raw | blame | history
lib/Prow.Json/Prow.Json.xml 113 ●●●● patch | view | raw | blame | history
src/admin/Bootstrap.Admin/appsettings.Development.json 2 ●●● patch | view | raw | blame | history
src/admin/Bootstrap.Admin/appsettings.json 4 ●●●● patch | view | raw | blame | history
lib/Bootstrap.Security.Mvc/Bootstrap.Security.Mvc.xml
@@ -68,12 +68,13 @@
            BootstrapAdmin 健康检查扩展类
            </summary>
        </member>
        <member name="M:Microsoft.AspNetCore.Builder.HealthChecksBuilderExtensions.UseBootstrapHealthChecks(Microsoft.AspNetCore.Builder.IApplicationBuilder,Microsoft.AspNetCore.Http.PathString)">
        <member name="M:Microsoft.AspNetCore.Builder.HealthChecksBuilderExtensions.MapBootstrapHealthChecks(Microsoft.AspNetCore.Routing.IEndpointRouteBuilder,Microsoft.AspNetCore.Http.PathString,System.Action{Microsoft.AspNetCore.Diagnostics.HealthChecks.HealthCheckOptions})">
            <summary>
            启用健康检查
            </summary>
            <param name="app"></param>
            <param name="endpoints"></param>
            <param name="path"></param>
            <param name="configure"></param>
            <returns></returns>
        </member>
        <member name="T:Microsoft.AspNetCore.BootstrapAdminAuthenticationOptions">
lib/PetaPoco/Database.cs
@@ -3076,4 +3076,4 @@
        {
        }
    }
}
}
lib/PetaPoco/PetaPoco.xml
@@ -4790,3 +4790,51 @@
        </member>
    </members>
</doc>
lities.IPagingHelper">
            <summary>
                Represents the contract for a paging helper.
            </summary>
        </member>
        <member name="M:PetaPoco.Utilities.IPagingHelper.SplitSQL(System.String,PetaPoco.Utilities.SQLParts@)">
            <summary>
                Splits the given <paramref name="sql" /> into <paramref name="parts" />;
            </summary>
            <param name="sql">The SQL to split.</param>
            <param name="parts">The SQL parts.</param>
            <returns><c>True</c> if the SQL could be split; else, <c>False</c>.</returns>
        </member>
        <member name="M:PetaPoco.Utilities.PagingHelper.SplitSQL(System.String,PetaPoco.Utilities.SQLParts@)">
            <summary>
                Splits the given <paramref name="sql" /> into <paramref name="parts" />;
            </summary>
            <param name="sql">The SQL to split.</param>
            <param name="parts">The SQL parts.</param>
            <returns><c>True</c> if the SQL could be split; else, <c>False</c>.</returns>
        </member>
        <member name="T:PetaPoco.Utilities.SQLParts">
            <summary>
                Presents the SQL parts.
            </summary>
        </member>
        <member name="F:PetaPoco.Utilities.SQLParts.Sql">
            <summary>
                The SQL.
            </summary>
        </member>
        <member name="F:PetaPoco.Utilities.SQLParts.SqlCount">
            <summary>
                The SQL count.
            </summary>
        </member>
        <member name="F:PetaPoco.Utilities.SQLParts.SqlSelectRemoved">
            <summary>
                The SQL Select
            </summary>
        </member>
        <member name="F:PetaPoco.Utilities.SQLParts.SqlOrderBy">
            <summary>
                The SQL Order By
            </summary>
        </member>
    </members>
</doc>
lib/Prow.AlipayAuth/Prow.AlipayAuth.xml
@@ -62,11 +62,12 @@
            </summary>
            <returns></returns>
        </member>
        <member name="M:Prow.AlipayAuth.AlipayHandler.ExchangeCodeAsync(Microsoft.AspNetCore.Authentication.OAuth.OAuthCodeExchangeContext)">
        <member name="M:Prow.AlipayAuth.AlipayHandler.ExchangeCodeAsync(System.String,System.String)">
            <summary>
            通过 code 获取 access_token 方法
            </summary>
            <param name="context"></param>
            <param name="code"></param>
            <param name="redirectUri"></param>
            <remarks>标准的都是 post 方法 微信使用 get</remarks>
        </member>
        <member name="M:Prow.AlipayAuth.AlipayHandler.BuildUserInfoUrl(Microsoft.AspNetCore.Authentication.OAuth.OAuthTokenResponse)">
@@ -145,7 +146,7 @@
            Alipay 用户扩展操作类
            </summary>
        </member>
        <member name="M:Prow.AlipayAuth.AlipayUserExtensions.ToAlipayUser(System.Text.Json.JsonElement)">
        <member name="M:Prow.AlipayAuth.AlipayUserExtensions.ToAlipayUser(Newtonsoft.Json.Linq.JObject)">
            <summary>
            格式化为 Alipay 用户方法
            </summary>
lib/Prow.Data/Prow.Data.csproj
@@ -18,13 +18,13 @@
  <ItemGroup>
    <Compile Include="..\Prow\OSPlatformPathExtenstions.cs" Link="OSPlatformPathExtenstions.cs" />
  </ItemGroup>
  <!--   暂留
  <ItemGroup>
    <PackageReference Include="Longbow.PetaPoco" Version="1.0.2" />
  </ItemGroup>
  -->
  <ItemGroup>
    <ProjectReference Include="..\PetaPoco\PetaPoco.csproj" />
  </ItemGroup>
</Project>
lib/Prow.Data/Prow.Data.xml
@@ -93,19 +93,10 @@
        </member>
        <member name="M:Prow.Data.DbManager.Create(System.String,System.Boolean)">
            <summary>
            通过 DI 服务自动读取配置文件创建 IDatabase 操作类
            通过DI服务自动读取配置文件创建 IDatabase 操作类
            </summary>
            <param name="name">配置文件中 ConnectionStrings 键值 Key</param>
            <param name="keepAlive">是否保持 Connection 一直处于 Open 状态,此参数为 True 时必须显示手动调用 Dispose 方法</param>
            <returns></returns>
        </member>
        <member name="M:Prow.Data.DbManager.Create(Microsoft.Extensions.Configuration.IConfiguration,System.String,System.Boolean)">
            <summary>
            通过指定IConfiguration配置项创建IDatabase操作类
            </summary>
            <param name="configuration">指定配置项,包含 ConnectionStrings 小节与 DB 小节</param>
            <param name="name">配置文件中 ConnectionStrings 键值 Key</param>
            <param name="keepAlive">是否保持 Connection 一直处于 Open 状态,此参数为 True 时必须显示手动调用 Dispose 方法</param>
            <param name="name">配置文件中 ConnectionStrings 键值Key</param>
            <param name="keepAlive">是否保持 Connection 一直处于 Open 状态,此参数为True时必须显示手动调用 Dispose 方法</param>
            <returns></returns>
        </member>
        <member name="M:Prow.Data.DbManager.Create(Prow.Data.DatabaseOption)">
@@ -117,28 +108,15 @@
        </member>
        <member name="M:Prow.Data.DbManager.GetConnectionString(System.String)">
            <summary>
            获取数据库连接字符串
            获取连接字符串方法
            </summary>
            <param name="name">为空时获取第一个连接字符串</param>
            <returns></returns>
        </member>
        <member name="M:Prow.Data.DbManager.GetMongoDB(System.String)">
            <summary>
            获取 MongoDB 连接字符串信息
            </summary>
            <param name="name">配置文件中连接字符串配置项名称</param>
            <param name="name">连接字符串 name</param>
            <returns></returns>
        </member>
        <member name="T:Prow.Data.DefaultDbAdapter">
            <summary>
            数据库适配操作类
            </summary>
        </member>
        <member name="M:Prow.Data.DefaultDbAdapter.#ctor(Microsoft.Extensions.Configuration.IConfiguration)">
            <summary>
            默认构造函数
            </summary>
            <param name="configuration">IConfiguration 实例</param>
        </member>
        <member name="M:Prow.Data.DefaultDbAdapter.Create(System.String,System.Boolean)">
            <summary>
@@ -147,14 +125,6 @@
            <param name="name">连接字符串名称</param>
            <param name="keepAlive">是否保持Connection一直处于Open状态,此参数为True时必须显示手动调用Dispose方法</param>
            <returns>IDatabase 实例</returns>
        </member>
        <member name="M:Prow.Data.DefaultDbAdapter.RetrieveDatabaseOption(Microsoft.Extensions.Configuration.IConfiguration,System.String)">
            <summary>
            通过配置文件获得 DatabaseOption 实例
            </summary>
            <param name="configuration">IConfiguration 实例</param>
            <param name="name">连接字符串名称</param>
            <returns>DatabaseOption 实例</returns>
        </member>
        <member name="M:Prow.Data.DefaultDbAdapter.Create(Prow.Data.DatabaseOption)">
            <summary>
@@ -168,11 +138,10 @@
            IDbContext 默认实现类
            </summary>
        </member>
        <member name="M:Prow.Data.DefaultDbContext`1.#ctor(Microsoft.Extensions.Configuration.IConfiguration)">
        <member name="M:Prow.Data.DefaultDbContext`1.#ctor">
            <summary>
            默认构造函数
            </summary>
            <param name="configuration">IConfiguration 实例</param>
        </member>
        <member name="M:Prow.Data.DefaultDbContext`1.Create">
            <summary>
@@ -225,43 +194,19 @@
            IDatabase Logger 扩展
            </summary>
        </member>
        <member name="M:Prow.Data.DatabaseExtensions.OnCommandExecuted(PetaPoco.IDatabase,System.Action{System.IServiceProvider})">
        <member name="M:Prow.Data.DatabaseExtensions.OnCommandExecuted(PetaPoco.IDatabase,System.Action)">
            <summary>
            IDatabase 实例数据库脚本执行前回调方法
            </summary>
            <param name="db"></param>
            <param name="executedCallback"></param>
        </member>
        <member name="M:Prow.Data.DatabaseExtensions.OnCommandExecuting(PetaPoco.IDatabase,System.Action{System.IServiceProvider})">
        <member name="M:Prow.Data.DatabaseExtensions.OnCommandExecuting(PetaPoco.IDatabase,System.Action)">
            <summary>
            IDatabase 实例数据库脚本执行后回调方法
            </summary>
            <param name="db"></param>
            <param name="executingCallback"></param>
        </member>
        <member name="T:Microsoft.Extensions.DependencyInjection.DatabaseServiceCollectionExtensions">
            <summary>
            注入数据库服务扩展类
            </summary>
        </member>
        <member name="P:Microsoft.Extensions.DependencyInjection.DatabaseServiceCollectionExtensions.ServiceProvider">
            <summary>
            获取 容器集合
            </summary>
        </member>
        <member name="M:Microsoft.Extensions.DependencyInjection.DatabaseServiceCollectionExtensions.AddDbAdapter(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="M:System.OSPlatformPathExtenstions.GetOSPlatformPath(System.String)">
            <summary>
            获得 当前操作系统目录分隔符的路径
            </summary>
            <param name="originalString">原始路径字符串</param>
            <returns></returns>
        </member>
    </members>
</doc>
lib/Prow.Json/Prow.Json.xml
@@ -4,146 +4,71 @@
        <name>Prow.Json</name>
    </assembly>
    <members>
        <member name="T:System.Text.Json.Serialization.CustomerDateTimeConverter">
        <member name="T:Newtonsoft.Json.Converters.CustomerDateTimeConverter">
            <summary>
            转换 DateTime 类型数据为自定义格式的 Json 字符串
            </summary>
        </member>
        <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">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.#ctor">
            <summary>
            默认构造函数 字符串默认为 "yyyy-MM-dd HH:mm:ss"
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.#ctor(System.String)">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.#ctor(System.String)">
            <summary>
            默认构造函数
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
            <summary>
            读取方法
            </summary>
            <param name="reader"></param>
            <param name="typeToConvert"></param>
            <param name="options"></param>
            <param name="objectType"></param>
            <param name="existingValue"></param>
            <param name="serializer"></param>
            <returns></returns>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeConverter.Write(System.Text.Json.Utf8JsonWriter,System.DateTime,System.Text.Json.JsonSerializerOptions)">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
            <summary>
            写入方法
            </summary>
            <param name="writer"></param>
            <param name="value"></param>
            <param name="options"></param>
            <param name="serializer"></param>
        </member>
        <member name="T:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter">
        <member name="T:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter">
            <summary>
            转换 DateTime 类型数据为自定义格式的 Json 字符串
            转换 DateTimeOffset 类型数据为自定义格式的 Json 字符串
            </summary>
        </member>
        <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">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.#ctor">
            <summary>
            默认构造函数 字符串默认为 "yyyy-MM-dd HH:mm:ss"
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.#ctor(System.String)">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.#ctor(System.String)">
            <summary>
            默认构造函数
            </summary>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.ReadJson(Newtonsoft.Json.JsonReader,System.Type,System.Object,Newtonsoft.Json.JsonSerializer)">
            <summary>
            读取方法
            </summary>
            <param name="reader"></param>
            <param name="typeToConvert"></param>
            <param name="options"></param>
            <param name="objectType"></param>
            <param name="existingValue"></param>
            <param name="serializer"></param>
            <returns></returns>
        </member>
        <member name="M:System.Text.Json.Serialization.CustomerDateTimeOffsetConverter.Write(System.Text.Json.Utf8JsonWriter,System.DateTimeOffset,System.Text.Json.JsonSerializerOptions)">
        <member name="M:Newtonsoft.Json.Converters.CustomerDateTimeOffsetConverter.WriteJson(Newtonsoft.Json.JsonWriter,System.Object,Newtonsoft.Json.JsonSerializer)">
            <summary>
            写入方法
            </summary>
            <param name="writer"></param>
            <param name="value"></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>
            <param name="serializer"></param>
        </member>
    </members>
</doc>
src/admin/Bootstrap.Admin/appsettings.Development.json
@@ -27,7 +27,7 @@
      "Enabled": true,
      "ProviderName": "SqlServer",
      "ConnectionStrings": {
        "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=prow123"
        "ba": "Data Source=123.56.102.130;Initial Catalog=XNJK;User ID=sa;Password=cqprow1234."
      }
    },
    {
src/admin/Bootstrap.Admin/appsettings.json
@@ -19,7 +19,7 @@
    }
  },
  "ConnectionStrings": {
    "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=sa"
    "ba": "Data Source=123.56.102.130;Initial Catalog=XNJK;User ID=sa;Password=cqprow1234."
  },
  "AutoGenerateDatabase": false,
  "DB": [
@@ -27,7 +27,7 @@
      "Enabled": true,
      "ProviderName": "SqlServer",
      "ConnectionStrings": {
        "ba": "Data Source=.;Initial Catalog=BootstrapAdmin;User ID=sa;Password=prow123"
        "ba": "Data Source=123.56.102.130;Initial Catalog=XNJK;User ID=sa;Password=cqprow1234."
      }
    },
    {