印度包网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1.0 KiB

package values
import "server/common"
// AddSystemNoticeReq 添加系统公告
type AddSystemNoticeReq struct {
List []common.SheetNoticeConfig
}
// GetSystemNoticeReq 获取系统公告
type GetSystemNoticeReq struct {
}
// GetSystemNoticeResp 获取系统公告
type GetSystemNoticeResp struct {
List []common.SheetNoticeConfig
}
// EditSystemNoticeReq 编辑公告
type EditSystemNoticeReq struct {
Id int64 `json:"Id" binding:"required"`
Notice common.SheetNoticeConfig
}
// DeleteSystemNoticeReq 删除公告
type DeleteSystemNoticeReq struct {
Id int64 `json:"Id" binding:"required"` // 公告id
}
// AddAddBroadcastReq 添加广播
type AddAddBroadcastReq struct {
List []common.SheetBroadcastConfig
}
// GetBroadcastReq 获取广播
type GetBroadcastReq struct {
}
// EditBroadcastReq 编辑广播
type EditBroadcastReq struct {
Id int64 `json:"Id" binding:"required"`
Broadcast common.SheetBroadcastConfig
}
// DeleteBroadcastReq 删除广播
type DeleteBroadcastReq struct {
Id int64 `json:"Id" binding:"required"` // id
}