|
@@ -10,8 +10,6 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import cn.hutool.core.util.ObjUtil;
|
|
|
-import org.springframework.beans.factory.annotation.Value;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
|
|
|
/**
|
|
|
* @author Xiewj
|
|
@@ -140,7 +138,7 @@ public class RegCodeUtil {
|
|
|
}
|
|
|
}
|
|
|
public static void main(String[] args) {
|
|
|
- RegCodeUtil uat = RegCodeUtil.builder().env("PROD").build();
|
|
|
+ RegCodeUtil uat = RegCodeUtil.builder().env("UAT").build();
|
|
|
|
|
|
String machineCode="8CA4224EB41BE3AD8998415EA0460F39845AC74625B3158A84AD18CEAC5FD6F4500CCC34309F7045F726AA6968F908C9";
|
|
|
|
|
@@ -171,14 +169,15 @@ public class RegCodeUtil {
|
|
|
// camRegDto.setSn("a0ia7r137");
|
|
|
// camRegDto.setCameraType(9);
|
|
|
|
|
|
- CamRegDto camRegDto=new CamRegDto();
|
|
|
- camRegDto.setSn("a123456789");
|
|
|
- camRegDto.setCameraType(10);
|
|
|
- list.add(camRegDto);
|
|
|
+// CamRegDto camRegDto=new CamRegDto();
|
|
|
+// camRegDto.setSn("a123456789");
|
|
|
+// camRegDto.setCameraType(10);
|
|
|
+// list.add(camRegDto);
|
|
|
|
|
|
|
|
|
CamRegDto camRegDto1=new CamRegDto();
|
|
|
- camRegDto1.setSn("b123456789");
|
|
|
+ camRegDto1.setSn("902ce60f5");
|
|
|
+// camRegDto1.setToSn("c123456789");
|
|
|
camRegDto1.setCameraType(9);
|
|
|
|
|
|
list.add(camRegDto1);
|