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

master
dulingling 5 years ago
parent c312d8e02b
commit 3519c44526

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

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

@ -319,11 +319,15 @@ 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);
} }
}; };

Loading…
Cancel
Save