浏览代码

删除交易记录接口文档

qingjie 8 月之前
父节点
当前提交
720cbe6db8

+ 0 - 82
seamless/en/Result1.md

@@ -1,82 +0,0 @@
-# <font >Game result</font>
-##  Description
-
-> This functionality pertains to the win/loss results returned by BeSoft games after placing a bet. This message may be sent multiple times. It is identified as a duplicate message based on the transId.
-
-> Request method:BeSoft -> Host):post 
-
-> The request data format issued by Besoft: application/json
-
-> Host The returned data format : application/json
-
-##   Method URL 
->	Provided by the game operator (Host).
-```
-	https://{host}/[notify_url]
-	OR:
-    http://{host}/[notify_url]
-```
-
-
-##    Request Parameters
-
- | Name | Type | Required |Description|
- |:--------:|:-----:|:--------:|:--------:|
- | action | int32 | Y |3, Game result operation code|
- | uid | string(32)  | Y |Player account|
- | mode | int32 | Y |Game Mode|
- | gid | string | Y |Game ID|
- | bet | double | Y |Bet scores, accurate to two valid floating points after the decimal point, and participate in score settlement|
- | spjpbet | double | Y |special jackpot Prize poolSingle cumulative prize pool bet value|
- | win | double | Y |Win amount, displayed with precision up to two decimal places as a valid floating-point number,and participate in score settlement|
- | ts | int64 | Y |Timestamp of the message request|
- | roundId | string | Y |Unique ID for each round of the game|
- | transId | string | Y |Unique transaction ID for each game transaction|
-
-
-## Request Example
-```json
-{
-    "action": 3,
-    "uid": "useraccount",
-    "mode": 0,
-    "bet": 1.00,
-    "spjpbet": 0.0145,
-    "win": 10.12,
-    "ts":1732083839446,
-    "gid":"afa026",
-    "roundId":"1zr83u41gohrz",
-    "transId":"1zr8cu31gohrz"
-}
-```
-
-## Return Result
-
- | Name | Type | Description |
- |:--------:|:-----:|:--------:|
- | action | int32 |3,Game result operation code |
- | status | int32 | status code ,Type int32_t|
- | balance | double | User's current latest score, accurate to two decimal places as a valid floating-point number |
- | currency | string(3) |  USD currency code |
-
- ##    Success Result
-
-```
-{
-    "action": 3,
-    "status": 1,
-    "balance": 3000.34,
-    "currency": “USD”
-}
-
-```
-
->   <font color="red">Note: When status=1, the data is successful; otherwise, it is failed.</font>
-
- ## Failed Result
-
-```
-{
-"status": 1003
-}
-```

+ 0 - 1
seamless/en/_sidebar.md

@@ -11,7 +11,6 @@
    * [Get gamelist](en/game_list)
    * [Get Balance](en/Check_Balance)
    * [Placing a bet](en/bet)
-   * [Game result](en/result1)
    * [Get round detail](en/round_detail)
    * [Get player total profit](en/total_profit_or_loss)
    * [Get free game count](en/free_count)

+ 0 - 81
seamless/zh/Result1.md

@@ -1,81 +0,0 @@
-# <font >游戏结果</font>
-## 描述
-
-> 此功能是下注后,BeSoft游戏返回的输赢结果。此消息可能会多次重复发送。根据transferId来判断是否为重复消息。
-
-> 请求方式(BeSoft -> Host):post 
-
-> Besoft发出的请求数据格式是: application/json
-
-> Host返回数据格式是: application/json
-
-## 请求地址
->	由运营商(Host)提供。
-```
-https://{host}/[notify_url]
-或者
-http://{host}/[notify_url]
-```
-
-
-## 请求参数
-
- | 名称 | 类型 | 必要 |描述|
- |:--------:|:-----:|:--------:|:--------:|
- | action | int32 | Y |结果操作码|
- | uid | string(32)  | Y |玩家账号|
- | mode | int32 | Y |游戏模式|
- | gid | string | Y |游戏ID|
- | bet | double | Y |下注分数,精确到小数点后2位有效浮点数,并参与分数结算|
- | spjpbet | double | Y |单次累计奖池下注值|
- | win | double | Y |赢回分数,精确到小数点后2位有效浮点数,并参与分数结算|
- | ts | int64 | Y |消息请求时的时间戳|
- | roundId | string | Y |每局游戏的回合唯一ID|
- | transId | string | Y |每次游戏的交易ID,此id为交易的唯一ID|
-
-## 请求示例
-```json
-{
-    "action": 3,
-    "uid": "useraccount",
-    "mode": 0,
-    "bet": 1.34,
-    "spjpbet": 0.0124,
-    "win": 10.21,
-    "ts":1732083839446,
-    "gid":"afa026",
-    "roundId":"1zr83u41gohrz",
-    "transId":"1zr8cu31gohrz"
-}
-```
-
-## 返回结果
-
- | 名称 | 类型 | 必要 |
- |:--------:|:-----:|:--------:|
- | action | int32 | 3,游戏结果操作码 |
- | status | int32 | 状态代码,类型是int32_t |
- | balance | double | 用户当前最新分数,精确到小数点后面2位有效浮点数 |
- | currency | string(3) |  货币编码 |
-
- ## 成功的结果
-
-```
-{
-    "action": 3,
-    "status": 1,
-    "balance": 3000.34,
-    "currency": “USD”
-}
-
-```
-
-><font color="red">注释:当 status=1数据为成功,否则为失败</font>
-
- ## 失败的结果
-
-```
-{
-"status": 1003
-}
-```

