Skip to content

Commit 78005c0

Browse files
committed
fix: change field systemType to appFramework.
Signed-off-by: Gordon <[email protected]>
1 parent 71788b3 commit 78005c0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

internal/third/log.go

+7-6
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import (
44
"bufio"
55
"context"
66
"fmt"
7-
"github.com/openimsdk/openim-sdk-core/v3/internal/third/file"
87
"io"
98
"math/rand"
109
"os"
1110
"path/filepath"
1211
"strings"
1312
"time"
1413

14+
"github.com/openimsdk/openim-sdk-core/v3/internal/third/file"
15+
1516
"github.com/openimsdk/openim-sdk-core/v3/pkg/api"
1617

1718
"github.com/openimsdk/openim-sdk-core/v3/pkg/ccontext"
@@ -113,11 +114,11 @@ func (c *Third) uploadLogs(ctx context.Context, line int, ex string, progress Pr
113114
}
114115
ccontext.Info(ctx)
115116
reqLog := &third.UploadLogsReq{
116-
Platform: c.platformID,
117-
SystemType: c.systemType,
118-
Version: version.Version,
119-
FileURLs: []*third.FileURL{{Filename: zippath, URL: resp.URL}},
120-
Ex: ex,
117+
Platform: c.platformID,
118+
AppFramework: c.systemType,
119+
Version: version.Version,
120+
FileURLs: []*third.FileURL{{Filename: zippath, URL: resp.URL}},
121+
Ex: ex,
121122
}
122123
return api.UploadLogs.Execute(ctx, reqLog)
123124
}

0 commit comments

Comments
 (0)