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.
20 lines
476 B
20 lines
476 B
|
2 years ago
|
package matrixrouters
|
||
|
|
|
||
|
|
import (
|
||
|
|
"appPlatform/api/version1"
|
||
|
|
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
// 权限矩阵PC端
|
||
|
|
func (a *ApiRouter) RouterGroupPc(router *gin.RouterGroup) {
|
||
|
|
apiRouter := router.Group("matrix")
|
||
|
|
|
||
|
|
var methodBinding = version1.AppApiEntry.MatrixApi
|
||
|
|
{
|
||
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
||
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
||
|
|
apiRouter.POST("matrixlist", methodBinding.MatrixList) //矩阵列表
|
||
|
|
}
|
||
|
|
}
|