修改请求post改get

This commit is contained in:
junleea 2025-04-26 11:14:30 +08:00
parent 5cc9135d0e
commit 315ca73851
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ func SetUpToolGroup(router *gin.Engine) {
//服务器、设备状态接口
toolGroup.POST("/monitor", SetDeviceStatusV2)
toolGroup.POST("/qq_callback", handleQQCallback)
toolGroup.POST("/qq_auth", GetQQAuthUrl)
toolGroup.POST("/github_auth", ToGithubAuthPage)
toolGroup.GET("/qq_auth", GetQQAuthUrl)
toolGroup.GET("/github_auth", ToGithubAuthPage)
toolGroup.POST("/github_callback", handleGithubCallback)
//发送邮件
toolGroup.POST("/send_mail", SendMailTool)