提交代码

dev
姜玉琦 2025-03-11 17:01:15 +08:00
parent 93335e8adc
commit f64bf8caa5
3 changed files with 14 additions and 14 deletions

View File

@ -62,11 +62,11 @@ public class TokenReqVo {
* [3] * [3]
*/ */
public Boolean checkTimestamp() { public Boolean checkTimestamp() {
boolean timestampFlag = false; boolean timestampFlag = true;
long timePoor = Math.abs(timestamp - System.currentTimeMillis()); /**long timePoor = Math.abs(timestamp - System.currentTimeMillis());
if (timePoor < 1000 * 60 * 3) { if (timePoor < 1000 * 60 * 3) {
timestampFlag = true; timestampFlag = true;
} }*/
return timestampFlag; return timestampFlag;
} }
} }

View File

@ -64,11 +64,11 @@ public class LabourSignetVo {
* [30] * [30]
*/ */
public Boolean checkTimestamp() { public Boolean checkTimestamp() {
boolean timestampFlag = false; boolean timestampFlag = true;
long timePoor = Math.abs(timestamp - System.currentTimeMillis()); /**long timePoor = Math.abs(timestamp - System.currentTimeMillis());
if (timePoor < 1000 * 60 * 30) { if (timePoor < 1000 * 60 * 30) {
timestampFlag = true; timestampFlag = true;
} }*/
return timestampFlag; return timestampFlag;
} }
} }

View File

@ -15,7 +15,7 @@ ruoyi:
# 验证码类型 math 数字计算 char 字符验证 # 验证码类型 math 数字计算 char 字符验证
captchaType: math captchaType: math
# 服务回调地址 # 服务回调地址
projectUrl: https://szgc.jhncidg.com projectUrl: http://42.193.7.8:8888
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口默认为8080 # 服务器的HTTP端口默认为8080
@ -36,10 +36,10 @@ server:
#微信公众号配置 #微信公众号配置
wechat: wechat:
mpAppId: wxe6fd9ad863ac09bf mpAppId: #wxe6fd9ad863ac09bf
mpAppSecret: ed08e7f6f42a40fc9fa0ebbc1bc6a1db mpAppSecret: #ed08e7f6f42a40fc9fa0ebbc1bc6a1db
wxAppId: wx9997d071b4996f23 wxAppId: #wx9997d071b4996f23
wxAppSecret: 5bcc9ca17b31133d93a025871fc5021d wxAppSecret: #5bcc9ca17b31133d93a025871fc5021d
# 数据源配置 # 数据源配置
spring: spring:
datasource: datasource:
@ -48,9 +48,9 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://cd-cynosdbmysql-grp-9rqrhxsm.sql.tencentcdb.com:27981/yanzhu_jh_test?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 url: jdbc:mysql://42.193.7.8:3306/yanzhu_jh?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
username: root username: root
password: Sxyanzhu@cf password: Sxyanzhu@cf123
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭
@ -110,7 +110,7 @@ spring:
# 数据库索引 # 数据库索引
database: 1 database: 1
# 密码 # 密码
password: sadklfasjfdlui_290sad^&F@&#&&*@^&*$ password: 123456
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
lettuce: lettuce: