package
Version:
v0.0.0-...-9d2f815
Opens a new window with list of versions in this module.
Published: Nov 10, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateNodeReq struct {
Name string `v:"required#请输入节点名称" form:"title"`
Alias string `v:"required#请输入节点别名" form:"alias"`
Sort uint8 `v:"required|integer#请填写排序|排序格式错误" form:"sort"`
State uint8 `v:"required|in:0,1#请选择节点状态" form:"state"`
Desc string `v:"required#请输入节点简介" form:"desc"`
}
type EditNodeReq struct {
Name string `v:"required#请输入节点名称" form:"title"`
Alias string `v:"required#请输入节点别名" form:"alias"`
Sort uint8 `v:"required|integer#请填写排序|排序格式错误" form:"sort"`
State uint8 `v:"required|in:0,1#请选择节点状态" form:"state"`
Desc string `v:"required#请输入节点简介" form:"desc"`
}
type GetNodeListReq struct {
Keywords string `form:"keywords"`
}
type GetNoticeListReq struct {
Page int `form:"page"`
Keywords string `form:"keywords"`
}
type GetTopicListReq struct {
Page int `form:"page"`
Keywords string `form:"keywords"`
UserID string `form:"user_id"`
}
type GetUserListReq struct {
Page int `form:"page"`
Keywords string `form:"keywords"`
}
type PublishNoticeReq struct {
Title string `v:"required#请输入消息标题" form:"title"`
TargetId string `form:"target_id"`
Content string `v:"required#请输入消息内容" form:"content"`
MDContent string `v:"required#请输入消息内容" form:"md_content"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.