refactor(game): 更新 PGXBetHistoryResponse 和 PGXClient

- 将 PGXBetHistoryResponse 中的 int 类型改为 Long 类型
- 修改 PGXClient 中的 API 调用地址
main-KM
shi 2025-03-31 16:48:58 +08:00
parent 5f9af0e041
commit d211dd2d7e
2 changed files with 6 additions and 6 deletions

View File

@ -106,7 +106,7 @@ public interface PGXClient {
* *
* @return {@link PGXBetHistoryResponse } * @return {@link PGXBetHistoryResponse }
*/ */
@Get(url = "http://fetch.336699bet.com/fetchArchieve.aspx?{parameters}") @Get(url = "http://fetch.336699bet.com/fetchbykey.aspx?{parameters}")
PGXBetHistoryResponse getBetRecordByTime(@Var("parameters") String parameters); PGXBetHistoryResponse getBetRecordByTime(@Var("parameters") String parameters);

View File

@ -40,16 +40,16 @@ public class PGXBetHistoryResponse {
public class Result { public class Result {
/** /**
* AIO () (Int) * AIO () (Long)
*/ */
@JsonProperty("id") @JsonProperty("id")
private int id; private Long id;
/** /**
* (Int) * (Long)
*/ */
@JsonProperty("ref_no") @JsonProperty("ref_no")
private int refNo; private Long refNo;
/** /**
* (String) * (String)
@ -72,7 +72,7 @@ public class PGXBetHistoryResponse {
/** /**
* (String) * (String)
*/ */
@JsonProperty("gameid") @JsonProperty("game_id")
private String gameId; private String gameId;
/** /**