From d9446fa4ddf908684c89f73b31696baf594d6ea4 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 3 Dec 2024 19:02:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=87=E7=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/router/router.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/router/router.go b/app/router/router.go index 93b415d..748b0c3 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -65,9 +65,9 @@ func route(r *gin.RouterGroup) { r.POST("/login", hdl.Login) { //打包机调用,不需要校验 - r.GET("/cloudBundle/base", cloud_bundle.Base) //打包基本信息 - r.GET("/cloudBundle/update/state", cloud_bundle.UpdateState) //打包更新状态 - r.GET("/cloudBundle/upload", cloud_bundle.Upload) //打包 上传apk + r.GET("/cloudBundle/base", cloud_bundle.Base) //打包基本信息 + r.POST("/cloudBundle/update/state", cloud_bundle.UpdateState) //打包更新状态 + r.POST("/cloudBundle/upload", cloud_bundle.Upload) //打包 上传apk } r.Use(mw.Auth) // 以下接口需要JWT验证 rComm(r.Group("/comm")) From 08b4ec5562713427f84df7a319978df14fc31b00 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 3 Dec 2024 19:04:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/router.go b/app/router/router.go index e0d33eb..e68a19f 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -69,7 +69,7 @@ func route(r *gin.RouterGroup) { r.GET("/cloudBundle/base", cloud_bundle.Base) //打包基本信息 r.POST("/cloudBundle/update/state", cloud_bundle.UpdateState) //打包更新状态 r.POST("/cloudBundle/upload", cloud_bundle.Upload) //打包 上传apk - r.GET("/getSTSVoucher", comm.GetSTSVoucher) // 获取 STS 凭证 + r.GET("/getSTSVoucher", comm.GetSTSVoucher) // 获取 STS 凭证 } r.Use(mw.Auth) // 以下接口需要JWT验证 rComm(r.Group("/comm"))