mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
fix:站点信息维护增加属性
This commit is contained in:
@@ -316,6 +316,10 @@ export interface Site {
|
|||||||
rss?: string
|
rss?: string
|
||||||
// Cookie
|
// Cookie
|
||||||
cookie?: string
|
cookie?: string
|
||||||
|
// ApiKey
|
||||||
|
apikey?: string
|
||||||
|
// Token
|
||||||
|
token?: string
|
||||||
// User-Agent
|
// User-Agent
|
||||||
ua?: string
|
ua?: string
|
||||||
// 是否使用代理
|
// 是否使用代理
|
||||||
|
|||||||
@@ -161,6 +161,16 @@ async function updateSiteInfo() {
|
|||||||
hint="浏览器打开站点首页,打开开发人员工具,刷新页面后在网络选项中找到首页地址,在请求头中获取Cookie信息"
|
hint="浏览器打开站点首页,打开开发人员工具,刷新页面后在网络选项中找到首页地址,在请求头中获取Cookie信息"
|
||||||
/>
|
/>
|
||||||
</VCol>
|
</VCol>
|
||||||
|
<VCol cols="6">
|
||||||
|
<VTextField
|
||||||
|
v-model="siteForm.token"
|
||||||
|
label="请求头(Authorization)"
|
||||||
|
hint="在开发人员工具,网络请求头中获取Authorization,仅个别站点需要"
|
||||||
|
/>
|
||||||
|
</VCol>
|
||||||
|
<VCol cols="6">
|
||||||
|
<VTextField v-model="siteForm.apikey" label="令牌(API Key)" hint="站点的访问API Key,仅个别站点需要" />
|
||||||
|
</VCol>
|
||||||
<VCol cols="12">
|
<VCol cols="12">
|
||||||
<VTextField
|
<VTextField
|
||||||
v-model="siteForm.ua"
|
v-model="siteForm.ua"
|
||||||
|
|||||||
Reference in New Issue
Block a user