From a21ce438b27d577f410f09ecabeb831646ca3ace Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 19 一月 2019 11:04:57 +0800
Subject: [PATCH] 5963 多人 【前端】【1.5.0开始】各平台的注册数据同步为游戏后台统计的方式
---
Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java b/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java
index c9dc28a..129ace7 100644
--- a/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java
+++ b/Project/yl_sdk/src/game_ylgame/java/com/secondworld/univeralsdk/YLPlatformUtil.java
@@ -152,13 +152,15 @@
{
StringBuilder _stringBuilder = new StringBuilder();
_stringBuilder.append("http://pub.game.2460web.com:11000/event_receiver?").
- append("ProductID=mhtj").
+ append("ProductID=snxxz").
append("&OperatorID=").append("yilegame").
append("&RegionName=data").
append("&RegionID=").append(serverID).
append("&EventID=1105").
append("&Time=").append(UniversalUtil.getStringDate()).
append("&AccountID=").append(m_AccountID);
+
+ LogUtil.i(TAG,"娉ㄥ唽璇锋眰: " + _stringBuilder.toString());
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
@@ -177,7 +179,7 @@
if(response.isSuccessful()){
String _code = response.body().string().trim();
LogUtil.i(TAG,"娉ㄥ唽杩斿洖 : " + _code);
- if(response.body().string().equals("1"))
+ if(_code.equals("1"))
{
Tracking.setRegisterWithAccountID(m_AccountID);
EventUtils.setRegister("mobile",true);
--
Gitblit v1.8.0