增加统一token验证,未完成
This commit is contained in:
@@ -2,6 +2,7 @@ package com.onekeycall.videotablet.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.data.annotation.Id;
|
||||
import org.springframework.data.mongodb.core.index.Indexed;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
import org.springframework.data.mongodb.core.mapping.Field;
|
||||
|
||||
@@ -15,6 +16,7 @@ public class DeviceApkInfo {
|
||||
@Id
|
||||
private String id; // MongoDB文档ID
|
||||
|
||||
@Indexed
|
||||
@Field("sn")
|
||||
private String sn; // 设备序列号
|
||||
|
||||
|
||||
Reference in New Issue
Block a user