2026-04-21 10:25:39 +08:00
|
|
|
|
package com.aida.seller.common.constants;
|
|
|
|
|
|
|
|
|
|
|
|
public class CommonConstants {
|
|
|
|
|
|
|
|
|
|
|
|
public static final int MINIO_PATH_TIMEOUT = 7 * 24 * 60 * 60; // minio图片临时访问地址 7 天过期(second)
|
|
|
|
|
|
|
|
|
|
|
|
public static final int TOKEN_EXPIRE_TIME = 7 * 24; // token 7 天过期(Hour)
|
|
|
|
|
|
|
2026-05-20 11:09:30 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 内部服务间调用的签名 Header,Feign 远程调用时携带,用于标识为内部可信调用
|
|
|
|
|
|
*/
|
|
|
|
|
|
public static final String INTERNAL_CALL_HEADER = "X-Internal-Call";
|
|
|
|
|
|
public static final String INTERNAL_CALL_VALUE = "true";
|
2026-04-21 10:25:39 +08:00
|
|
|
|
}
|