refactor: 1.修正api auth 2.帖子话题业务
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package plant
|
||||
|
||||
import (
|
||||
"sundynix-go/global"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Topic struct {
|
||||
global.BaseModel
|
||||
Title string `json:"title"`
|
||||
StartTime time.Time `json:"start_time" gorm:"column:start_time;"`
|
||||
EndTime time.Time `json:"end_time" gorm:"column:end_time;"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
Reference in New Issue
Block a user