Upd:代理商下角色登陆不显示必须扫码绑定

master
dulingling 5 years ago
parent f2bc21d8d5
commit 48a0251c80

@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId>
<version>2.3.16</version>
<version>2.3.17</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>2.3.0</jib-maven-plugin.version>

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

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

Loading…
Cancel
Save