chufan

add test url

Showing 1 changed file with 21 additions and 1 deletions
...@@ -16,7 +16,27 @@ is_favorite:是否收藏(0:未收藏,1:已收藏),收藏功能用于 ...@@ -16,7 +16,27 @@ is_favorite:是否收藏(0:未收藏,1:已收藏),收藏功能用于
16 16
17 17
18 18
19 -##### 1.1.2 前端初始化(必接) 19 +##### 1.1.2 调试测试地址
20 +
21 +1、请求地址:http://m.uuufish.com/game/play/h5/{{app_id}}.html 
22 +2、请求方式:app_id 由我方提供
23 +可传参数:GET/POST
24 +
25 +![1.png](http://cdn.syb.ren/static/upload/upfile/2016/11/29/aeedeadb7e12d38f6f37f0cf1aefdc00.png)
26 +
27 +登录成功后,会跳转回指定的URL并通过GET方式携带以下参数
28 +
29 +![2.png](http://cdn.syb.ren/static/upload/upfile/2016/11/29/aa3d5d212345c0fb48380de69d296671.png)
30 +
31 +Token生成规则:
32 +1. 待签名拼串:  open_idd + ‘&’ + timestamp + ‘&’ + app_server_key(计算时无+号)
33 +2. MD5后转小写
34 +客服端从SDK处得到以上参数后,提交到游戏服务器进行验证,
35 +服务端验签时,需对时间戳进行判断,通常20分钟内可视为有效 
36 +
37 +
38 +
39 +##### 1.1.3 前端初始化(必接)
20 40
21 游戏加载时加载我方js文件,并做初始化 41 游戏加载时加载我方js文件,并做初始化
22 42
......