修改模拟器下载日志
This commit is contained in:
@ -583,15 +583,15 @@ public class LogUtils {
|
||||
}
|
||||
|
||||
|
||||
public static void uploadSimulatorDownload(String event, String simulatorId, String simulatorName, String gameId, String location, String downloadType) {
|
||||
public static void uploadSimulatorDownload(String event,String fileName, String simulatorId, String simulatorName, String gameId, String location, String downloadType) {
|
||||
JSONObject object = new JSONObject();
|
||||
JSONObject payload = new JSONObject();
|
||||
try {
|
||||
object.put("event", event);// 取值有[开始, 完成] [simulator_download, simulator_download_complete]
|
||||
object.put("id", simulatorId);//事件标识,同一次下载开始和完成取同一个值,可以通过这个id来查找同一次的下载任务
|
||||
object.put("meta", getMetaObject());
|
||||
object.put("timestamp", System.currentTimeMillis() / 1000);
|
||||
|
||||
payload.put("filename", fileName);// 下载模拟器文件名,每次新创建的下载任务文件名都不同,可以用来关联同一次的下载开始与完成
|
||||
payload.put("simulator_id", simulatorId);
|
||||
payload.put("simulator_name", simulatorName);
|
||||
payload.put("location", location);//启动《具体的游戏名称》/模拟器游戏/模拟器游戏-模拟器管理
|
||||
|
||||
Reference in New Issue
Block a user