|
|
@@ -1061,7 +1061,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Group("/:jobid", func() { |
|
|
|
m.Get("", reqRepoCloudBrainReader, repo.NotebookShow) |
|
|
|
m.Get("/debug", cloudbrain.AdminOrJobCreaterRight, repo.NotebookDebug2) |
|
|
|
m.Post("/:action", reqWechatBindForApi, reqRepoCloudBrainWriter, repo.NotebookManage) |
|
|
|
m.Post("/:action", reqRepoCloudBrainWriter, repo.NotebookManage) |
|
|
|
m.Post("/del", cloudbrain.AdminOrOwnerOrJobCreaterRight, repo.NotebookDel) |
|
|
|
}) |
|
|
|
m.Get("/create", reqWechatBind, reqRepoCloudBrainWriter, repo.NotebookNew) |
|
|
|