diff --git a/dsSso/Controller/ControllerOauth2/ControllerOauth2.go b/dsSso/Controller/ControllerOauth2/ControllerOauth2.go index 30a87a0a..b149fc1b 100644 --- a/dsSso/Controller/ControllerOauth2/ControllerOauth2.go +++ b/dsSso/Controller/ControllerOauth2/ControllerOauth2.go @@ -724,6 +724,11 @@ func bindWxUser(context *gin.Context) { }) return } + //输出正确了~ + context.JSON(http.StatusOK, Model.Res{ + Code: http.StatusOK, + Msg: "绑定成功!", + }) } } else { context.JSON(http.StatusOK, Model.Res{ diff --git a/dsSso/static/jumpWx.html b/dsSso/static/jumpWx.html index c7331c2b..9727ef5d 100644 --- a/dsSso/static/jumpWx.html +++ b/dsSso/static/jumpWx.html @@ -35,7 +35,7 @@ async: false, success: function (result) { if(result.success){ - window.location.href="/dsBaseWeb/#/organization/bureau"; + window.location.href="/"; }else{ var openId=result.openId; window.location.href="/sso/static/bindUser.html?openId="+openId;