This commit is contained in:
2025-01-08 09:59:37 +08:00
parent bb0ca75b42
commit 026e45e9c1
76 changed files with 10046 additions and 3620 deletions
+10
View File
@@ -104,3 +104,13 @@ export async function getThinkVip(id: number) {
}
return Promise.reject(new Error(res.data.message));
}
export async function thinkVipTotal(params?: ThinkVipParam) {
const res = await request.get<ApiResult<ThinkVip[]>>(
THINK_API_URL + '/think/think-vip/total', {params}
);
if (res.data.code === 0 && res.data.data) {
return res.data.data;
}
return Promise.reject(new Error(res.data.message));
}
+3 -2
View File
@@ -1,4 +1,3 @@
import type { PageParam } from '@/api';
/**
*
@@ -53,7 +52,9 @@ export interface ThinkVip {
/**
* 搜索条件
*/
export interface ThinkVipParam extends PageParam {
export interface ThinkVipParam{
id?: number;
createTimeStart?: number;
createTimeEnd?: number;
keywords?: string;
}