refactor: 1.修正api auth 2.帖子话题业务
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package request
|
||||
|
||||
type CreateTopic struct {
|
||||
Title string `json:"title"`
|
||||
StartTime string `json:"start_time"`
|
||||
EndTime string `json:"end_time"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
type UpdateTopic struct {
|
||||
Id int `json:"id" binding:"required"`
|
||||
Title string `json:"title"`
|
||||
StartTime string `json:"start_time"`
|
||||
EndTime string `json:"end_time"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
Reference in New Issue
Block a user