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.
|
|
|
|
package webrouter
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"gin_server_admin/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) // 获取个人信息
|
|
|
|
|
}
|
|
|
|
|
}
|