feat: 完成测试框架搭建
This commit is contained in:
42
Yi.Abp.Net8/test/Yi.Abp.Test/appsettings.Development.json
Normal file
42
Yi.Abp.Net8/test/Yi.Abp.Test/appsettings.Development.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
//Rbac模块
|
||||
"RbacOptions": {
|
||||
//超级管理员种子数据默认密码
|
||||
"AdminPassword": "cc2016cc",
|
||||
|
||||
//是否开启验证码验证
|
||||
"EnableCaptcha": false,
|
||||
|
||||
//是否开启注册功能
|
||||
"EnableRegister": true,
|
||||
|
||||
//开启定时数据库备份
|
||||
"EnableDataBaseBackup": true
|
||||
|
||||
},
|
||||
"DbConnOptions": {
|
||||
"Url": "server=106.52.94.217;port=3306;database=yi-abp-pro;user id=root;password=Qz52013142020.",
|
||||
//"Url": "server=localhost;port=3306;database=yi-abp-pro;user id=root;password=root",
|
||||
"DbType": "Mysql",
|
||||
"EnabledReadWrite": false,
|
||||
"EnabledCodeFirst": false,
|
||||
"EnabledSqlLog": true,
|
||||
"EnabledDbSeed": false
|
||||
//读写分离地址
|
||||
//"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
|
||||
//]
|
||||
},
|
||||
|
||||
//阿里云配置
|
||||
"AliyunOptions": {
|
||||
"AccessKeyId": "LTAI5tGdhAvUMzJtgcAz1yrZ",
|
||||
"AccessKeySecret": "NuqdEs3Jf0lAs30JP7d4T7jvI1AFgr",
|
||||
"Sms": {
|
||||
"SignName": "ccnetcore",
|
||||
"TemplateCode": "SMS_275415076"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user