+ 0 - 1
seamless/zh/_sidebar.md

@@ -11,7 +11,6 @@
    * [获取游戏列表](zh/game_list)
    * [查询余额](zh/Check_Balance)
    * [押注](zh/bet)
-   * [游戏结果](zh/result1)
    * [后台游戏细单](zh/round_detail)
    * [玩家总输赢](zh/total_profit_or_loss)
    * [免费游戏剩余次数](zh/free_count)

+ 0 - 94
transfer/en/HIs_Time.md

@@ -1,94 +0,0 @@
-#   <font >Get Balance Operation Log By Time</font>
-##  Description
->   This function allows Operator to query previous balance operation for target player via transaction code. This is to query and understand if previous transaction is successfully updated.
-
-> Request method:( Host-> BeSoft):post 
-
-> Encoding method:application/x-www-form-urlencoded
-
-> Besoft The response data format is: application/json
-
-##  Method URL
-> {besoftapi}/api/game/getbalanceoperationLog
-
-##  Request Parameters
-
-|Name	|  Type   | Required    |	Description |
-|--------|-----|--------|--------|
-|cert|          String     |Y|	        security code|
-|extension1|	String     |Y|	        agent Id|
-|startdate|     String     |Y|	        Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)Start date and time|
-|enddate|       String     |Y|	        Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)End date and time|
-|page|          Int32      |Y|	        start from 0 |
-|pagesize|	    Int32      |Y|	        maximum 2000
-
-
-## Example
-- URL:
-    - http://127.0.0.1:8000/api/game/getbalanceoperationLog
-- HTTP Method
-    -   POST
-- Form Data
-    > Content-Type: application/x-www-form-urlencoded
-    ``` 
-    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
-    extension1:adminweb
-    startdate:1700122818110
-    enddate:1700123037718
-    page:0
-    pagesize:20
-    ```
-	
-	
-##  Return Result
-
-|Nmae|	Type    |	Description    |
-|--------|----------|--------|
-|status|            Int32           |status code|
-|totalsize|         Int32           |total transactions in query result|
-|result|            array           |Result data array|
-|result.user|       string          |Player account|
-|result.sellbuy|    double          |1. Transfer score to player  , 2. Transfer score from player|
-|result.createdate| Int64           |TimeStamp of data addition (MS)|
-|result.extension1| string          |Agent account|
-
-
-## Successful  Result
-
-
-```
-
-{
-    "status": 1,
-    "totalsize": 2,
-    "result": [
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "2",
-            "tradescore": "10.00",
-            "createdate": 1732500566495
-        },
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "1",
-            "tradescore": "10.00",
-            "createdate": 1732500566495
-        }
-    ]
-}
-
-```
-##  Failed Result
-```
-{"status":1, "totalsize": 0,"result":[]}
-```
-
-##   Failed Result
-
-```
-{
-"status": 0
-}
-```

+ 0 - 92
transfer/en/Recode.md

