12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- package router
- import (
- "github.com/gin-gonic/gin"
- )
- func pageRouterRegister(router *gin.Engine) {
- pageRouterGroup := router.Group("/page")
- //pageRouterGroup.Use(middleware.JwtAuth())
- {
- pageRouterGroup.GET("/login", login)
- pageRouterGroup.GET("/chooseProductPage", chooseProductPage)
- pageRouterGroup.GET("/createUser", createUser)
- pageRouterGroup.GET("/userRecharge", userRechargePage)
- pageRouterGroup.GET("/projectDetailsPage", projectDetailsPage)
- pageRouterGroup.GET("/projectListPage", projectListPage)
- pageRouterGroup.GET("/projectListDetail", projectListDetailPage)
- pageRouterGroup.GET("/interfaceListPage", interfaceListPage)
- pageRouterGroup.GET("/moneyRechargePage", moneyRechargePage)
- pageRouterGroup.GET("/callLogPage", callLogPage)
- pageRouterGroup.GET("/projectDetailSearchPage", projectDetailSearchPage)
- }
- }
- func login(context *gin.Context) {
- context.HTML(200, "login.html", nil)
- }
- func chooseProductPage(context *gin.Context) {
- context.HTML(200, "chooseProduct.html", nil)
- }
- func createUser(context *gin.Context) {
- context.HTML(200, "create_user.html", nil)
- }
- func userRechargePage(context *gin.Context) {
- context.HTML(200, "userRecharge.html", nil)
- }
- func projectDetailsPage(context *gin.Context) {
- context.HTML(200, "projectDetails.html", nil)
- }
- func projectListPage(context *gin.Context) {
- context.HTML(200, "projectList.html", nil)
- }
- func projectListDetailPage(context *gin.Context) {
- context.HTML(200, "projectListDetail.html", nil)
- }
- func interfaceListPage(context *gin.Context) {
- context.HTML(200, "interfaceList.html", nil)
- }
- func moneyRechargePage(context *gin.Context) {
- context.HTML(200, "moneyRecharge.html", nil)
- }
- func callLogPage(context *gin.Context) {
- context.HTML(200, "callLog.html", nil)
- }
- func projectDetailSearchPage(context *gin.Context) {
- context.HTML(200, "projectDetailSearch.html", nil)
- }
|