feat: change upload logs systemType to AppFramework

pull/2927/head
icey-yu 10 months ago
parent 848684f287
commit d2befc05c2

@ -55,7 +55,7 @@ func (t *thirdServer) UploadLogs(ctx context.Context, req *third.UploadLogsReq)
CreateTime: time.Now(), CreateTime: time.Now(),
Url: fileURL.URL, Url: fileURL.URL,
FileName: fileURL.Filename, FileName: fileURL.Filename,
SystemType: req.AppFramework, AppFramework: req.AppFramework,
Version: req.Version, Version: req.Version,
Ex: req.Ex, Ex: req.Ex,
} }

@ -26,6 +26,7 @@ type Log struct {
Url string `bson:"url"` Url string `bson:"url"`
FileName string `bson:"file_name"` FileName string `bson:"file_name"`
SystemType string `bson:"system_type"` SystemType string `bson:"system_type"`
AppFramework string `bson:"app_framework"`
Version string `bson:"version"` Version string `bson:"version"`
Ex string `bson:"ex"` Ex string `bson:"ex"`
} }

Loading…
Cancel
Save