@@ -1,92 +0,0 @@
-#   Get Transactions By Last Update Date 
-
-##  Description
-
->This function allows Operator to get transactions by last update date. Without getting too much duplicated data. Return "3000" records at most per API Call (ascending order). Suggest operator to invoke this API every 3~5 minutes.
-
-> Request method:( Host-> BeSoft):post 
-
-> Encoding method:application/x-www-form-urlencoded
-
-> Besoft The response data format is: application/json
-
-##  Method URL
-
->{besoftapi}/api/game/getbalanceoperationLog
-
-##  Request Parameters
-
-|   Name  |	Type   |	Required    |	Description   |
-|   --------   |  ----------    |   --------    |  -------- |
-|cert|	        string	|Y|	    security code|
-|user|	        string	|Y|	    only one user name, Query all user transactions if user name is empty|
-|extension1|	string	|Y|	    Agent ID|
-|status|	    integer	|N|	    return all data0: return settled data   ,   1: return cancelled data|
-|startdate|	    string	|Y|	    Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)Start date and time|
-|enddate|	    string	|Y|	    Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)End date and time|
-
-
-## Example
-- URL:
-    - http://127.0.0.1:8000/api/game/getbalanceoperationLog
-- HTTP Method
-    -   POST
-- Form Data
-    > Content-Type: application/x-www-form-urlencoded
-    ``` 
-    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
-    extension1:adminweb
-    user:test1
-    page:0
-    pagesize:20
-    startdate:1700122818110
-    enddate:1700123037718
-    ```
-	
-	
-##  Return Result
-
-|  Name |	Type    |	Description   |
-|   --------   |  ----------    |   --------    | 
-|status|	        Int32	|status code|
-|totalsize|	        Int32	|total transactions in query result|
-|result|	        array	|Result data array|
-|result.user|	    string	|user id|
-|result.sellbuy|	double	|1.Transfer score to player     ,  2.Transfer score from player|
-|result.createdate|	Int64	|TimeStamp of data addition (MS)|
-|result.extension1|	string	|Agent ID|
-
-##  Successful  Result
-
-```
-{
-"status":1, "count":1, "transactions":[
-{
-"id":"2019052810043052277244837023322", "gameNumber":"201905281004305227724483702332",
-"userId":"test01", "extension1":"gggggggg", "status":"Pay", "gameId":3,
-"chair":0, "room":"0", "profit":0,
-"validbet":1,
-"count":1, "currency":"CNY",
-"updateTime":"05/28/2019 10:04:30.793",
-"createTime": 1558980270793,
-"betTransTime":"05/28/2019 10:04:30.408",
-"payTransTime":"05/28/2019 10:04:30.698", "betAmount":1,
-"realBetAmount":1, "payAmount":1, "realPayAmount":1
-}
-]
-}
-
-```
-
-##  Failed Result
-```
-{
-    "status":1, "totalsize": 0,"result":[]
-    }
-```
-##  Failed Result
-```
-{
-"status": 0
-}
-```

+ 0 - 101
transfer/en/Result1.md

@@ -1,101 +0,0 @@
-# <font >Get Balance Operation Log</font>
-##  Description
-
->This function allows Operator to query previous balance operation for players by ts_code.
-
-> Request method:( Host-> BeSoft):post 
-
-> Encoding method:application/x-www-form-urlencoded
-
-> Besoft The response data format is: application/json
-
-
-##   Method URL 
-
-```
-{besoftapi}/api/game/getbalanceoperationLog
-
-```
-
-
-##    Request Parameters
-
-|   Name   |	Type    |	Required	|Description|
-| -------- | -------- | -------- |    -------- |  
-|cert|	String	|Y|	security code|
-|user|	String	|Y|	Agent ID|
-|extension1	|String	|Y|	User ID|
-
-## Example
-- URL:
-    - http://127.0.0.1:8000/api/game/getbalanceoperationLog
-- HTTP Method
-    -   POST
-- Form Data
-    > Content-Type: application/x-www-form-urlencoded
-    ``` 
-    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
-    user:test1
-    extension1:adminweb
-    ```
-	
-	
-	
-## Return Result
-
-| Name  | 	Type| 	Description | 
-| -------- | -------- | -------- |    
-| status	| Int32| 	status code| 
-| totalsize| 	Int32| 	total transactions in query result| 
-| result	| Int32| 	Result data array| 
-| result.user| 	string	| Player account| 
-| result.sellbuy	| double| 	1. Transfer score to player  2 .Player transfers out score| 
-| result.createdate	| Int64| TimeStamp of data addition (MS)|
-| result.extension1| 	string| 	Agent account| 
-
-
->ts_code not found Result
-
-```
-        {
-            "status":1, "totalsize": 0,"result":[]
-
-            }
-```
-
-
- ##    Success Result
-
-```
-{
-"status": 1,
-    "totalsize": 2,
-    "result": [
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "2",
-            "tradescore": "10.00",
-            "createdate": 1558980270793
-        },
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "1",
-            "tradescore": "10.00",
-            "createdate": 1558980270793
-        }
-    ]
-}
-
-```
-
->   <font color="red">Annotation: Data indicates success when status=1, otherwise it indicates failure.</font>
-
- ## Failed Result
-
-```
-{
-"status": 0
-}
-```

