- first runnable ver.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user