You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
624 B

/**
*
* API
*/
import { request } from '@/utils/network/api';
/**
* API
*/
interface ApiResponse<T = any> {
code: number;
message: string;
data: T;
}
/**
* tenant
*/
class GameService {
/**
*
*/
getHomePageData(data?: Record<string, any>): Promise<ApiResponse> {
return request.post('/v2', data, {
headers: {
cmdId: 381119,
paramType: 1,
apiName: 'getHomePageData',
},
});
}
}
// 导出单例
export const gameService = new GameService();
export default gameService;