Kaynağa Gözat

Merge branch 'package' of GameCenter/game-center into dev

zhimo 1 yıl önce
ebeveyn
işleme
af41cef260

+ 1 - 1
game-module/game-module-sdk/src/main/java/com/zanxiang/game/module/sdk/SDKApplication.java

@@ -23,7 +23,7 @@ public class SDKApplication {
 
     public static void main(String[] args) {
         SpringApplication.run(SDKApplication.class, args);
-        System.out.println("赞象SDK服务启动成功 <修正用户渠道变更的回传BUG> ( ´・・)ノ(._.`) \n" +
+        System.out.println("赞象SDK服务启动成功 <渠道变更不上线时长更新为60天> ( ´・・)ノ(._.`) \n" +
                 " ___________ _   __\n" +
                 "/  ___|  _  \\ | / /\n" +
                 "\\ `--.| | | | |/ / \n" +

+ 1 - 1
game-module/game-module-sdk/src/main/java/com/zanxiang/game/module/sdk/service/impl/AgentServiceImpl.java

@@ -69,7 +69,7 @@ public class AgentServiceImpl extends ServiceImpl<AgentMapper, Agent> implements
             //最近登录时间
             LocalDateTime lastLoginTime = userLoginLogList.get(0).getCreateTime();
             //最近登录未超过30天
-            if (lastLoginTime.plusDays(30L).isAfter(LocalDateTime.now())) {
+            if (lastLoginTime.plusDays(60L).isAfter(LocalDateTime.now())) {
                 return;
             }
             //30天未登录, 更新渠道