-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
我在用beego 1.7.2,执行构建时,会有一些地方不兼容了,需要改一下。
如
- this.TplNames = this.moduleName + "/account/login.html"
+ this.TplName = this.moduleName + "/account/login.html"
// ...
- tagobj.Query().Filter("name__in", oldtags).Update(orm.Params{"count": orm.ColValue(orm.Col_Minus, 1)})
+ tagobj.Query().Filter("name__in", oldtags).Update(orm.Params{"count": orm.ColValue(orm.ColMinus, 1)})
// ...
- this.ServeJson()
+ this.ServeJSON()
// ...
- if _, err := os.Stat(beego.ViewsPath + "/" + theme + "/layout.html"); err == nil {
+ if _, err := os.Stat(beego.BConfig.WebConfig.ViewsPath + "/" + theme + "/layout.html"); err == nil {
// ...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels