refactor(game): 更新 PGXBetHistoryResponse 和 PGXClient
- 将 PGXBetHistoryResponse 中的 int 类型改为 Long 类型 - 修改 PGXClient 中的 API 调用地址main-KM
parent
5f9af0e041
commit
d211dd2d7e
|
@ -106,7 +106,7 @@ public interface PGXClient {
|
|||
*
|
||||
* @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);
|
||||
|
||||
|
||||
|
|
|
@ -40,16 +40,16 @@ public class PGXBetHistoryResponse {
|
|||
public class Result {
|
||||
|
||||
/**
|
||||
* AIO注单号 (唯一值) (Int类型)
|
||||
* AIO注单号 (唯一值) (Long类型)
|
||||
*/
|
||||
@JsonProperty("id")
|
||||
private int id;
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 供应商注单号 (Int类型)
|
||||
* 供应商注单号 (Long类型)
|
||||
*/
|
||||
@JsonProperty("ref_no")
|
||||
private int refNo;
|
||||
private Long refNo;
|
||||
|
||||
/**
|
||||
* 供应商代号 (String类型)
|
||||
|
@ -72,7 +72,7 @@ public class PGXBetHistoryResponse {
|
|||
/**
|
||||
* 游戏代号 (String类型)
|
||||
*/
|
||||
@JsonProperty("gameid")
|
||||
@JsonProperty("game_id")
|
||||
private String gameId;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue