mirror of https://gitee.com/answerdev/answer.git
update add question postUpdateTime
This commit is contained in:
parent
b56aa16641
commit
eeb67dd21e
|
@ -270,6 +270,7 @@ func (qs *QuestionService) AddQuestion(ctx context.Context, req *schema.Question
|
|||
question.Status = entity.QuestionStatusAvailable
|
||||
question.RevisionID = "0"
|
||||
question.CreatedAt = now
|
||||
question.PostUpdateTime = now
|
||||
question.Pin = entity.QuestionUnPin
|
||||
question.Show = entity.QuestionShow
|
||||
//question.UpdatedAt = nil
|
||||
|
|
Loading…
Reference in New Issue