43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
//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"
|
|
}
|
|
}
|
|
}
|