chufan

add test url

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