1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-14 18:50:40 +00:00

modify struc

This commit is contained in:
xiemengjun
2012-03-30 23:48:36 +08:00
parent 446daaea37
commit 2121c4dd88
5 changed files with 70 additions and 89 deletions

View File

@ -0,0 +1,11 @@
package controller
import (
"github.com/astaxie/beego/beego"
"../model"
)
func UserIndex(w beego.A) {
userinfo :=model.User.getAll()
beego.V.Render(w,"users/index")
}