nili 9 months ago
parent
commit
f6e8f616dd
  1. 2
      game-service/src/main/java/awesome/group/game/service/AdminService.java

2
game-service/src/main/java/awesome/group/game/service/AdminService.java

@ -62,7 +62,7 @@ public class AdminService {
Optional<MatrixApp> app = appList.stream().filter(x -> x.getCode().equals(param.code)).findFirst(); Optional<MatrixApp> app = appList.stream().filter(x -> x.getCode().equals(param.code)).findFirst();
if (app.isEmpty()) { if (app.isEmpty()) {
throw new PaganiException(PaganiExceptionCode.ILLEGAL_REQUEST, "非法请求"); return null;
} }
wrapper.eq(MatrixAdvRecord::getAppId, app.get().getId()); wrapper.eq(MatrixAdvRecord::getAppId, app.get().getId());

Loading…
Cancel
Save