14 lines
336 B
Go
14 lines
336 B
Go
package handler
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"interview-one-stop-server/biz/question"
|
|
"interview-one-stop-server/util/gin_util"
|
|
)
|
|
|
|
// HandleQueryQuestionList 获取题目列表
|
|
func HandleQueryQuestionList(c *gin.Context) {
|
|
l, e := question.GetQuestionList(gin_util.GetContextFromGin(c))
|
|
gin_util.GenGinResponse(c, e, l)
|
|
}
|