- first runnable ver.

This commit is contained in:
gazebo
2018-05-31 11:08:57 +08:00
parent e59373b033
commit 8d1c22229b
7 changed files with 23 additions and 17 deletions

View File

@@ -1,9 +1,10 @@
package controllers
import (
"jx-callback/models"
"encoding/json"
"git.rosy.net.cn/jx-callback/models"
"github.com/astaxie/beego"
)
@@ -89,4 +90,3 @@ func (o *ObjectController) Delete() {
o.Data["json"] = "delete success!"
o.ServeJSON()
}

View File

@@ -1,9 +1,10 @@
package controllers
import (
"jx-callback/models"
"encoding/json"
"git.rosy.net.cn/jx-callback/models"
"github.com/astaxie/beego"
)
@@ -116,4 +117,3 @@ func (u *UserController) Logout() {
u.Data["json"] = "logout success"
u.ServeJSON()
}