dddd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
618 B

4 years ago
package examrouter
import (
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
"github.com/gin-gonic/gin"
)
//试题相关
type QuestionsRouter struct{}
func (e *QuestionsRouter) InitGroupRouter(Router *gin.RouterGroup) {
groupCodeRouterQues := Router.Group("quest")
var authorityApiQues = v1.ApiGroupApp.ExamQuestions.TestQuestions
{
groupCodeRouterQues.POST("", authorityApiQues.Index) //试题
groupCodeRouterQues.POST("/", authorityApiQues.Index) //试题
groupCodeRouterQues.GET("", authorityApiQues.Index) //试题
groupCodeRouterQues.GET("/", authorityApiQues.Index) //试题
}
}