实现 sse 检查订单,减少请求次数
This commit is contained in:
6
pkg/env/env.go
vendored
6
pkg/env/env.go
vendored
@@ -20,9 +20,9 @@ const (
|
||||
var (
|
||||
RunMode = RunModeProd
|
||||
LogLevel = slog.LevelDebug
|
||||
TradeExpire = 30 * 60 // 交易过期时间,单位秒
|
||||
SessionAccessExpire = 60 * 60 * 2 // 默认 2 小时
|
||||
SessionRefreshExpire = 60 * 60 * 24 * 7 // 默认 7 天
|
||||
TradeExpire = 15 * 60 // 交易过期时间,单位秒。默认 15 分钟
|
||||
SessionAccessExpire = 60 * 60 * 2 // 访问令牌过期时间,单位秒。默认 2 小时
|
||||
SessionRefreshExpire = 60 * 60 * 24 * 7 // 刷新令牌过期时间,单位秒。默认 7 天
|
||||
DebugHttpDump = false // 是否打印请求和响应的原始数据
|
||||
DebugExternalChange = true // 是否实际执行外部非幂等接口调用,在开发调试时可以关闭,避免对外部数据产生影响
|
||||
|
||||
|
||||
Reference in New Issue
Block a user