+ 添加数据资源操作相关的API

This commit is contained in:
gazebo
2019-09-17 16:02:44 +08:00
parent bf8fd2f255
commit f4b6516b4d
9 changed files with 147 additions and 19 deletions

View File

@@ -385,6 +385,15 @@ func init() {
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:CmsController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:CmsController"],
beego.ControllerComments{
Method: "RegisterDataResource",
Router: `/RegisterDataResource`,
AllowHTTPMethods: []string{"post"},
MethodParams: param.Make(),
Filters: nil,
Params: nil})
beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:CmsController"] = append(beego.GlobalControllerRouter["git.rosy.net.cn/jx-callback/controllers:CmsController"],
beego.ControllerComments{
Method: "SendMsg2Somebody",