码农笔录博客源码
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
308 B

package controllers
import "github.com/astaxie/beego"
type MapController struct {
beego.Controller
}
func (this *MapController) Get() {
this.Data["NickName"] = this.GetSession("nickname")
this.Data["IsLogin"] = this.GetSession("nickname") != nil
this.Data["IsMap"] = true
this.TplName = "map.html"
}