ソースを参照

jerry 修改接口描述

qingjie 9 ヶ月 前
コミット
35ae932ef1

+ 0 - 5
seamless/en/game_mode.md

@@ -4,12 +4,7 @@
 | 0    | Normal Game Mode     |
 | 1    | Free Game Mode       |
 | 2    | Compare Game Mode    |
-| 4    | Small Game Mode      |
-| 5    | Task Game Mode       |
-| 6    | Respin Game Mode     |
-| 7    | Specific Game Mode   |
 | 11   | Bonus Buy Game Mode   |
-| 12   | Wheel Play Game MOde |
 | 13   | Mini Jackpot         |
 | 14   | Minor Jackpot        |
 | 15   | Major Jackpot        |

+ 18 - 1
seamless/en/keys.md

@@ -78,6 +78,23 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 
 ```
 
+> New interface: If you need to close the current window directly, please use the window.open mode to open, and do not need to pass the return_url
+
+
+> New interface: If the parameter return_url is added, please encode the parameter in URLEncoding mode
+
+
+> Embedded interface: If it is embedded, please listen for this message notification (closeMessage), the game manufacturer closes the game's call interface
+
+```
+{
+   window.parent.postMessage("closeMessage", "*")
+}
+
+```
+
+
+
 ## Request Parameter
 
 | Name     | Type    | Required    |   Description       | 
@@ -87,7 +104,7 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 | aid | string(20) | Y |      Agent Id  |
 | gid | string | Y |      Default launching game; if blank, go to lobby.  |
 | lang | string | Y |      Default is cn;    cn: simplified Chinese      en : english |
-| return_url | string | N |      return_url=Game off return address |
+| return_url | string | N |      return_url=Game off return address,Please encode the parameters in URLEncoding mode |
 ##     Return Result
 {
     "status": 1,

+ 0 - 5
seamless/zh/game_mode.md

@@ -4,12 +4,7 @@
 | 0        | 普通游戏模式 |
 | 1        | 免费游戏模式 |
 | 2        | 比倍游戏模式 |
-| 4        | 小游戏模式   |
-| 5        | 任务模式     |
-| 6        | 游戏重转模式 |
-| 7        | 特殊玩法模式 |
 | 11       | 购买模式     |
-| 12       | 转盘玩法模式 |
 | 13       | 迷你奖池     |
 | 14       | 小奖池       |
 | 15       | 大奖池       |

+ 12 - 1
seamless/zh/keys.md

@@ -77,8 +77,19 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 568BA675BDA3C46BCA64D243007F87C86119329271708&gid=aa0001&lang=en&return_url=https://returnyoururl.com
 
 ```
+>新开界面:如果需要直接关闭当前窗口,请使用window.open方式打开,并且不需要传入return_url
 
 
+>新开界面:如果加入return_url参数,请以URLEncoding方式编码参数
+
+
+>内嵌界面:如果是内嵌请监听此消息通知(closeMessage),游戏厂商关闭游戏的调用接口
+```
+{
+   window.parent.postMessage("closeMessage", "*")
+}
+
+```
 
 ## 请求参数
 
@@ -89,7 +100,7 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 | aid | string(20) | Y |      代理帐号  |
 | gid | string | Y |      预设登入的游戏 ID ;  |
 | lang | string | Y |      默认值为简中 (简中 英文) |
-| return_url | string | N |      return_url=游戏关闭的返回地址 |
+| return_url | string | N |      return_url=游戏关闭的返回地址 ,请以URLEncoding方式编码参数|
 ##  返回结果
 
 ### 成功的结果

+ 0 - 5
transfer/en/game_mode.md

@@ -4,12 +4,7 @@
 | 0    | Normal Game Mode     |
 | 1    | Free Game Mode       |
 | 2    | Compare Game Mode    |
-| 4    | Small Game Mode      |
-| 5    | Task Game Mode       |
-| 6    | Respin Game Mode     |
-| 7    | Specific Game Mode   |
 | 11   | Bonus Buy Game Mode  |
-| 12   | Wheel Play Game MOde |
 | 13   | Mini Jackpot         |
 | 14   | Minor Jackpot        |
 | 15   | Major Jackpot        |

+ 23 - 1
transfer/en/keys.md

@@ -75,6 +75,28 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 
 ```
 
+> New interface: If you need to close the current window directly, please use the window.open mode to open, and do not need to pass the return_url
+
+
+
+
+> New interface: If the parameter return_url is added, please encode the parameter in URLEncoding mode
+
+
+
+
+> Embedded interface: If it is embedded, please listen for this message notification (closeMessage), the game manufacturer closes the game's call interface
+
+
+```
+{
+   window.parent.postMessage("closeMessage", "*")
+}
+
+
+```
+
+
 ## Request Parameter
 
 | Name     | Type    | Required    |   Description       | 
@@ -85,7 +107,7 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 | nick | string (50) | Y |      User name Only Support 16 Unicode characters |
 | gid| Integer | Y|     input gameId as default launch game ; if blank, go to lobby. |
 | lang| string | Y|     default is cn   ,   cn : simplified Chinese     ,   en : english |
-| return_url | string | N |      return_url=Game off return address |
+| return_url | string | N |      return_url=Game off return address,Please encode the parameters in URLEncoding mode  |
 
 ##     Return Result
 

+ 0 - 5
transfer/zh/game_mode.md

@@ -4,12 +4,7 @@
 |0| 	 普通游戏模式| 
 |1| 	 免费游戏模式| 
 |2| 	 比倍游戏模式| 
-|4| 	 小游戏模式| 
-|5| 	 任务模式| 
-|6| 	 游戏重转模式| 
-|7| 	 特殊玩法模式| 
 |11| 	 购买模式| 
-|12| 	 转盘玩法模式|
 |13| 	 迷你奖池|  
 |14| 	 小奖池| 
 |15| 	 大奖池| 

+ 15 - 1
transfer/zh/keys.md

@@ -79,6 +79,20 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 568BA675BDA3C46BCA64D243007F87C86119329271708&gid=be001&lang=en&return_url=https://returnyoururl.com
 
 ```
+>新开界面:如果需要直接关闭当前窗口,请使用window.open方式打开,并且不需要传入return_url
+
+
+>新开界面:如果加入return_url参数,请以URLEncoding方式编码参数
+
+
+>内嵌界面:如果是内嵌请监听此消息通知(closeMessage),游戏厂商关闭游戏的调用接口
+```
+{
+   window.parent.postMessage("closeMessage", "*")
+}
+
+```
+
 
 ## 请求参数
 
@@ -90,7 +104,7 @@ http://{BesoftFront}/?key=3F6AE577A2E2255EF4BACF02C9F8BB1154A9C6AD2F19701
 | nick | string (50) | Y |     用户名,最多支持 16 个 Unicode 字节  |
 | gid | Integer | Y |      预设登入的游戏 ID ;  |
 | lang | string | Y |      默认值为简中 (简中 英文) |
-| return_url | string | N |      return_url=游戏关闭的返回地址 |
+| return_url | string | N |      return_url=游戏关闭的返回地址 ,请以URLEncoding方式编码参数|
 ##  返回结果
 
 ### 成功的结果