master
huanghai 5 years ago
parent bfbedb1427
commit a900339e6d

@ -724,6 +724,11 @@ func bindWxUser(context *gin.Context) {
}) })
return return
} }
//输出正确了~
context.JSON(http.StatusOK, Model.Res{
Code: http.StatusOK,
Msg: "绑定成功!",
})
} }
} else { } else {
context.JSON(http.StatusOK, Model.Res{ context.JSON(http.StatusOK, Model.Res{

@ -35,7 +35,7 @@
async: false, async: false,
success: function (result) { success: function (result) {
if(result.success){ if(result.success){
window.location.href="/dsBaseWeb/#/organization/bureau"; window.location.href="/";
}else{ }else{
var openId=result.openId; var openId=result.openId;
window.location.href="/sso/static/bindUser.html?openId="+openId; window.location.href="/sso/static/bindUser.html?openId="+openId;

Loading…
Cancel
Save