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.
19 lines
552 B
19 lines
552 B
package examrouter
|
|
|
|
import (
|
|
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type ExamRouter struct{}
|
|
|
|
func (e *ExamRouter) InitGroupRouter(Router *gin.RouterGroup) {
|
|
groupCodeRouter := Router.Group("exam")
|
|
var authorityApi = v1.ApiGroupApp.ExamQuestions.ExaminationPage
|
|
{
|
|
groupCodeRouter.POST("", authorityApi.Index) //考试
|
|
groupCodeRouter.POST("/", authorityApi.Index) //考试
|
|
groupCodeRouter.GET("", authorityApi.Index) //考试
|
|
groupCodeRouter.GET("/", authorityApi.Index) //考试
|
|
}
|
|
}
|
|
|