Obtain all platform game records (only keep betting records for the last 30 days)

* Interface address: * Domain name/v1/user/record-all

* illustrate: * Cannot collect more than 5 times every five minutes * The start time and end time cannot exceed 24 hours (you can get any day within 24 hours, allowing for one day). When betId is not empty, the start time and end time can be passed to empty. * The start time cannot be greater than the end time (can be equal to) * If there are many bet records, you can appropriately shorten the collection time and increase the number of records obtained per page to avoid consuming the number of acquisitions each time because each page is too much.

* Request parameters:

Field name type length Must-choose illustrate
plat_type string 32 Optional parametersPlatform type, if you do not pass it, you will get all platforms (see the appendix platform type)
game_type string 10 Optional parametersGame types, do not pass or obtain all types (see Appendix Game Type)
username string 30 Optional parametersPlayer name, if you don't pass it, you will get all player records
idStr string 10000 Optional parametersThe platform globally unique ID, multiple IDs are spliced ​​with two equal numbers, such as 111==222==333, at most no more than 2000 IDs at a time. When the ID is not empty, the starting time and end time parameters are passed empty, and only the betting record of the last 35 days is retained.
sign_key string 32 yesEncrypted signature
startTimedate 32 Optional parametersStart time Format: 2018-11-08 10:00:00
endTimedate 32 Optional parametersEnd time Format: 2018-11-08 20:00:00
timeType int1Optional parametersThe default is empty to get the record according to the last update time. When it is 1, the record is obtained according to the betting time.
pageint 10 yesWhich page is default 1
limitint 10 yesPage size cannot be greater than 2000 Default 100
code string 32 yesmd5(sign_key+api_account+startTime+endTime)

* Response parameters

Field name type illustrate
statusCode string Whether it is successful. 01:Success; Other failures;
message string Information corresponding to code
data string Game Records

* Betting record returns fields uniformly

Field nameillustrateSuggested field types
idPlatform global unique ID This field needs to be saved by merchantsint(11)
betIdBet idvarchar(255)
usernamePlayer namevarchar(60)
platTypePlatform typeplat_typevarchar(20)
gameTypeGame Typegame_typetinyint(2)
betAmountBet amountdecimal(12,4)
validAmountValid bet amountdecimal(12,4)
winLossWin or lose amountdecimal(12,4)
gameNameGame Namevarchar(500)
betContentBetting content The database field length is recommended to be text, and the betting content of some game fields will be relatively long.text
awardResultLottery resultsvarchar(1000)
betTimeBetting (Beijing) timedate
lastUpdateTimeLast updated (Beijing) timedate
statusStatus 1 settled 2 not settled 0 Invalid bet ordertinyint(1)