{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "EventBus": { "HostName": "127.0.0.1", "ExchangeName": "qqbot" }, "AllowedHosts": "*", "JWT": { "SigningKey": "JWT加密密钥(请严格保密)", "ExpireSeconds": "86400" }, "HttpReportsDashboard": { "ExpireDay": 3, "Storage": { "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=master;Trusted_Connection=True;TrustServerCertificate=true", "DeferSecond": 10, "DeferThreshold": 100 }, "Mail": { "Server": "smtp.163.com", "Port": 465, "Account": "HttpReports@qq.com", "Password": "*******", "EnableSsL": true, "Switch": true } }, "Adapters": { "OneBot": { "Bots": [ { "Protocol": "WebSocket", "Endpoint": "ws://127.0.0.1:8080" } ] } }, "oauth": { "qq": { "app_id": "qq_app_id", "app_key": "qq_app_key", "redirect_uri": "https://oauthlogin.net/oauth/qqcallback", "scope": "get_user_info" }, "github": { "app_id": "Ov23liKQaqPOMKJCzdep", "app_key": "37dc8fdc1a91f4f464fd05f46b158801ff9f9a61", "scope": "repo" }, "microsoft": { "app_id": "9206e9e3-4608-4501-85ae-88b42c7f2fe1", "tenant_id": "7ed846b8-c314-431e-b72c-27562dc7bf04", "app_key": "E5O8Q~OPLX3AjKwQz.5hlo7SUDoIdOaurL6F8cWl", "redirect_uri": "https://api.idvasg.cn/oauth/microsoftcallback", "scope": "snsapi_userinfo" }, "huawei": { "app_id": "huawei_app_id", "app_key": "huawei_app_key", "redirect_uri": "https://oauthlogin.net/oauth/huaweicallback", "scope": "https://www.huawei.com/auth/account" }, "gitee": { "app_id": "gitee_app_id", "app_key": "gitee_app_key", "redirect_uri": "http://oauthlogin.net/oauth/giteecallback", "scope": "user_info" }, "baidu": { "app_id": "baidu_app_id", "app_key": "baidu_app_key", "redirect_uri": "http://oauthlogin.net/oauth/baiducallback", "scope": "basic" }, "alipay": { "app_id": "alipay_app_id", "app_key": "alipay_app_key", "redirect_uri": "https://oauthlogin.net/oauth/alipaycallback", "scope": "auth_user", "private_key": "private_key", "public_key": "public_key" }, "gitlab": { "app_id": "gitlab_app_id", "app_key": "gitlab_app_key", "redirect_uri": "http://oauthlogin.net/oauth/gitlabcallback", "scope": "read_user" } } }