update
This commit is contained in:
+6
-19
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user