浏览代码

删除机器名称

lyhzzz 2 年之前
父节点
当前提交
eef4a725fe

+ 0 - 6
src/main/java/com/fdkankan/manage/entity/AuthorizeInstall.java

@@ -77,12 +77,6 @@ public class AuthorizeInstall implements Serializable {
     private String machineUuid;
 
     /**
-     * 设备名称
-     */
-    @TableField("machine_name")
-    private String machineName;
-
-    /**
      * 授权key
      */
     @TableField("authorize_key")

+ 0 - 1
src/main/java/com/fdkankan/manage/service/impl/AuthorizeInstallServiceImpl.java

@@ -78,7 +78,6 @@ public class AuthorizeInstallServiceImpl extends ServiceImpl<IAuthorizeInstallMa
                 throw new BusinessException(ResultCode.READ_MACHINE_CODE_ERROR);
             }
             param.setMachineUuid( machineRegDto.getUuid());
-            param.setMachineName( machineRegDto.getComputerName());
             try {
                 String authorizeKey = RegCodeUtil.GenRegeditCode(param.getMachineCode());
                 if(StringUtils.isBlank(authorizeKey)){