Jelajahi Sumber

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

zhimo 15 jam lalu
induk
melakukan
04d93a152e

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/ManageApplication.java

@@ -23,7 +23,7 @@ public class ManageApplication {
 
     public static void main(String[] args) {
         SpringApplication.run(ManageApplication.class, args);
-        System.out.println("赞象Manage服务启动成功 < (游戏玩家充值白名单操作接口 ・・)ノ(._.`) \n" +
+        System.out.println("赞象Manage服务启动成功 < (游戏玩家充值白名单操作接口-01 ・・)ノ(._.`) \n" +
                 "___  ___  ___   _   _   ___  _____  _____ \n" +
                 "|  \\/  | / _ \\ | \\ | | / _ \\|  __ \\|  ___|\n" +
                 "| .  . |/ /_\\ \\|  \\| |/ /_\\ \\ |  \\/| |__  \n" +

+ 1 - 1
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/service/impl/UserRechargeWhiteServiceImpl.java

@@ -57,7 +57,7 @@ public class UserRechargeWhiteServiceImpl extends ServiceImpl<UserRechargeWhiteM
                         .or().eq(User::getUsername, param.getAccount())
                         .or().eq(User::getId, param.getAccount()))
                 .orderByDesc(User::getUpdateTime)
-                .apply("limit 1"));
+                .last("limit 1"));
         if (user == null) {
             throw new BaseException("添加玩家充值白名单失败, 玩家不存在");
         }