25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
426 B
16 lines
426 B
package controllers
|
|
|
|
import beego "github.com/beego/beego/v2/server/web"
|
|
|
|
type MapController struct {
|
|
beego.Controller
|
|
}
|
|
|
|
func (this *MapController) Get() {
|
|
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
|
|
this.Data["IsMap"] = true
|
|
this.TplName = "map.html"
|
|
}
|
|
|