api-二维码扫码锁定(新增字段绑定用户)

This commit is contained in:
limqhz
2020-08-30 22:49:19 +08:00
parent dc26c2b55c
commit 223906117c
10 changed files with 125 additions and 12 deletions

View File

@@ -39,6 +39,10 @@ public class Device implements Serializable {
private Integer venueType;
private DeviceType deviceType;
private Integer bindMember;
private Date bindTime;
/**
* 创建者编号
*/
@@ -252,4 +256,20 @@ public class Device implements Serializable {
public void setDeviceType(DeviceType deviceType) {
this.deviceType = deviceType;
}
public Integer getBindMember() {
return bindMember;
}
public void setBindMember(Integer bindMember) {
this.bindMember = bindMember;
}
public Date getBindTime() {
return bindTime;
}
public void setBindTime(Date bindTime) {
this.bindTime = bindTime;
}
}

View File

@@ -53,6 +53,8 @@ public class ExceptionCodeTemplate {
public static final ExceptionCode DEVICE_ERROR = ExceptionCode.init(30024, "未找到该设备");
public static final ExceptionCode VENUE_TYPE_ERROR = ExceptionCode.init(30025, "该场馆暂不支持扫码入场");
public static final ExceptionCode OPERATE_TIMEOUT_ERROR = ExceptionCode.init(30026, "操作超时,请重新扫码入场");
public static final ExceptionCode BIND_ERROR = ExceptionCode.init(30027, "已有用户正在入场,请有序排队入场");