添加头像

This commit is contained in:
haomingming
2025-12-11 15:34:42 +08:00
parent 4f8a2bb90c
commit cdd133eb71
5 changed files with 105 additions and 19 deletions
+6 -4
View File
@@ -34,8 +34,9 @@ type PutVideo struct {
// PutVideoAuthor 修改视频详情-作者
type PutVideoAuthor struct {
AuthorName string `json:"author_name" form:"author_name" label:"作者姓名" validate:"required"`
HospitalId string `json:"hospital_id" form:"hospital_id" label:"作者所属医院id" validate:"required"`
AuthorName string `json:"author_name" form:"author_name" label:"作者姓名" validate:"required"`
AuthorAvatar string `json:"author_avatar" form:"author_avatar" label:"作者头像"`
HospitalId string `json:"hospital_id" form:"hospital_id" label:"作者所属医院id" validate:"required"`
}
// AddVideo 新增视频详情
@@ -50,8 +51,9 @@ type AddVideo struct {
// AddVideoAuthor 新增视频详情-作者
type AddVideoAuthor struct {
AuthorName string `json:"author_name" form:"author_name" label:"作者姓名" validate:"required"`
HospitalId string `json:"hospital_id" form:"hospital_id" label:"作者所属医院id" validate:"required"`
AuthorName string `json:"author_name" form:"author_name" label:"作者姓名" validate:"required"`
AuthorAvatar string `json:"author_avatar" form:"author_avatar" label:"作者头像"`
HospitalId string `json:"hospital_id" form:"hospital_id" label:"作者所属医院id" validate:"required"`
}
// PutVideoStatus 操作视频状态