admin
2020-05-16 03f9370b85d930bd232f72721e826b5875f898cb
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserAccountController.java
@@ -266,14 +266,6 @@
         ThreadUtil.run(new Runnable() {
            public void run() {
               try {
                  int platformType = 0;
                  String platform = acceptData.getPlatform();
                  if ("android".equals(platform)) {
                     platformType = 1;
                  } else if ("ios".equals(platform)) {
                     platformType = 2;
                  }
                  userSystemCouponService.copyLotteryPrize(uuser.getId(), platformType, acceptData.getDevice());
                  // 绑定oppo,vivo推送
                  DeviceActive active = deviceActiveService.getFirstActiveInfo(acceptData.getDevice());
                  if (active != null) {
@@ -1198,20 +1190,6 @@
                     homeNavbarUserService.synchroDeviceToUser(uuser.getId(), device);
                  } catch (Exception e) {
                     LogHelper.errorDetailInfo(e);
                  }
                  /* 同步未登录之前设备抽奖数据 */
                  try {
                     int platformType = 0;
                     String platform = acceptData.getPlatform();
                     if ("android".equals(platform)) {
                        platformType = 1;
                     } else if ("ios".equals(platform)) {
                        platformType = 2;
                     }
                     userSystemCouponService.copyLotteryPrize(uuser.getId(), platformType, device);
                  } catch (Exception e) {
                     e.printStackTrace();
                  }
                  // 绑定oppo推送