条款、服务协议、隐私政策 这些长text字段,为减缓宽带消耗,放到oss中加载

This commit is contained in:
谭凯凯
2025-01-13 15:46:45 +08:00
committed by Tankaikai
parent 6d535793f8
commit 1e86dd8292
2 changed files with 19 additions and 3 deletions

View File

@@ -180,7 +180,9 @@ public class DiscSpinningController {
Integer i = recordService.countDraw(userId);
if ((i != null && i.equals(2)) || !source.equals(1)) {
boolean auth = userInfoService.isAuth(userId);
if(!auth) return Result.error("剩余抽奖活动需要实名认证后进行");
if(!auth) {
return Result.error("剩余抽奖活动需要实名认证后进行");
}
}
if (source == null || source.equals(1)) {
source = 1;