update README.md

This commit is contained in:
2023-05-29 00:00:17 +08:00
parent 7c3f039911
commit fe43eeb6c2

View File

@@ -17,7 +17,7 @@ Example of config in `appsetting.json`
```json ```json
{ {
"ConnectionStrings": { "ConnectionStrings": {
"pgConnection": "Host=127.0.0.1;Port=5432;Database=Worker;Username=Worker;Password=123456;"//LogDbConnection "pgConnection": "Host=127.0.0.1;Port=5432;Database=Worker;Username=Worker;Password=123456;"
}, },
"Logging": { "Logging": {
"LogLevel": { "LogLevel": {
@@ -27,17 +27,31 @@ Example of config in `appsetting.json`
}, },
"App": { "App": {
"AppJob": { "AppJob": {
"Corn": "0/15 * * * * ? " //a corn expression which defined strike time and frequency.this is a util website for generate an corn expression https://cron.qqe2.com/ "Corn": "* * * * * ?" //https://cron.qqe2.com/
}
}, },
"DDNS": {
"Domain": { "Platform": 3, //1 Ali 2 Tencent 3 Namesilo
"Platform": "Ali", //platform from 'Tencent' or 'Ali' // 主域名
"Id": "Id",//get the id and key from https://dc.console.aliyun.com/ Or https://console.cloud.tencent.com/cam/capi "Domain": "we965.com",
"Key": "Key", // 子域名前缀
"domain": "demo.cn", "SubDomainArray": [ "git", "webutil", "dev" ],
"subDomainArray": [ "www", "@","git"], // 记录类型
"type": "A",//this is not using "type": "A",
"time": "30"//this is not using //间隔时间 秒
"time": "30"
},
"Namesilo": {
"ApiKey": "1111"
},
"Dnspod": {
"Id": "1111",
"Key": "1111",
"Endpoint": "1111"
},
"Ali": {
"Id": "1111",
"Key": "1111",
"Endpoint": "1111"
} }
} }