+ 0 - 94
transfer/zh/His_time.md

@@ -1,94 +0,0 @@
-#   <font >余额操作记录-时间</font>
-##  描述
->   此功能允许运营商通过交易代码查询目标玩家的先前余额操作。 这是查询并了解先前的事务是否已成功更新
-
-> 请求方式( Host-> BeSoft):post 
-
-> 编码方式:application/x-www-form-urlencoded
-
-> Besoft响应的数据格式是: application/json
-
-##  网址
->   {besoftapi}/api/game/getbalanceoperationLog
-
-##  请求参数
-
-|名称	|   类型   |	必要    |	描述|
-|--------|-----|--------|--------|
-|cert|          String     |Y|	        安全代码|
-|extension1|	String     |Y|	        代理 ID|
-|startdate|     String     |Y|	        Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)起始时间日期|
-|enddate|       String     |Y|	         Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)结束时间日期|
-|page|          Int32      |Y|	        资料页码, 从 0 开始|
-|pagesize|	    Int32      |Y|	        最大值 1000|
-
-
-## 示例
-- URL:
-    - http://127.0.0.1:8000/api/game/getbalanceoperationLog
-- HTTP Method
-    -   POST
-- 表单数据
-    > Content-Type: application/x-www-form-urlencoded
-    ``` 
-    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
-    extension1:adminweb
-    startdate:1700122818110
-    enddate:1700123037718
-    page:0
-    pagesize:20
-    ```
-	
-	
-##  返回结果
-
-|名称|	类型    |	描述    |
-|--------|----------|--------|
-|status|            Int32           |状态代码|
-|totalsize|         Int32           |本次查询总笔数|
-|result|            array           |结果数据数组|
-|result.user|       string          |玩家账号|
-|result.sellbuy|    double          |1-是向玩家转入分数  ,  2-是玩家转出分数|
-|result.createdate| Int64           | TimeStamp of data addition (MS)|
-|result.extension1| string          |代理 ID|
-
-
-##  成功的结果
-
-
-```json
-
-{
-    "status": 1,
-    "totalsize": 2,
-    "result": [
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "2",
-            "tradescore": "10.00",
-            "createdate": 1558980270793
-        },
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "1",
-            "tradescore": "10.00",
-            "createdate": 1558980270793
-        }
-    ]
-}
-
-```
-## 查无资料的结果
-```
-{"status":1, "totalsize": 0,"result":[]}
-```
-
-##  失败的结果
-
-```
-{
-"status": 0
-}
-```

+ 0 - 92
transfer/zh/Recode.md

