angularjs mobile v0.1

This commit is contained in:
life
2014-05-14 22:23:35 +08:00
parent 88ad35e9be
commit ab5e5c7b76
103 changed files with 12466 additions and 9 deletions
app
public
js
mobile
mobile2
css
index.html
js
lib
pics
topcoat
tpl

@ -13,17 +13,12 @@ type Notebook struct {
BaseController
}
// 得到笔记本
// 该用户下的
func (c Notebook) GetNotebooks() {
}
func (c Notebook) Index(notebook info.Notebook, i int, name string) revel.Result {
return c.RenderJson(notebook)
}
// 得到用户的所有笔记本
func (c Notebook) getNotebooks() revel.Result {
func (c Notebook) GetNotebooks() revel.Result {
re := notebookService.GetNotebooks(c.GetUserId())
return c.RenderJson(re)
}