修改为自己阿里云服务器数据库及阿里云对象存储

This commit is contained in:
2023-07-17 10:05:02 +08:00
parent cead939fe4
commit dc705768fe
+8 -8
View File
@@ -8,8 +8,8 @@
}, },
"dbConfigs": [ "dbConfigs": [
{ {
"Conn": "Data Source=LAPTOP-STKF2M8H\\SQLEXPRESS;User ID=admin;Password=admin123;Initial Catalog=ZrAdmin;", "Conn": "server=8.140.174.251;user=admin;pwd=admin123;database=ZrAdmin",
"DbType": 1, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4 "DbType": 0, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
"ConfigId": "0", //多租户唯一标识 "ConfigId": "0", //多租户唯一标识
"IsAutoCloseConnection": true "IsAutoCloseConnection": true
}, },
@@ -43,12 +43,12 @@
}, },
//阿里云存储配置 //阿里云存储配置
"ALIYUN_OSS": { "ALIYUN_OSS": {
"REGIONID": "", //eg:cn-hangzhou "REGIONID": "oss-cn-hangzhou.aliyuncs.com", //eg:cn-hangzhou
"KEY": "XX", "KEY": "LTAI5tBjDZatWWunAhxLAAFR",
"SECRET": "XX", "SECRET": "Klcm77KdpkIROAl2ffPemK5I1yDshM",
"bucketName": "bucketName", "bucketName": "markdownhexo",
"domainUrl": "http://xxx.xxx.com", //访问资源域名 "domainUrl": "https://markdownhexo.oss-cn-hangzhou.aliyuncs.com", //访问资源域名
"maxSize": 100 //上传文件大小限制 100M "maxSize": 1000//上传文件大小限制 1000M
}, },
//企业微信通知配置 //企业微信通知配置
"WxCorp": { "WxCorp": {