修改日志打印级别
This commit is contained in:
1 parent
59fc017933
commit
26a17cec9a
5 files changed
+9
-37
No files matched your search
+2
@@ -167,8 +167,10 @@ public class AppUserAutoLoginController {
|
||||
|
||||
R<Boolean> booleanR = remoteUserService.registerUser(userDTO);
|
||||
//通过唯一手机号查询到刚注册的用户信息,生成token
|
||||
|
||||
R<List<SysUser>> userByMobile=remoteUserService.getUserByMobile(mobile);
|
||||
SysUser sysUser = userByMobile.getData().get(0);
|
||||
// int i=8/0;
|
||||
UserTokenDTO userTokenDTO = new UserTokenDTO();
|
||||
userTokenDTO.setSysUser(sysUser);
|
||||
//登录成功,根据新注册的用户信息返回token
|
||||
|
||||
@@ -33,6 +33,11 @@
|
||||
<description>pjcloud 通用用户权限管理系统业务处理模块</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- 引入分布式事务-->
|
||||
<dependency>
|
||||
<groupId>com.bsd</groupId>
|
||||
<artifactId>pjcloud-common-seata</artifactId>
|
||||
</dependency>
|
||||
<!-- mysql -->
|
||||
<dependency>
|
||||
<groupId>com.mysql</groupId>
|
||||
@@ -184,11 +189,6 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-undertow</artifactId>
|
||||
</dependency>
|
||||
<!-- 引入分布式事务-->
|
||||
<dependency>
|
||||
<groupId>com.bsd</groupId>
|
||||
<artifactId>pjcloud-common-seata</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
-1
@@ -329,7 +329,6 @@ public class SysUserController {
|
||||
@Inner
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public R<List<SysUser>> getUserByMobile(@RequestParam("mobile") String mobile) {
|
||||
int i=8/0;
|
||||
return R.ok(userService.list(Wrappers.<SysUser>lambdaQuery().eq(SysUser::getPhone, mobile)));
|
||||
}
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
</appender>
|
||||
|
||||
<!-- Log file debug output -->
|
||||
<appender name="debug" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<appender name="INFO" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>${log.path}/debug.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
|
||||
<fileNamePattern>${log.path}/%d{yyyy-MM, aux}/debug.%d{yyyy-MM-dd}.%i.log.gz</fileNamePattern>
|
||||
|
||||
@@ -52,7 +52,6 @@ seata:
|
||||
registry:
|
||||
# support: nacos, eureka, redis, zk, consul, etcd3, sofa
|
||||
type: nacos
|
||||
preferred-networks: 30.240.*
|
||||
nacos:
|
||||
application: seata-server
|
||||
server-addr: 127.0.0.1:8848
|
||||
@@ -62,35 +61,7 @@ seata:
|
||||
username: nacos
|
||||
password: nacos
|
||||
context-path:
|
||||
store:
|
||||
# support: file 、 db 、 redis 、 raft
|
||||
mode: db
|
||||
session:
|
||||
mode: db
|
||||
lock:
|
||||
mode: db
|
||||
file:
|
||||
dir: sessionStore
|
||||
max-branch-session-size: 16384
|
||||
max-global-session-size: 512
|
||||
file-write-buffer-cache-size: 16384
|
||||
session-reload-read-size: 100
|
||||
flush-disk-mode: async
|
||||
db:
|
||||
datasource: druid
|
||||
db-type: mysql
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
url: jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
|
||||
user: root
|
||||
password: root
|
||||
min-conn: 10
|
||||
max-conn: 100
|
||||
global-table: global_table
|
||||
branch-table: branch_table
|
||||
lock-table: lock_table
|
||||
distributed-lock-table: distributed_lock
|
||||
query-limit: 1000
|
||||
max-wait: 5000
|
||||
tx-service-group: pjcloud_tx_group
|
||||
security:
|
||||
secretKey: SeataSecretKey0c382ef121d778043159209298fd40bf3850a017
|
||||
tokenValidityInMilliseconds: 1800000
|
||||
|
||||
Reference in new issue
Block a user