feat: 支持馆主个人信息编辑

This commit is contained in:
richarjiang
2026-10-25 15:21:27 +08:00
parent 819367178a
commit 4ca32c22f9
19 changed files with 556 additions and 390 deletions

View File

@@ -75,6 +75,8 @@ export type {
} from './membership-renewal'
// Types
export * from './owner-profile'
export type {
TeachingAnalytics,
TeachingAnalyticsRecord,

View File

@@ -0,0 +1,14 @@
// Null database fields use these initial values. Empty content is intentional.
export const DEFAULT_OWNER_INTRODUCTION = '我是 Iris,一名注重体态、控制与身体感受的普拉提教练。\n\n我希望带你在稳定、安心的节奏里,找回核心力量、挺拔线条和更轻松的身体状态。'
export const DEFAULT_OWNER_CERTIFICATIONS = [
'斯多特塑身机初&中级认证教练',
'斯多特全场馆认证教练',
'曼丽丘斯多特塑身机弹跳网芭杆工作坊',
'塑身机上的高尔夫与旋转运动调理工作坊',
'四维人体运动解剖认证',
]
export const OWNER_INTRODUCTION_MAX_LENGTH = 5000
export const OWNER_CERTIFICATIONS_MAX_COUNT = 30
export const OWNER_CERTIFICATION_MAX_LENGTH = 200

View File

@@ -9,6 +9,8 @@ export interface StudioConfig {
readonly longitude: number | null
readonly cancelHoursLimit: number
readonly photos: string[]
readonly ownerIntroduction: string
readonly ownerCertifications: string[]
readonly updatedAt: string
}
@@ -24,6 +26,8 @@ export interface UpdateStudioConfigDto {
readonly longitude?: number
readonly cancelHoursLimit?: number
readonly photos?: string[]
readonly ownerIntroduction?: string
readonly ownerCertifications?: string[]
}
export interface CreateStudioUploadCredentialDto {