import { requestClient } from '#/api/request';

const prefix = 'platform-info/';
/**
 * 获取平台信息详情
 * @param data
 */
export async function getPlatformInfoDetail(data: any) {
  return requestClient.get<any>(`${prefix}detail`, { params: data });
}

/**
 * 更新平台信息
 * @param data
 */
export async function updatePlatformInfo(data: Record<string, any>) {
  return requestClient.post<any>(`${prefix}update`, data);
}
