♻️ 请求模块重构

This commit is contained in:
目棃
2024-11-19 09:34:18 +08:00
parent 9b1fa22cbe
commit c6f45f0a35
49 changed files with 660 additions and 1120 deletions

View File

@@ -9,7 +9,7 @@ import { defineStore } from "pinia";
import { reactive, ref } from "vue";
import { getInitDeviceInfo } from "../../utils/toolFunc.js";
import { type AnnoLang, AnnoServer } from "../../web/request/getAnno.js";
import { type AnnoLang, AnnoServer } from "../../web/request/hk4eReq.js";
// 用于存储用户数据的路径
const userDataDir = `${await path.appLocalDataDir()}${path.sep()}userData`;