微信新用户注册后返回公众号

This commit is contained in:
yuanke 2016-07-21 16:59:47 +08:00
parent 9ababc5aa4
commit 0622978920
1 changed files with 2 additions and 1 deletions

View File

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