KPI绩效考核系统
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.

18 lines
387 B

package mytest
import (
mytest "key_performance_indicators/api/myTest"
"github.com/gin-gonic/gin"
)
func (t *TestApi) RouterGroup(route *gin.RouterGroup) {
apiRouter := route.Group("/myTest")
var methodBinding = mytest.AppApiEntry.Test
{
apiRouter.POST("/myTest", methodBinding.MyTest)
apiRouter.GET("/", methodBinding.Index)
apiRouter.POST("/", methodBinding.Index)
}
}