add article
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package commands
|
||||
|
||||
import "time"
|
||||
|
||||
// SchedulePublishCommand 定时发布文章命令
|
||||
type SchedulePublishCommand struct {
|
||||
ID string `json:"-" uri:"id" binding:"required" comment:"文章ID"`
|
||||
ScheduledTime time.Time `json:"scheduled_time" binding:"required" comment:"定时发布时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user