Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap 3 years ago
parent
commit
49fcd64cc0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      routers/private/internal.go

+ 2
- 2
routers/private/internal.go View File

@@ -45,7 +45,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Post("/tool/update_all_repo_commit_cnt", UpdateAllRepoCommitCnt)
m.Post("/tool/repo_stat", RepoStatisticManually)
m.Post("/tool/create_model", CreateModel)
m.Post("/tool/delete_model", DeleteModel)
m.Post("/tool/show_model", ShowModel)
m.Delete("/tool/delete_model", DeleteModel)
m.Get("/tool/show_model", ShowModel)
}, CheckInternalToken)
}

Loading…
Cancel
Save