From 66923f352486079b4a699aacd02418504b1828dc Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期四, 17 一月 2019 16:27:18 +0800
Subject: [PATCH] update 易乐sdk库

---
 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