github.com/qiuhoude/go-web@v0.0.0-20220223060959-ab545e78f20d/blogweb_gin/controllers/aboutme_controller.go (about)

     1  package controllers
     2  
     3  import (
     4  	"github.com/gin-gonic/gin"
     5  	"net/http"
     6  )
     7  
     8  func AboutMeGet(c *gin.Context) {
     9  
    10  	//获取session
    11  	islogin := GetSession(c)
    12  
    13  	c.HTML(http.StatusOK, "aboultme.html", gin.H{"IsLogin": islogin, "wechat": "微信:wechat", "qq": "QQ:123456", "tel": "Tel:110"})
    14  }