mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 后管生成个人桩时,生成密钥逻辑,并且绑定个人桩时增加密钥校验
This commit is contained in:
@@ -40,6 +40,12 @@ public class PileBasicInfo extends BaseEntity {
|
||||
@Excel(name = "经营类型", readConverterExp = "1=-运营桩;2-个人桩")
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 个人桩密钥(八位,字母数字组合)
|
||||
*/
|
||||
@Excel(name = "个人桩密钥")
|
||||
private String secretKey;
|
||||
|
||||
/**
|
||||
* 软件协议(1-云快充;2-永联)
|
||||
*/
|
||||
@@ -190,12 +196,21 @@ public class PileBasicInfo extends BaseEntity {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public String getSecretKey() {
|
||||
return secretKey;
|
||||
}
|
||||
|
||||
public void setSecretKey(String secretKey) {
|
||||
this.secretKey = secretKey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("sn", getSn())
|
||||
.append("businessType", getBusinessType())
|
||||
.append("secretKey", getSecretKey())
|
||||
.append("softwareProtocol", getSoftwareProtocol())
|
||||
.append("productionDate", getProductionDate())
|
||||
.append("licenceId", getLicenceId())
|
||||
|
||||
@@ -51,4 +51,10 @@ public class BatchCreatePileDTO {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 经营类型
|
||||
* 1-运营桩;2-个人桩
|
||||
*/
|
||||
private String chargerPileType;
|
||||
}
|
||||
|
||||
@@ -15,6 +15,11 @@ public class PileMemberBindingDTO {
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 个人桩密钥
|
||||
*/
|
||||
private String secretKey;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user