♻️ refactor: Remove application management forms and related configurations

This commit is contained in:
web
2025-08-18 02:55:37 -07:00
parent a7936de6dc
commit 0c43844a6f
20 changed files with 26 additions and 1090 deletions
+1 -9
View File
@@ -1,5 +1,5 @@
// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';
/** Get Ads GET /v1/common/ads */
@@ -17,14 +17,6 @@ export async function getAds(
});
}
/** Get Tos Content GET /v1/common/application */
export async function getApplication(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.GetAppcationResponse }>('/v1/common/application', {
method: 'GET',
...(options || {}),
});
}
/** Check verification code POST /v1/common/check_verification_code */
export async function checkVerificationCode(
body: API.CheckVerificationCodeRequest,
+1 -1
View File
@@ -1,5 +1,5 @@
// @ts-ignore
// API 更新时间:
// API 唯一标识:
import * as auth from './auth';
-14
View File
@@ -47,15 +47,6 @@ declare namespace API {
subscribe_type: string;
};
type ApplicationConfig = {
app_id: number;
encryption_key: string;
encryption_method: string;
domains: string[];
startup_picture: string;
startup_picture_skip_time: number;
};
type ApplicationPlatform = {
ios?: ApplicationVersion[];
macos?: ApplicationVersion[];
@@ -265,11 +256,6 @@ declare namespace API {
list: Ads[];
};
type GetAppcationResponse = {
config: ApplicationConfig;
applications: ApplicationResponseInfo[];
};
type GetAvailablePaymentMethodsResponse = {
list: PaymentMethod[];
};