feat: new setting api model

This commit is contained in:
hamster1963
2024-12-30 11:37:08 +08:00
parent 1fcabdd45b
commit f5fd018422
3 changed files with 17 additions and 10 deletions
+10 -3
View File
@@ -140,12 +140,19 @@ export interface CycleTransferData {
}
}
type SettingConfig = {
debug: boolean
language: string
site_name: string
user_template: string
admin_template: string
custom_code: string
}
export interface SettingResponse {
success: boolean
data: {
language: string
site_name: string
custom_code: string
config: SettingConfig
version: string
}
}