This commit is contained in:
Timi
2026-07-30 18:28:25 +08:00
parent 8b24804b22
commit f0d1090932
21 changed files with 915 additions and 268 deletions
+6 -19
View File
@@ -6,7 +6,7 @@ export enum RunEnv {
// 基本实体模型
export type Model = {
id?: number;
id?: string;
createdAt?: number;
updatedAt?: number;
@@ -39,28 +39,15 @@ export type PageResult<T> = {
// 携带验证码的请求体
export type CaptchaData<T> = {
from: string;
captchaId: string;
captcha: string;
data: T;
}
export enum CaptchaFrom {
LOGIN = "LOGIN",
REGISTER = "REGISTER",
/** 评论 */
COMMENT = "COMMENT",
/** 评论回复 */
COMMENT_REPLY = "COMMENT_REPLY",
/** Git 反馈 */
GIT_ISSUE = "GIT_ISSUE",
/** Git 合并请求 */
GIT_MERGE = "GIT_MERGE",
// 图形验证码
export type CaptchaResult = {
id: string;
data: string;
}
export enum ImageType {