From 3d3a9b46b56ded968b1803456470b5ec31e43ce7 Mon Sep 17 00:00:00 2001 From: 喻健 <喻健@Admin> Date: 星期五, 30 十一月 2018 14:10:42 +0800 Subject: [PATCH] 调整推送内容以及队员返回字段 --- fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java index 29647e6..0894b3f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/UserInfoController.java @@ -1618,10 +1618,10 @@ long secondTeam = threeSaleSerivce.countSecondTeam(uid, 1); long secondTeamTotal = threeSaleSerivce.countSecondTeam(uid, null); - JSONObject bossData = new JSONObject(); + JSONObject bossData = null; ThreeSale threeSale = threeSaleSerivce.getMyBoss(uid); if (threeSale != null) { - + bossData = new JSONObject(); UserInfo boss = threeSale.getBoss(); if (boss != null) { bossData.put("nickName", boss.getNickName()); @@ -1664,10 +1664,10 @@ long secondTeam = threeSaleSerivce.countSecondTeam(uid, 1); long secondTeamTotal = threeSaleSerivce.countSecondTeam(uid, null); - JSONObject bossData = new JSONObject(); + JSONObject bossData = null; ThreeSale threeSale = threeSaleSerivce.getMyBoss(uid); if (threeSale != null) { - + bossData = new JSONObject(); UserInfo boss = threeSale.getBoss(); if (boss != null) { bossData.put("nickName", boss.getNickName()); -- Gitblit v1.8.0