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
717 B
20 lines
717 B
|
3 years ago
|
package webrouter
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/flipped-aurora/gin-vue-admin/server/api/web"
|
||
|
|
"github.com/gin-gonic/gin"
|
||
|
|
)
|
||
|
|
|
||
|
|
type WebRouter struct{}
|
||
|
|
|
||
|
|
func (s *WebRouter) InitRouter(Router *gin.RouterGroup) {
|
||
|
|
CodeRouter := Router.Group("webach")
|
||
|
|
var initApiRouter = web.WebApiGroup.AchApiGroup
|
||
|
|
{
|
||
|
|
CodeRouter.POST("/", initApiRouter.Index) // 首页
|
||
|
|
CodeRouter.POST("aboutmytask", initApiRouter.AboutMyTask) // 获取定性考核项目列表
|
||
|
|
CodeRouter.POST("taskparametertitlelist", initApiRouter.TaskParameterTitleList) // 获取考核指标细则
|
||
|
|
CodeRouter.POST("mycontent", initApiRouter.MyContent) // 获取个人信息
|
||
|
|
}
|
||
|
|
}
|