Skip to content

Commit

Permalink
fix: log support ex
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Jul 18, 2024
1 parent 84e78ed commit 90f7368
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/rpc/third/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ func (t *thirdServer) UploadLogs(ctx context.Context, req *third.UploadLogsReq)
platform := constant.PlatformID2Name[int(req.Platform)]
for _, fileURL := range req.FileURLs {
log := relationtb.Log{
Version: req.Version,
SystemType: req.SystemType,
Platform: platform,
UserID: userID,
CreateTime: time.Now(),
Url: fileURL.URL,
FileName: fileURL.Filename,
SystemType: req.SystemType,
Version: req.Version,
Ex: req.Ex,
}
for i := 0; i < 20; i++ {
id := genLogID()
Expand Down

0 comments on commit 90f7368

Please sign in to comment.