♻️ refactor: Remove application management forms and related configurations
This commit is contained in:
@@ -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,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as auth from './auth';
|
||||
|
||||
-14
@@ -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[];
|
||||
};
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// @ts-ignore
|
||||
|
||||
|
||||
// API 更新时间:
|
||||
// API 唯一标识:
|
||||
import * as announcement from './announcement';
|
||||
|
||||
@@ -2,17 +2,6 @@
|
||||
/* eslint-disable */
|
||||
import request from '@/utils/request';
|
||||
|
||||
/** Get application config GET /v1/public/subscribe/application/config */
|
||||
export async function queryApplicationConfig(options?: { [key: string]: any }) {
|
||||
return request<API.Response & { data?: API.ApplicationResponse }>(
|
||||
'/v1/public/subscribe/application/config',
|
||||
{
|
||||
method: 'GET',
|
||||
...(options || {}),
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/** Get subscribe group list GET /v1/public/subscribe/group/list */
|
||||
export async function querySubscribeGroupList(options?: { [key: string]: any }) {
|
||||
return request<API.Response & { data?: API.QuerySubscribeGroupListResponse }>(
|
||||
|
||||
Vendored
-9
@@ -41,15 +41,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[];
|
||||
|
||||
Reference in New Issue
Block a user