A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update question log
aichy1268112966356df
diff --git a/internal/controller/question_controller.go b/internal/controller/question_controller.goindex bca22612..a49ee277 100644--- a/internal/controller/question_controller.go+++ b/internal/controller/question_controller.go@@ -15,7 +15,6 @@ import ("github.com/answerdev/answer/pkg/converter""github.com/gin-gonic/gin""github.com/segmentfault/pacman/errors"- "github.com/segmentfault/pacman/log")// QuestionController question controller@@ -334,19 +333,6 @@ func (qc *QuestionController) UpdateQuestion(ctx *gin.Context) {return}- // TODO: pass errFields and return errors- log.Info(errFields)-- // errMsg := fmt.Sprintf(`The reserved tag "%s" must be present.`,- // strings.Join(CheckOldTaglist, ","))- // errorlist := make([]*validator.FormErrorField, 0)- // errorlist = append(errorlist, &validator.FormErrorField{- // ErrorField: "tags",- // ErrorMsg: errMsg,- // })- // err = errors.BadRequest(reason.RequestFormatError).WithMsg(errMsg)- // return errorlist, err-errlist, err := qc.questionService.UpdateQuestionCheckTags(ctx, req)if err != nil {for _, item := range errlist {