feat(ppt-templates): 添加PPT模板库页面

This commit is contained in:
2025-01-20 00:58:23 +08:00
parent 70d23ba7a2
commit a8c689d325
5 changed files with 173 additions and 3 deletions

33
typings/types.d.ts vendored
View File

@@ -32,6 +32,7 @@ interface UserSchema {
email: string
mobile: string
auth_code: 0 | 1 | 2 // 0: Banned, 1: User, 2: Operator
company?: string
}
interface DigitalHumanItem {
@@ -76,6 +77,22 @@ interface TitlesTemplate {
description: string
}
interface PPTCategory {
id: number
type: string
create_time: number
}
interface PPTTemplate {
id: number
create_time: number
file_url: string
preview_url: string
title: string
description: string
type: string
}
// Common request and response schemas
namespace req {
namespace user {
@@ -103,6 +120,22 @@ namespace req {
perpage?: number
is_verify: boolean
}
interface ChangePassword {
username: string
old_password: string
new_password: string
}
interface SmsChangePasswordVerify {
mobile: string
}
interface SmsChangePassword {
mobile: string
sms_code: string
new_password: string
}
}
namespace file {