File was renamed from Project/app/src/game_498_mrgame/java/com/secondworld/univeralsdk/MrPlatformUtil.java |
| | |
| | | responseLoginData.getUserType(), |
| | | responseLoginData.getPhone(), |
| | | responseLoginData.isRT())); |
| | | |
| | | try |
| | | { |
| | | m_Message.clear(); |
| | | JSONObject _info = new JSONObject(); |
| | | _info.put("account", responseLoginData.getUsername()); |
| | | _info.put("token", responseLoginData.getLoginToken()); |
| | | _info.put("accountID", responseLoginData.getUid()); |
| | | _info.put("account", responseLoginData.getUid()); |
| | | _info.put("token", responseLoginData.getVsign()); |
| | | _info.put("account_id", responseLoginData.getUid()); |
| | | m_Message.put("code", CodeA2U.FreePlatformLoginOk); |
| | | m_Message.put("info", _info); |
| | | UniversalUtil.sendMessageToUnity(m_Message); |
| | |
| | | String level, |
| | | String extraData, |
| | | String serverID, |
| | | String orderID) |
| | | String orderID, |
| | | String notifyUrl) |
| | | { |
| | | final MrPayEntity _entity = new MrPayEntity(); |
| | | _entity.setProductid(productID); |
| | |
| | | _entity.setServerid(serverID); |
| | | _entity.setGamecno(orderID); |
| | | _entity.setChannel("1"); |
| | | _entity.setNotifyurl(notifyUrl); |
| | | |
| | | CommonMrSdk.getInstance().pay(activity, _entity, new MrCallback<Void>() |
| | | { |