feat:完成codefirst与种子数据,发现非空类型问题,等待紧急修复
This commit is contained in:
@@ -14,10 +14,12 @@ public class SingleFilePublish : ISingleFilePublish
|
||||
{
|
||||
return new[]
|
||||
{
|
||||
"Yi.Furion.Rbac.Application",
|
||||
"Yi.Furion.Rbac.Core",
|
||||
"Yi.Furion.Rbac.EntityFramework.Core",
|
||||
"Yi.Furion.Rbac.Web.Core"
|
||||
"Yi.Framework.Infrastructure",
|
||||
"Yi.Framework.Module",
|
||||
"Yi.Furion.Application",
|
||||
"Yi.Furion.Core",
|
||||
"Yi.Furion.Sqlsugar.Core",
|
||||
"Yi.Furion.Core"
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -30,9 +30,6 @@
|
||||
<None Update="ip2region.db">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Update="yi-sqlsugar-dev.db">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -42,6 +39,17 @@
|
||||
<Folder Include="wwwroot\Image\" />
|
||||
<Folder Include="wwwroot\Thumbnail\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
|
||||
<ItemGroup>
|
||||
<Content Update="appsettings.Development.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Update="appsettings.Production.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<UserProperties properties_4launchsettings_1json__JsonSchema="" />
|
||||
|
||||
@@ -19,20 +19,22 @@
|
||||
"DbType": "Sqlite",
|
||||
"EnabledReadWrite": false,
|
||||
"EnabledCodeFirst": false,
|
||||
"EntityAssembly": null,
|
||||
"ReadUrl": [
|
||||
"DataSource=[xxxx]", //Sqlite
|
||||
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //Mysql
|
||||
"Data Source=[xxxx];Initial Catalog=[xxxx];User ID=[xxxx];password=[xxxx]" //Sqlserver
|
||||
]
|
||||
},
|
||||
|
||||
"EnabledDataSeed": false,
|
||||
|
||||
"JWTSettings": {
|
||||
"ValidateIssuerSigningKey": true, // 是否验证密钥,bool 类型,默认true
|
||||
"IssuerSigningKey": "你的密钥", // 密钥,string 类型,必须是复杂密钥,长度大于16
|
||||
"IssuerSigningKey": "123456qwerty123456qwerty", // 密钥,string 类型,必须是复杂密钥,长度大于16
|
||||
"ValidateIssuer": true, // 是否验证签发方,bool 类型,默认true
|
||||
"ValidIssuer": "签发方", // 签发方,string 类型
|
||||
"ValidIssuer": "ccnetcore", // 签发方,string 类型
|
||||
"ValidateAudience": true, // 是否验证签收方,bool 类型,默认true
|
||||
"ValidAudience": "签收方", // 签收方,string 类型
|
||||
"ValidAudience": "ccnetcore", // 签收方,string 类型
|
||||
"ValidateLifetime": true, // 是否验证过期时间,bool 类型,默认true,建议true
|
||||
"ExpiredTime": 20, // 过期时间,long 类型,单位分钟,默认20分钟
|
||||
"ClockSkew": 5, // 过期时间容错值,long 类型,单位秒,默认 5秒
|
||||
@@ -46,6 +48,7 @@
|
||||
"TemplateCode": "",
|
||||
"EnableFeature": false
|
||||
},
|
||||
//redis缓存
|
||||
"CachingConnOptions": {
|
||||
"Host": "",
|
||||
"DB": "",
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user