# 盈利報表 API (winAndLoseReport) ## ==GET== /winAndLoseReport/userInfo ### 說明 取得使用者參數 ### 必要參數 (query) 無 ### 條件參數 無 ### 回傳參數 code: 0: 成功 | 1: 失敗 restrict: 是否可查詢超過 10 分鐘 isShowRevenue: 是否顯示抽水 isShowBanker: 是否顯示莊閒 ---- ## ==GET== /winAndLoseReport/getGameInfo ### 說明 取得遊戲清單 ### 必要參數 (query) 無 ### 條件參數 無 ### 回傳參數 code: 0: 成功 | 1: 失敗 rows: 資料 ---- ## ==GET== /winAndLoseReport/getRoomInfo ### 說明 取得房間清單 ### 必要參數 (query) gameId: int ### 條件參數 無 ### 回傳參數 code: 0: 成功 | 1: 失敗 rows: 資料 ---- ## ==GET== /winAndLoseReport/getGameRecord ### 說明 取得遊戲對局紀錄 ### 必要參數 (query) page: int pageSize: int ### 條件參數 beginTime: string endTime: string account: string gameId: int roomId: int gameNo: string roomType: string currency: string ### 回傳參數 code: 0: 成功 | 1: 失敗 rows: 資料 total: 總數 statisString: 統計資料 remindCount: 注單異常聯繫次數 ---- ## ==GET== /winAndLoseReport/exportData ### 說明 取得遊戲對局紀錄 ### 必要參數 (query) 無 ### 條件參數 beginTime: string endTime: string account: string gameId: int roomId: int gameNo: string roomType: string currency: string ### 回傳參數 下載 ---- ## ==GET== /winAndLoseReport/getSameTableData ### 說明 取得同桌紀錄 (鏡像同桌) ### 必要參數 (query) id: int gameId: int gameEndTime: string roomName: roomName ### 條件參數 無 ### 回傳參數 code: 0: 成功 | 1: 失敗 rows: 資料 total: 總數 ---- ## ==GET== /winAndLoseReport/getSameTableCount ### 說明 取得同桌次數 (鏡像) ### 必要參數 (query) account1: string account2: string page: int pageSize: int total: int ### 條件參數 beginTime: string endTime: string gameId: int ### 回傳參數 code: 0: 成功 | 1: 失敗 rows: 資料 total: 總數 ---- ## ==GET== /winAndLoseReport/getSameTableDetail ### 說明 取得同桌詳細記錄 (鏡像) ### 必要參數 (query) account1: string account2: string page: int pageSize: int total: int ### 條件參數 beginTime: string endTime: string gameId: int ### 回傳參數 code: 0: 成功 | 1: 失敗 rows: 資料 total: 總數 ---- 備註: /winAndLoseReport/getGameType /winAndLoseReport/getCurrencyType /winAndLoseReport/getRoomInfo 以上兩個API暫時性保留,有其他頁面會使用 ???? ```` const columnKey = { gameEndTime: '0_accountChangeTime', // 账变时间 account: '0_userName', // 会员名称 gameName: '0_gameType', // 游戏类型 roomName: '8_roomType', // 房间类型 tableId: '8_tableNumber', // 桌子号 chairId: '0_seatNumber', // 座位号 banker: '8_bankerAndPlayer', // 庄闲 score: '8_staringAmount', // 初始金额 allBet: '0_totalBet', // 总投注 cellScore: '0_vaildBet', // 有效投注 profit: '0_profitAmount', // 盈利金额 revenue: '0_revenue', // 抽水 gameNo: '0_roundNumber', // 局号 roomType: '0_type', // 类型 currency: '8_language', // 语言 language: '0_currency', // 币别 }; ````