feat(app): update
This commit is contained in:
23
pkg/dto/response/NoticeResponse.go
Normal file
23
pkg/dto/response/NoticeResponse.go
Normal file
@ -0,0 +1,23 @@
|
||||
package response
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type NoticeListResponse struct {
|
||||
ID string // ID
|
||||
Title string // 标题
|
||||
Description string // 描述
|
||||
HeadImg string // 头图
|
||||
JumpContent int32 // 状态1=跳转 2=不跳转
|
||||
CreateTime time.Time //创建时间
|
||||
}
|
||||
|
||||
type NoticeDetailResponse struct {
|
||||
Title string // 标题
|
||||
Description string // 描述
|
||||
HeadImg string // 头图
|
||||
JumpContent int32 // 状态1=跳转 2=不跳转
|
||||
Content string //富文本内容
|
||||
CreateTime time.Time //创建时间
|
||||
}
|
||||
Reference in New Issue
Block a user