Browse Source

token expire_at

master
黄梓健 5 years ago
parent
commit
53d6c0fb67
  1. 2
      libs/jwt/jwt_go.go
  2. 24
      log/hdzj.log

2
libs/jwt/jwt_go.go

@ -28,7 +28,7 @@ func GenJwtToken(accountType string, accountId, customerId, customerPid, areaId,
activityId,
areaId,
jwt.StandardClaims{
ExpiresAt: time.Now().Add(time.Duration(24000) * time.Hour).Unix(),
ExpiresAt: time.Now().Add(time.Duration(24) * time.Hour).Unix(),
Id: helper.CreateUUID(),
Issuer: Issuer,
Subject: Subject,

24
log/hdzj.log

@ -368,3 +368,27 @@
2020-06-01 16:29:50.688 ERROR logger/logger.go:87 客户订单异常
2020-06-01 16:29:50.688 ERROR logger/logger.go:87 客户订单异常
2020-06-01 16:29:50.688 ERROR logger/logger.go:87 客户订单异常
2020-06-01 18:25:13.732 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 18:25:13.734 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 20:04:14.586 ERROR logger/logger.go:87 获取过期打赏错误原因invalid connection
2020-06-01 20:04:14.593 ERROR logger/logger.go:87 定时任务错误原因invalid connection
2020-06-01 20:25:14.106 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 20:25:14.107 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 21:25:13.712 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 21:25:13.713 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 22:25:13.946 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 22:25:13.946 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 23:25:13.712 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-01 23:25:13.712 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 00:25:13.958 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 00:25:13.958 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 01:25:13.714 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 01:25:13.714 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 02:25:13.711 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 02:25:13.712 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 03:25:13.714 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 03:25:13.714 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 09:29:38.051 ERROR logger/logger.go:87 获取过期打赏错误原因dial tcp: lookup ouxuanhudongapi.t.3pr.com.cn: no such host
2020-06-02 09:29:38.051 ERROR logger/logger.go:87 定时任务错误原因dial tcp: lookup ouxuanhudongapi.t.3pr.com.cn: no such host
2020-06-02 10:25:13.946 ERROR logger/logger.go:87 获取过期打赏错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
2020-06-02 10:25:13.946 ERROR logger/logger.go:87 定时任务错误原因Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Loading…
Cancel
Save