Commit 85ea033c authored by hujiebin's avatar hujiebin

Update group_in.go

parent 4d46ac6d
......@@ -60,5 +60,5 @@ func FetchEventGroupIn(model *domain.Model, limit int) ([]*EventGroupIn, *EventG
// 标记已完成
func (p *EventGroupIn) MarkDone() error {
p.MarkHiloGroup = mysql.YES
return p.Db.WithContext(p.Model).Model(EventGroupIn{}).Where("id = ?", p.ID).Update("mark", p.MarkHiloGroup).Limit(1).Error
return p.Db.WithContext(p.Model).Model(EventGroupIn{}).Where("id = ?", p.ID).Update("mark_hilo_group", p.MarkHiloGroup).Limit(1).Error
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment