站内支持API接口地址切换 (#3162)

* feat: 站内切换接口API

* feat: 站内切换接口API

* feat: 站内支持API接口地址切换,解决冲突,新增开关显示

(cherry picked from commit c6d60b6cfd50bf8e19233a21640ecf1d41c01cc8)
This commit is contained in:
luchanan
2023-10-23 14:37:56 +08:00
committed by GitHub
parent b776ac4cd8
commit 00bf5d5bbf
11 changed files with 130 additions and 7 deletions

1
types/config.d.ts vendored
View File

@@ -57,6 +57,7 @@ export interface HeaderSetting {
// Show message center button
showNotice: boolean;
showSearch: boolean;
showApi: boolean;
}
export interface LocaleSetting {

5
types/store.d.ts vendored
View File

@@ -10,6 +10,11 @@ export interface LockInfo {
isLock?: boolean;
}
export interface ApiAddress {
key: string;
val: string;
}
// Error-log information
export interface ErrorLogInfo {
// Type of error