@@ -1,92 +0,0 @@
-#   获得交易记录 
-
-##  描述
-
->此函数允许运营商按"上次更新日期"获取"交易记录"。因此不会得到太多重复的数据。每次 API 调用最多返回"5000"条记录 (时间递增排列), 建议每 3〜5 分钟调用此函示
-
-> 请求方式( Host-> BeSoft):post 
-
-> 编码方式:application/x-www-form-urlencoded
-
-> Besoft响应的数据格式是: application/json
-
-##  网址
-
->{besoftapi}/api/game/getbalanceoperationLog
-
-##  请求参数
-
-|   名称   |	类型    |	必要    |	描述   |
-|   --------   |  ----------    |   --------    |  -------- |
-|cert|	        string	|Y|	    安全代码|
-|user|	        string	|Y|	    输入单一玩家用户名, 如果用户名为空,则查询所有玩家|
-|extension1|	string	|Y|	    代理 ID|
-|status|	    integer	|N|	    不存在: return all data , 回传全部资料   ,     0: return settled data, 代理向用户转入  ,   1: return cancelled data, 用户向代理转入|
-|startdate|	    string	|Y|	    Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)起始时间日期|
-|enddate|	    string	|Y|	    Need to convert datetime to long  format. 1517265756000 : 2018/01/30 06:42:36(GMT+8)结束时间日期|
-|page|	        string	|N|	    查询的页码|
-|pagesize|	     string	|N|	    每页条数(一页最大2000)|
-
-
-## 示例
-- URL:
-    - http://127.0.0.1:8000/api/game/getbalanceoperationLog
-- HTTP Method
-    -   POST
-- 表单数据
-    > Content-Type: application/x-www-form-urlencoded
-    ``` 
-    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
-    extension1:adminweb
-    user:test1
-    page:0
-    pagesize:20
-    startdate:1700122818110
-    enddate:1700123037718
-    ```
-	
-	
-##  返回结果
-
-|   名称   |	类型    |	描述    |
-|   --------   |  ----------    |   --------    | 
-|status|	        Int32	|2 注操作标识符|
-|totalsize|	        Int32	|状态代码,类型是int32_tv|
-|result|	        array	|用户当前最新分数,精确到小数点后面两位有效浮点数|
-|result.user|	    string	|用户ID|
-|result.sellbuy|	double	|1:是向玩家转入分数 ,   2:是玩家转出分数|
-|result.createdate|	Int64	| 资料新增时间戳(毫秒) |
-|result.extension1|	string	|代理 ID|
-
-##  成功的结果
-
-```
-{
-"status":1, "count":1, "transactions":[
-{
-"id":"2019052810043052277244837023322", "gameNumber":"201905281004305227724483702332",
-"userId":"test01", "extension1":"gggggggg", "status":"Pay", "gameId":3,
-"chair":0, "room":"0", "profit":0,
-"validbet":1,
-"count":1, "currency":"CNY",
-"updateTime":"05/28/2019 10:04:30.793",
-"createTime": 1558980270793,
-"betTransTime":"05/28/2019 10:04:30.408",
-"payTransTime":"05/28/2019 10:04:30.698", "betAmount":1,
-"realBetAmount":1, "payAmount":1, "realPayAmount":1
-}
-]
-}
-
-```
-
-##  查无资料的结果
-```
-{"status":1, "totalsize": 0,"result":[]}
-```
-## 失败的结果
-```
-{
-"status": 0
-}
-```

+ 0 - 100
transfer/zh/Result1.md

@@ -1,100 +0,0 @@
-# <font >余额操作记录-玩家</font>
-## 描述
-
-> 此功能允许运营商根据 ts_code 查询玩家們之前的余额操作。
-
-> 请求方式( Host-> BeSoft):post 
-
-> 编码方式:application/x-www-form-urlencoded
-
-> Besoft响应的数据格式是: application/json
-
-
-
-## 网址
-
-```
-{besoftapi}/api/game/getbalanceoperationLog
-
-
-```
-
-
-## 请求参数
-
- | 名称 | 类型 | 必要 |描述|
- |:--------:|:------------:|:--------:|:------------------:|
- | cert | String | Y |安全代码|
- | user | String  | Y |用户ID|
- | extension1 | String | Y |代理帐号|
- 
-
-## 示例
-- URL:
-    - http://127.0.0.1:8000/api/game/getbalanceoperationLog
-- HTTP Method
-    -   POST
-- 表单数据
-    > Content-Type: application/x-www-form-urlencoded
-    ``` 
-    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
-    user:test1
-    extension1:adminweb
-    ```
-	
-	
-## 返回结果
-
- | 名称 | 类型 | 必要 |
- |:--------:|:-----:|:--------:|
- | status | int32 |状态代码 |
- | totalsize | int32 | 本次查询总笔数 |
- | result | string | 玩家账号 |
- | result.user | double |  1-是向玩家转入分数,2-是玩家转出分数 |
- | result.createdate | Int64 | 资料新增时间戳(毫秒) |
- | result.extension1 | string | 代理帐号  |
- 
->   ts_code not found Result( 查詢不到ts_code 的结果)
-
-
-```
-{"status":1, "totalsize": 0,"result":[]}
-
-```
-
- ## 成功的结果
-
-```json
-{
-    "status": 1,
-    "totalsize": 2,
-    "result": [
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "2",
-            "tradescore": "10.00",
-            "createdate": 1558980270793
-        },
-        {
-            "user": "test1",
-            "extension1": "admin",
-            "sellbuy": "1",
-            "tradescore": "10.00",
-            "createdate": 1558980270793
-        }
-    ]
-}
-
-
-```
-
-><font color="red">注释:当 status=1数据为成功,否则为失败</font>
-
- ## 失败的结果
-
-```
-{
-"status": 0
-}
-```