Commit 6d479e1b authored by zhouxudong's avatar zhouxudong

Merge remote-tracking branch 'origin/master'

parents 097046c4 024b4d10
......@@ -58,10 +58,10 @@ public class Signterceptor implements AsyncHandlerInterceptor {
Object time = map.get("time");
DateTime sendTime = DateUtil.date(Long.parseLong(time.toString()));
long between = DateUtil.between(sendTime, DateUtil.date(), DateUnit.SECOND);
if (between > 10) {
log.error("签名时间超时,请重试:{}", between);
throw new ServiceException("签名时间超时,请重试");
}
// if (between > 10) {
// log.error("签名时间超时,请重试:{}", between);
// throw new ServiceException("签名时间超时,请重试");
// }
log.info("签名通过");
} catch (Exception e) {
log.error("签名有误,请重试:{},异常信息:{}", sign,e);
......
......@@ -2,7 +2,7 @@ spring:
#spring 默认数据库连接池
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:mysql://rds0l977ya29d52h8tor650.mysql.rds.aliyuncs.com:3306/liyeyun?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://1.92.66.73:3306/liyeyun?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
username: liyeyun
password: CF**ldcn
driver-class-name: com.mysql.cj.jdbc.Driver
......
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