table: github.com/astaxie/beego/orm.Ormer
not found, make sure it was registered with RegisterModel()
Request Method: GET
Request URL: /yx
RemoteAddr: 192.168.33.15
Stack
/myapps/go/src/runtime/asm_amd64.s:509
/myapps/go/src/runtime/panic.go:491
/home/wilson/go/src/github.com/astaxie/beego/orm/orm.go:113
/home/wilson/go/src/github.com/astaxie/beego/orm/orm.go:235
/home/wilson/go/src/shanghaiyan/controllers/default.go:29
/myapps/go/src/runtime/asm_amd64.s:509
/myapps/go/src/reflect/value.go:434
/myapps/go/src/reflect/value.go:302
/home/wilson/go/src/github.com/astaxie/beego/router.go:847
/myapps/go/src/net/http/server.go:2619
/myapps/go/src/net/http/server.go:1801
/myapps/go/src/runtime/asm_amd64.s:2337
beego 1.10.1 (beego framework)
golang version: go1.9.2
这是因为orm的接口传递参数的时候出错了,比如仔细检查orm.update(&u),中的u是否传递错误,检查orm.read(&u),中的u是否传递错误