This commit is contained in:
Liang Ding 2022-06-13 21:06:48 +08:00
parent 39d0a9b08f
commit 851483c5d2
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 52 additions and 11 deletions

View file

@ -247,6 +247,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/bazaar/getBazaarPackageREAME", model.CheckAuth, getBazaarPackageREAME)
ginServer.Handle("POST", "/api/repo/initRepoKey", model.CheckAuth, initRepoKey)
ginServer.Handle("POST", "/api/repo/importRepoKey", model.CheckAuth, importRepoKey)
ginServer.Handle("POST", "/api/repo/indexRepo", model.CheckAuth, indexRepo)
ginServer.Handle("POST", "/api/notification/pushMsg", model.CheckAuth, pushMsg)