chinakr / seocms

Search engine optimized CMS
74 stars 18 forks source link

当前 git 版本无法编辑,提示见内文 #4

Closed jicknan closed 11 years ago

jicknan commented 11 years ago

git 版本 ba3b5736648a241b4e2385ac52450a9f216a9bf5

提示信息:

_/Users/jick/code/go/src/github.com/chinakr/seocms/controllers

controllers/admin.go:46: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:47: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:102: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:150: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:184: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:199: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:226: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:227: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:286: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:441: this.Controller.Ctx.Params undefined (type context.Context has no field or method Params) controllers/admin.go:441: too many errors

chinakr commented 11 years ago

这是最新版本的beego的API发生了一些变化造成的。

老版本文档:http://godoc.org/github.com/funkygao/beego 新版本文档:http://beego.me/docs/Overview_Introduction

已修正。thx!

9999jim commented 10 years ago

this.Controller.Ctx.Params 改为this.Controller.Ctx.Param