管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-04-23 478a98d819fc7db033a1d0ed434695c792c394af
1
已重命名1个文件
已修改3个文件
16 ■■■■■ 文件已修改
src/main/java/com/lf/server/entity/all/AbstractPwdEntity.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/entity/ctrl/DownloadReqEntity.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/entity/ctrl/DownloadTileEntity.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/service/data/DownloadService.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/entity/all/AbstractPwdEntity.java
ÎļþÃû´Ó src/main/java/com/lf/server/entity/ctrl/PwdEntity.java ÐÞ¸Ä
@@ -1,10 +1,10 @@
package com.lf.server.entity.ctrl;
package com.lf.server.entity.all;
/**
 * å¯†ç æŠ½è±¡ç±»
 * @author WWW
 */
public abstract class PwdEntity {
public abstract class AbstractPwdEntity {
    private String pwd;
    public String getPwd() {
src/main/java/com/lf/server/entity/ctrl/DownloadReqEntity.java
@@ -1,5 +1,7 @@
package com.lf.server.entity.ctrl;
import com.lf.server.entity.all.AbstractPwdEntity;
import java.io.Serializable;
import java.util.List;
@@ -7,7 +9,7 @@
 * è¯·æ±‚下载实体类
 * @author WWW
 */
public class DownloadReqEntity extends PwdEntity implements Serializable {
public class DownloadReqEntity extends AbstractPwdEntity implements Serializable {
    private static final long serialVersionUID = -8624235184539814997L;
    private String guid;
src/main/java/com/lf/server/entity/ctrl/DownloadTileEntity.java
@@ -1,5 +1,6 @@
package com.lf.server.entity.ctrl;
import com.lf.server.entity.all.AbstractPwdEntity;
import com.lf.server.entity.all.StaticData;
import java.io.Serializable;
@@ -8,7 +9,7 @@
 * ä¸‹è½½ç“¦ç‰‡å®žä½“ç±»
 * @author WWW
 */
public class DownloadTileEntity extends PwdEntity implements Serializable {
public class DownloadTileEntity extends AbstractPwdEntity implements Serializable {
    private static final long serialVersionUID = -229710198271495902L;
    private Double xmin;
src/main/java/com/lf/server/service/data/DownloadService.java
@@ -1,7 +1,6 @@
package com.lf.server.service.data;
import com.lf.server.entity.ctrl.DownloadReqEntity;
import com.lf.server.entity.ctrl.PwdEntity;
import com.lf.server.entity.all.AbstractPwdEntity;
import com.lf.server.entity.data.DownloadEntity;
import com.lf.server.entity.show.PipelineEntity;
import com.lf.server.helper.*;
@@ -117,7 +116,7 @@
     * @param entity å¯†ç æŠ½è±¡ç±»
     * @return æ˜¯/否解密成功
     */
    public static boolean decryptPwd(PwdEntity entity) {
    public static boolean decryptPwd(AbstractPwdEntity entity) {
        try {
            String pwd = RsaHelper.decrypt(entity.getPwd());
            if (StringHelper.isEmpty(pwd)) {