From ab4f6531dd22b50b5e70551f6e638f2d783a6ff7 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 26 九月 2019 11:56:11 +0800 Subject: [PATCH] 金币领取限制 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserAccountController.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserAccountController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserAccountController.java index 4d571c5..924f3a6 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserAccountController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/UserAccountController.java @@ -262,6 +262,11 @@ platformType = 2; } userSystemCouponService.copyLotteryPrize(uuser.getId(), platformType, acceptData.getDevice()); + // 缁戝畾oppo鎺ㄩ�� + DeviceActive active = deviceActiveService.getFirstActiveInfo(acceptData.getDevice()); + if (active != null) { + deviceTokenOPPOService.bindUid(uuser.getId(), active.getId()); + } } catch (Exception e) { e.printStackTrace(); } @@ -1224,6 +1229,12 @@ e.printStackTrace(); } } + + // 缁戝畾oppo鎺ㄩ�� + DeviceActive active = deviceActiveService.getFirstActiveInfo(acceptData.getDevice()); + if (active != null) { + deviceTokenOPPOService.bindUid(uuser.getId(), active.getId()); + } } }); } -- Gitblit v1.8.0