feat(ppt-templates): 添加PPT模板库页面
This commit is contained in:
33
typings/types.d.ts
vendored
33
typings/types.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user