码农笔录博客源码
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.

17 lines
426 B

преди 6 години
package controllers
преди 4 години
import beego "github.com/beego/beego/v2/server/web"
преди 6 години
type MapController struct {
beego.Controller
}
func (this *MapController) Get() {
преди 6 години
this.Data["UserId"] = this.GetSession("userid")
this.Data["HeadImg"] = this.GetSession("headimg")
this.Data["NickName"] = this.GetSession("nickname")
this.Data["IsLogin"] = this.GetSession("nickname") != nil
преди 6 години
this.Data["IsMap"] = true
this.TplName = "map.html"
}