u
This commit is contained in:
1 parent
401a6719f6
commit
b7f50f3ccb
22 files changed
+1595
-343
No files matched your search
+2
@@ -127,6 +127,8 @@ public class FileController {
|
||||
// 发送删除请求
|
||||
String requestUrl = String.format("http://g3oss.g3soft.cn:8082/delete?bucketName=%s&objectName=%s", bucketName, objectName);
|
||||
|
||||
System.out.println(requestUrl);
|
||||
|
||||
try {
|
||||
HttpUtils.sendGet(requestUrl);
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -10,7 +10,7 @@ public class JwtUtils {
|
||||
// 秘钥
|
||||
private static final String SECRET_KEY = "G3_SECRET_KEY";
|
||||
// 过期时间,1天。
|
||||
private static final Integer EXPIRE_TIME = 1;
|
||||
private static final Integer EXPIRE_TIME = 7;
|
||||
|
||||
// 创建 Token
|
||||
public static String createToken(JwtPayload jwtPayload) {
|
||||
|
||||
Reference in new issue
Block a user