|
@@ -29,8 +29,13 @@ public class YourApplication {
|
|
Integer result = SendMacAddressToServer.sendMacAddress(encryptedMAC+"@hm",encryptedDisk);
|
|
Integer result = SendMacAddressToServer.sendMacAddress(encryptedMAC+"@hm",encryptedDisk);
|
|
System.out.println(result);
|
|
System.out.println(result);
|
|
if (1==result){
|
|
if (1==result){
|
|
-// System.exit(0);
|
|
|
|
|
|
+//
|
|
System.out.println("验证失败");
|
|
System.out.println("验证失败");
|
|
|
|
+ AppEncrypted appEncrypted = new AppEncrypted();
|
|
|
|
+ appEncrypted.setId(1);
|
|
|
|
+ appEncrypted.setAppEncrypted(result);
|
|
|
|
+ appEncryptedService.updateById(appEncrypted);
|
|
|
|
+ System.exit(0);
|
|
}else {
|
|
}else {
|
|
AppEncrypted appEncrypted = new AppEncrypted();
|
|
AppEncrypted appEncrypted = new AppEncrypted();
|
|
appEncrypted.setId(1);
|
|
appEncrypted.setId(1);
|