🎨 swagger update
This commit is contained in:
@@ -52,7 +52,7 @@ type GiteeUser struct {
|
||||
// GetGiteeRedirectUrl 获取Gitee登录地址
|
||||
// @Summary 获取Gitee登录地址
|
||||
// @Description 获取Gitee登录地址
|
||||
// @Tags OAuth
|
||||
// @Tags Gitee OAuth
|
||||
// @Produce json
|
||||
// @Success 200 {string} string "登录地址"
|
||||
// @Router /api/oauth/gitee/get_url [get]
|
||||
@@ -131,7 +131,7 @@ func GetGiteeUserInfo(token *Token) (map[string]interface{}, error) {
|
||||
// GiteeCallback 处理Gitee回调
|
||||
// @Summary 处理Gitee回调
|
||||
// @Description 处理Gitee回调
|
||||
// @Tags OAuth
|
||||
// @Tags Gitee OAuth
|
||||
// @Produce json
|
||||
// @Router /api/oauth/gitee/callback [get]
|
||||
func (OAuthAPI) GiteeCallback(c *gin.Context) {
|
||||
|
Reference in New Issue
Block a user