15m44m 仓库img.json模板webhook_secret挪进repo段去真实值 + loadImgJson读repo.webhook_secret + easy不再被GitHub压制
This commit is contained in:
@@ -2,21 +2,21 @@
|
||||
"模式": {
|
||||
"type": "",
|
||||
"说明": [
|
||||
"1. type留空→走图床(EasyImages2.0)",
|
||||
"2. 填GitHub→走GitHub issue(工单同步 caoyuanwiki 仓库)"
|
||||
"1. type留空→只走内置工单+图床",
|
||||
"2. 填GitHub→额外同步GitHub issue(需配repo段+前端授权)+前端出现授权按钮"
|
||||
]
|
||||
},
|
||||
"repo": {
|
||||
"url": "https://github.com/ypsdf1/caoyuanwiki",
|
||||
"Client ID": "Ov23li8Zk7KtdcDKEyXh",
|
||||
"Client secrets": "6381a52aada20839bee8e9d31c156b56417e6fa5",
|
||||
"url": "https://github.com/username/reponame",
|
||||
"Client ID": "12345",
|
||||
"Client secrets": "12345",
|
||||
"webhook_secret": "000000",
|
||||
"type": {
|
||||
"public": true,
|
||||
"private": false,
|
||||
"备注": "仓库类型2选1,同时双开默认public"
|
||||
}
|
||||
},
|
||||
"webhook_secret": "4V8gi9h^&^47",
|
||||
"图像/附件支持": {
|
||||
"附件支持": true,
|
||||
"最大图片数量": 3,
|
||||
@@ -33,8 +33,8 @@
|
||||
]
|
||||
},
|
||||
"api": {
|
||||
"baseurl": "https://img.ypshidifu.cn/",
|
||||
"key": "95895d65c850dd85b02180e2daabcd43",
|
||||
"baseurl": "https://example.com/",
|
||||
"key": "example",
|
||||
"说明": [
|
||||
"1. key和API地址都要填",
|
||||
"2. 如果附件支持为true但api没配置自动退回false",
|
||||
|
||||
Reference in New Issue
Block a user