|
|
@@ -66,10 +66,10 @@ 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("/getSTSVoucher", comm.GetSTSVoucher) // 获取 STS 凭证 |
|
|
|
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.Use(mw.Auth) // 以下接口需要JWT验证 |
|
|
|
rComm(r.Group("/comm")) |
|
|
@@ -362,4 +362,5 @@ func rFriendCircleSettings(r *gin.RouterGroup) { |
|
|
|
func rComm(r *gin.RouterGroup) { |
|
|
|
r.POST("/getMenuList", comm.MenuList) // 获取菜单栏列表 |
|
|
|
r.POST("/getOssUrl", comm.GetOssUrl) // 获取阿里云上传PutObject所需的签名URL |
|
|
|
r.GET("/getSTSVoucher", comm.GetSTSVoucher) |
|
|
|
} |