From 58d9956782818d0d90e38ff2fc9f055d21f10aa8 Mon Sep 17 00:00:00 2001
From: fengjin <1435304038@qq.com>
Date: 星期三, 02 十一月 2022 09:54:20 +0800
Subject: [PATCH] 1.修改自动分配逻辑

---
 flower_city/src/main/java/com/dg/core/interceptor/AuthorizationInterceptor.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/flower_city/src/main/java/com/dg/core/interceptor/AuthorizationInterceptor.java b/flower_city/src/main/java/com/dg/core/interceptor/AuthorizationInterceptor.java
index e0b4417..9988d32 100644
--- a/flower_city/src/main/java/com/dg/core/interceptor/AuthorizationInterceptor.java
+++ b/flower_city/src/main/java/com/dg/core/interceptor/AuthorizationInterceptor.java
@@ -83,7 +83,8 @@
                         //本地没有此用户  新用户
                         SysUser newSysUser=new SysUser();
                         //默认  1系统后台用户
-                        newSysUser.setUserType("3");
+                        newSysUser.setUserType("4");
+                        newSysUser.setRoleIds("4");
                         newSysUser.setPhonenumber(huaChengSysUser.getPhone());
                         newSysUser.setUserId(huaChengSysUser.getUserId());
                         newSysUser.setUserName(huaChengSysUser.getNickName());

--
Gitblit v1.7.1