master
huanghai 5 years ago
parent bfbedb1427
commit a900339e6d

@ -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{

@ -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;

Loading…
Cancel
Save