修改请求post改get
This commit is contained in:
parent
5cc9135d0e
commit
315ca73851
|
|
@ -56,8 +56,8 @@ func SetUpToolGroup(router *gin.Engine) {
|
||||||
//服务器、设备状态接口
|
//服务器、设备状态接口
|
||||||
toolGroup.POST("/monitor", SetDeviceStatusV2)
|
toolGroup.POST("/monitor", SetDeviceStatusV2)
|
||||||
toolGroup.POST("/qq_callback", handleQQCallback)
|
toolGroup.POST("/qq_callback", handleQQCallback)
|
||||||
toolGroup.POST("/qq_auth", GetQQAuthUrl)
|
toolGroup.GET("/qq_auth", GetQQAuthUrl)
|
||||||
toolGroup.POST("/github_auth", ToGithubAuthPage)
|
toolGroup.GET("/github_auth", ToGithubAuthPage)
|
||||||
toolGroup.POST("/github_callback", handleGithubCallback)
|
toolGroup.POST("/github_callback", handleGithubCallback)
|
||||||
//发送邮件
|
//发送邮件
|
||||||
toolGroup.POST("/send_mail", SendMailTool)
|
toolGroup.POST("/send_mail", SendMailTool)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue