Association description: return to view the URL address of the game record matching the query condition
Note: detailed records such as game bets can only query the records of the last 3 days, and the time span of a single query cannot exceed 1 day, and the number of records requested each time cannot exceed 1000
Interface URL address
Loading table...
Request parameter
Loading table...
Response parameter
Loading table...
Request Example
public static void main(String[] args) {
String sn = "ld00";
String random = String.valueOf(System.currentTimeMillis());
String secretCode = "oOGKmN8zAycJtz9cYJQXr8ddMYQ=";
String longinId = "1105191506";
String digest = HashUtil.md5Hex(random+sn+loginId+secretCode);
String url = "https://ae8855.feiyanma.com/mega-cloud/api/";
try {
Map<String, Object> params = new HashMap<String, Object>();
params.put("sn", sn);
params.put("loginId", longinId);
params.put("random", random);
params.put("digest", digest);
params.put("startTime", "2022-11-01 11:22:00");
params.put("endTime", "2022-11-03 11:22:00");
String json = buildParams(params, "open.mega.player.game.log.url.get");
String result = OkHttpUtils.post(url , json);
System.out.println(result);
} catch (Exception e) {
e.printStackTrace();
}
}
private static String buildParams(Map<String, Object> postData, String method) {
Map<String, Object> rpcMap = new HashMap<>();
rpcMap.put("jsonrpc", "2.0");
rpcMap.put("method", method);
rpcMap.put("params", postData);
rpcMap.put("id", SeqUUIDUtil.toSequenceUUID());
String param = JsonUtil.toJson(rpcMap);
return param;
}
Response Example
{
"id":"1deaf133-c579-400a-a3c2-e54123adb9ca",
"result":”https://www.host.com/...”,
"error":null,"jsonrpc":"2.0"
}