Commit 8618b0c3 authored by 赵啸非's avatar 赵啸非

添加更新默认用户角色

parent 73c45d27
...@@ -118,11 +118,6 @@ ...@@ -118,11 +118,6 @@
</dependency> </dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
</dependencies> </dependencies>
......
...@@ -145,8 +145,8 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer ...@@ -145,8 +145,8 @@ public class H5LoginController extends BaseCRUDJsonBodyMappingController<UserSer
data.put("parkName",companyEntity.getParkName()); data.put("parkName",companyEntity.getParkName());
} }
data.put("id", userEntity.getId()); data.put("id", userEntity.getId());
data.put("phone", userEntity.getPhone());
data.put("staffId", userEntity.getCustomerId()); data.put("userName", userEntity.getRealName());
data.put("userType", userEntity.getUserType()); data.put("userType", userEntity.getUserType());
userEntity.setLoginTime(System.currentTimeMillis()); userEntity.setLoginTime(System.currentTimeMillis());
userEntity.setToken(IdUtil.fastSimpleUUID()); userEntity.setToken(IdUtil.fastSimpleUUID());
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<dependency> <!-- <dependency>
<groupId>org.apache.kafka</groupId> <groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId> <artifactId>kafka-clients</artifactId>
<version>2.6.0</version> <version>2.6.0</version>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<artifactId>amqp-client</artifactId> <artifactId>amqp-client</artifactId>
<version>4.8.0</version> <version>4.8.0</version>
</dependency> </dependency>
-->
<dependency> <dependency>
<groupId>cn.hutool</groupId> <groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId> <artifactId>hutool-all</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment