mirror of
				https://gitee.com/lab1024/smart-admin.git
				synced 2025-10-31 08:23:45 +08:00 
			
		
		
		
	优化心跳和其他
This commit is contained in:
		| @@ -22,9 +22,9 @@ spring.jackson.time-zone=GMT+8 | ||||
| spring.jackson.serialization.write-dates-as-timestamps=false | ||||
|  | ||||
| ######################### database ######################### | ||||
| spring.datasource.url=jdbc:p6spy:mysql://115.29.150.222:11024/smart_admin_v2?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai | ||||
| spring.datasource.url=jdbc:p6spy:mysql://127.0.0.1:3306/smart_admin_v2?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai | ||||
| spring.datasource.username=root | ||||
| spring.datasource.password=11024Lab | ||||
| spring.datasource.password=root | ||||
| spring.datasource.initial-size=2 | ||||
| spring.datasource.min-idle=1 | ||||
| spring.datasource.max-active=10 | ||||
| @@ -40,14 +40,14 @@ spring.datasource.druid.service.scanner=net.lab1024.smartadmin.module..*Service. | ||||
|  | ||||
| ######################### redis ####################################### | ||||
| spring.redis.database=1 | ||||
| spring.redis.host=115.29.150.222 | ||||
| spring.redis.host=127.0.0.1 | ||||
| spring.redis.lettuce.pool.max-active=100 | ||||
| spring.redis.lettuce.pool.min-idle=5 | ||||
| spring.redis.lettuce.pool.max-idle=10 | ||||
| spring.redis.lettuce.pool.max-wait=30000ms | ||||
| spring.redis.port=21024 | ||||
| spring.redis.port=1234 | ||||
| spring.redis.timeout=10000ms | ||||
| spring.redis.password=21024Lab | ||||
| spring.redis.password=root | ||||
|  | ||||
| ######################### swagger ######################### | ||||
| swagger.apiGroupName=smartAdmin | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||
| <mapper namespace="net.lab1024.smartadmin.service.module.support.systemconfig.SystemConfigDao"> | ||||
| <mapper namespace="net.lab1024.smartadmin.service.module.system.systemconfig.SystemConfigDao"> | ||||
|     <!-- 分页查询系统配置 --> | ||||
|     <select id="queryByPage" resultType="net.lab1024.smartadmin.service.module.support.systemconfig.domain.SystemConfigEntity"> | ||||
|     <select id="queryByPage" resultType="net.lab1024.smartadmin.service.module.system.systemconfig.domain.SystemConfigEntity"> | ||||
|         SELECT * | ||||
|         FROM t_system_config | ||||
|         <where> | ||||
| @@ -13,7 +13,7 @@ | ||||
|     </select> | ||||
|  | ||||
|     <!-- 根据key查询获取数据 --> | ||||
|     <select id="selectByKey" resultType="net.lab1024.smartadmin.service.module.support.systemconfig.domain.SystemConfigEntity"> | ||||
|     <select id="selectByKey" resultType="net.lab1024.smartadmin.service.module.system.systemconfig.domain.SystemConfigEntity"> | ||||
|         SELECT * | ||||
|         FROM t_system_config | ||||
|         WHERE config_key = #{key} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user