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.
go-fly/tmpl/login.go

21 lines
311 B

package tmpl
import (
"github.com/gin-gonic/gin"
"net/http"
)
4 years ago
//登陆界面
4 years ago
func PageLogin(c *gin.Context) {
c.HTML(http.StatusOK, "login.html", nil)
}
4 years ago
//咨询界面
4 years ago
func PageChat(c *gin.Context) {
kefuId := c.Query("kefu_id")
c.HTML(http.StatusOK, "chat_page.html", gin.H{
"KEFU_ID":kefuId,
})
}