处理列表
This commit is contained in:
@@ -46,6 +46,20 @@ export const getGamesIntegrateList = async (params?: Record<string, any>) => {
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取列表数量
|
||||
* @param params
|
||||
* @returns
|
||||
*/
|
||||
export const getGamesCount = async (params?: Record<string, any>) => {
|
||||
try {
|
||||
return httpService.post('/games/count', params, { showLoading: true })
|
||||
} catch (error) {
|
||||
console.error("列表数量获取失败:", error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取搜索历史记录的异步函数
|
||||
* @param {Object} params - 查询参数对象
|
||||
|
||||
Reference in New Issue
Block a user