Commit c7b074b4505b7e75954324b5465c619325d07919

Authored by 赵康
1 parent f857501755
Exists in master

升级文档

Showing 1 changed file with 6 additions and 5 deletions Side-by-side Diff

doc/AndroidDocument.md
... ... @@ -2,8 +2,8 @@
2 2  
3 3  
4 4 接入手册
5   -V 3.3.4
6   -2016年01月22日
  5 +V 3.3.5
  6 +2016年03月04日
7 7  
8 8 快速入口:
9 9 [支付部分服务端回调文档](http://git.letsgame.mobi/document/gumptech-document/blob/master/doc/ServerDocument.md)
... ... @@ -170,7 +170,7 @@ InitializeCallback为初始化回调接口,此接口只有一个回调方法init
170 170  
171 171  
172 172 3.支付功能
173   - 1)使用gump通行证登录,其中除nick外所有参数为必传参数
  173 + 1)使用gump通行证登录,其中除nick和roleId外所有参数为必传参数
174 174  
175 175 Bundle payInfo = new Bundle();
176 176 payInfo.putString("nick", "thi");
... ... @@ -179,9 +179,10 @@ InitializeCallback为初始化回调接口,此接口只有一个回调方法init
179 179 payInfo.putString("extraInfo", "This is demo!");
180 180 payInfo.putString("serverId", "B4003");
181 181 payInfo.putString("roleId", "10010");
  182 + payInfo.putString("sessionKey","sessionkey");
182 183 GumpSDK.pay(MainActivity.this, payInfo,PurchaseCallback);
183   -调用pay方法时,必须穿入一个bundle对象,包含如上字段,除nick外所有字段必须全部包含
184   - 2)未使用gump通行证登录,需要传入用户id
  184 +调用pay方法时,必须穿入一个bundle对象,包含如上字段,除nick和roleId外所有字段必须全部包含,其中sessionKey为登录时返回的sessionKey
  185 + 2)未使用gump通行证登录,需要传入用户id,同时sessionKey不再需要
185 186  
186 187 Bundle payInfo = new Bundle();
187 188 payInfo.putString("nick", "thi");