升级ts代码。

This commit is contained in:
2025-09-03 15:29:46 +08:00
parent 46d0ff64ef
commit 711697e6a1
17 changed files with 470 additions and 603 deletions

View File

@@ -7,9 +7,9 @@
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { service as instance } from "./api/request.js";
import { API_URL } from "./api/config.js";
import { type RankingListItem } from "../types/cpicxim/RankingListItem.js";
import { service as instance } from "./api/request.ts";
import { API_URL } from "./api/config.ts";
import { type RankingListItem } from "../types/cpicxim/RankingListItem.ts";
/**
* 用于请求排行榜数据请求参数
@@ -33,7 +33,7 @@ interface RankingListResponse
}
// 判断用的正则表达式
const regexMonth = "(0[1-9])|(1[0-2])";
const regexMonth = "(0[1-9])|(1[0-2])"; // eslint-disable-line
/**
* 请求坐席排行榜。