From e1ea13bc785fb2088ec5f151718062f951c564fc Mon Sep 17 00:00:00 2001 From: tommy <3405129587@qq.com> Date: Thu, 18 Jun 2020 17:04:22 +0800 Subject: [PATCH] secret --- libs/jwt/jwt_go.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/jwt/jwt_go.go b/libs/jwt/jwt_go.go index d56f304..c647501 100644 --- a/libs/jwt/jwt_go.go +++ b/libs/jwt/jwt_go.go @@ -40,7 +40,7 @@ func GenJwtToken(accountType string, accountId, customerId, customerPid, areaId, return t.SignedString([]byte(Secret)) } -const Secret = "osmanthuswine-very-secret" +const Secret = "十步杀一人,千里不留行。" const Issuer = "osmanthuswine-issuer-ox" const Subject = "osmanthuswine-subject-ox" const Audience = "osmanthuswine-audience-ox"