add 合规跳转商户端

master
luoyang 5 years ago
parent c403863648
commit 2507d4b332

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

@ -135,7 +135,7 @@ public class SignInStatusManagerImpl implements SignInStatusManager {
@Override
public void managerAuthToClient(String managerStatusKey, String clientMoniker) {
JSONObject manager = getCurrentManager(managerStatusKey);
if (manager != null && ManagerRole.ADMIN.hasRole(manager.getIntValue("role"))) {
if (manager != null && (ManagerRole.ADMIN.hasRole(manager.getIntValue("role")) || ManagerRole.OPERATOR.hasRole(manager.getIntValue("role")))) {
String cacheKey = clientMockRedisKey(managerStatusKey);
stringRedisTemplate.boundValueOps(cacheKey).set(clientMoniker, 30, TimeUnit.MINUTES);
return;

Loading…
Cancel
Save