back_recharge
lvxinran 2019-08-21 18:51:34 +08:00
parent 0b211bbed1
commit 133e0acac7
2 changed files with 4 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class Repot37EventUtil {
}
String signChat =SDK37Constans.chatKey+report37CheckChat.getUid()+report37CheckChat.getGid()+report37CheckChat.getDsid()+report37CheckChat.getTime()+report37CheckChat.getType();
report37CheckChat.setSign(MD5Util.encrypByMd5(signChat));
System.out.println(gson.toJson(report37CheckChat));
// System.out.println(gson.toJson(report37CheckChat));
JSONObject jsonObject = DataMessageUtils.immediateSendPost(report37CheckChat);
T t = jsonObject.toJavaObject(clazz);
return t;

View File

@ -139,6 +139,9 @@ public class ActivityLogic {
public Set<Integer> checkActivityOfUser(User user, PlayerInfoProto.ActivityUpateIndication.Builder builder) throws Exception {
long now = TimeUtils.now();
if(user==null){
return new HashSet<>(1);
}
ActivityManager activityManager = user.getActivityManager();
Map<Integer, SGlobalActivity> sGlobalActivityMap = SGlobalActivity.getsGlobalActivityMap();
Set<Integer> openNewActivityIds = new HashSet<>();