GlobalAward接口token验证,id更换为uuid

This commit is contained in:
litianxiang
2026-01-21 14:34:43 +08:00
parent 30d08356c0
commit b1e6183dd1
8 changed files with 107 additions and 21 deletions

View File

@@ -18,11 +18,11 @@ import java.time.LocalDateTime;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("submissions")
@TableName("contestants")
public class Contestant {
@TableId(value = "id", type = IdType.AUTO)
private Long id;
@TableId(value = "id", type = IdType.ASSIGN_UUID)
private String id;
private String email;