add facebook page api
This commit is contained in:
1 parent
cd877b21e3
commit
8504a8c708
9 files changed
+271
-6
No files matched your search
@@ -53,6 +53,12 @@ func (c *Context) DataFormat(msg interface{}) {
|
||||
c.AbortWithStatusJSON(obj.Status, obj.Obj)
|
||||
}
|
||||
|
||||
// Forbidden -
|
||||
func (c *Context) Forbidden(msg interface{}) {
|
||||
obj := apimsg.GetRes("Forbidden", msg)
|
||||
c.AbortWithStatusJSON(obj.Status, obj.Obj)
|
||||
}
|
||||
|
||||
// Success -
|
||||
func (c *Context) Success(msg interface{}) {
|
||||
obj := apimsg.GetRes("Success", msg)
|
||||
|
||||
Reference in new issue
Block a user