fix: 解决ui2不兼容的问题

This commit is contained in:
余泓铮
2025-06-26 11:04:09 +08:00
parent a31a8c67f0
commit 552aa516b9
2 changed files with 29 additions and 23 deletions
+2
View File
@@ -41,6 +41,7 @@ func NewDriverSession() *DriverSession {
timeout := 30 * time.Second
session := &DriverSession{
ctx: context.Background(),
ID: "<SessionNotInit>",
timeout: timeout,
client: &http.Client{
Timeout: timeout,
@@ -53,6 +54,7 @@ func NewDriverSession() *DriverSession {
type DriverSession struct {
ctx context.Context
ID string
client *http.Client
timeout time.Duration
maxRetry int