// /** // * @file web request getEnkaData.ts // * @description 获取 ENKA 数据 // * @author BTMuli // * @since Alpha v0.1.3 // */ // // // Tauri // import { http } from "@tauri-apps/api"; // // Tauri.App // import TGApi from "../api/TGApi"; // // /** // * @description 获取 ENKA 数据 // * @since Alpha v0.1.3 // * @param {number} uid 用户 UID // * @returns {Promise} // */ // export async function getEnkaData (uid: number): Promise { // return await http.fetch(`${TGApi.GameEnka}${uid}`).then((res) => res.data); // }