|
|
@ -202,11 +202,12 @@ define(['angular', 'angularSanitize', 'angularAnimate', 'angularMessages', 'uiRo
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$scope.loadWechatBind = function () {
|
|
|
|
$scope.loadWechatBind = function () {
|
|
|
|
if (window.currentUser.wx_openid == null) {
|
|
|
|
if (window.currentUser.wx_openid == null) {
|
|
|
|
if ((window.currentUser.role & 4) > 0) {
|
|
|
|
/*if ((window.currentUser.role & 4) > 0) {
|
|
|
|
$scope.managerBindWechat('static');
|
|
|
|
$scope.managerBindWechat('static');
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$scope.managerBindWechat(true);
|
|
|
|
$scope.managerBindWechat(true);
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
$scope.managerBindWechat(true);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|