shish hai 7 meses
pai
achega
916cd9a3da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      common/components/jwt.php

+ 1 - 1
common/components/jwt.php

@@ -33,7 +33,7 @@ class jwt
 		->identifiedBy($jwtId, true)//该jwt的唯一ID编号
 		->issuedAt($time)//该jwt的发布时间
 		->canOnlyBeUsedAfter($time)//该jwt的使用时间不能早于该时间
-		->expiresAt($time + 63072000)//该jwt销毁的时间(2年)
+		->expiresAt($time + 94608000)//该jwt销毁的时间(3年)
 		->set('uniqueId', $uniqueId)
 			->set('sourceId', $sourceId)
 			->sign($signer, $key)->getToken();