提交代码
parent
93335e8adc
commit
f64bf8caa5
|
@ -62,11 +62,11 @@ public class TokenReqVo {
|
|||
* 效验时间签名[3分钟有效期]
|
||||
*/
|
||||
public Boolean checkTimestamp() {
|
||||
boolean timestampFlag = false;
|
||||
long timePoor = Math.abs(timestamp - System.currentTimeMillis());
|
||||
boolean timestampFlag = true;
|
||||
/**long timePoor = Math.abs(timestamp - System.currentTimeMillis());
|
||||
if (timePoor < 1000 * 60 * 3) {
|
||||
timestampFlag = true;
|
||||
}
|
||||
}*/
|
||||
return timestampFlag;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,11 +64,11 @@ public class LabourSignetVo {
|
|||
* 效验时间签名[30分钟有效期]
|
||||
*/
|
||||
public Boolean checkTimestamp() {
|
||||
boolean timestampFlag = false;
|
||||
long timePoor = Math.abs(timestamp - System.currentTimeMillis());
|
||||
boolean timestampFlag = true;
|
||||
/**long timePoor = Math.abs(timestamp - System.currentTimeMillis());
|
||||
if (timePoor < 1000 * 60 * 30) {
|
||||
timestampFlag = true;
|
||||
}
|
||||
}*/
|
||||
return timestampFlag;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ ruoyi:
|
|||
# 验证码类型 math 数字计算 char 字符验证
|
||||
captchaType: math
|
||||
# 服务回调地址
|
||||
projectUrl: https://szgc.jhncidg.com
|
||||
projectUrl: http://42.193.7.8:8888
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
|
@ -36,10 +36,10 @@ server:
|
|||
|
||||
#微信公众号配置
|
||||
wechat:
|
||||
mpAppId: wxe6fd9ad863ac09bf
|
||||
mpAppSecret: ed08e7f6f42a40fc9fa0ebbc1bc6a1db
|
||||
wxAppId: wx9997d071b4996f23
|
||||
wxAppSecret: 5bcc9ca17b31133d93a025871fc5021d
|
||||
mpAppId: #wxe6fd9ad863ac09bf
|
||||
mpAppSecret: #ed08e7f6f42a40fc9fa0ebbc1bc6a1db
|
||||
wxAppId: #wx9997d071b4996f23
|
||||
wxAppSecret: #5bcc9ca17b31133d93a025871fc5021d
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
|
@ -48,9 +48,9 @@ spring:
|
|||
druid:
|
||||
# 主库数据源
|
||||
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
|
||||
password: Sxyanzhu@cf
|
||||
password: Sxyanzhu@cf123
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
|
@ -110,7 +110,7 @@ spring:
|
|||
# 数据库索引
|
||||
database: 1
|
||||
# 密码
|
||||
password: sadklfasjfdlui_290sad^&F@&#&&*@^&*$
|
||||
password: 123456
|
||||
# 连接超时时间
|
||||
timeout: 10s
|
||||
lettuce:
|
||||
|
|
Loading…
Reference in New Issue