File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ func (pc PostController) CreatePost(c *gin.Context) {
142142 IsPasswd : req .IsPasswd ,
143143 ColumnID : req .ColumnID ,
144144 PassWord : req .Password ,
145+ Status : req .Status ,
145146 Time : req .Time ,
146147 UnitPrice : uint (util .MoneyUtil .YuanToCents (req .UnitPrice )),
147148 People : req .People ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ type CreatePostRequest struct {
2323 IsTop uint `form:"isTop" json:"isTop"`
2424 IsPasswd uint `form:"isPasswd" json:"isPasswd"`
2525 Password string `form:"password" json:"password"`
26+ Status uint `form:"status" json:"status"`
2627 Location string `form:"location" json:"location"`
2728 People string `form:"people" json:"people"`
2829 Time string `form:"time" json:"time"`
You can’t perform that action at this time.
0 commit comments