diff --git a/public/javascripts/wechat/controllers/reg.js b/public/javascripts/wechat/controllers/reg.js index 44c2e098b..9600e9dbf 100644 --- a/public/javascripts/wechat/controllers/reg.js +++ b/public/javascripts/wechat/controllers/reg.js @@ -34,7 +34,8 @@ app.controller('RegController', ['$scope', '$http', '$location', 'alertService', vm.errDialog.showMessage('出错了',response.data.message); } else { vm.successDialog.showMessage("提示","注册且绑定微信成功", function(){ - $location.path("/activities"); +// $location.path("/activities"); + window.WeixinJSBridge.call('closeWindow'); }); } }, function (response) {