1
13693261870
2024-09-14 c07a4aa6ecabddb15e0e4ca2a8c3524bf05d3e7a
src/main/java/com/se/simu/service/SedbService.java
@@ -14,7 +14,6 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import org.springframework.web.client.RestTemplate;
import javax.annotation.Resource;
@@ -94,7 +93,7 @@
    }
    public String getPassword() throws Exception {
        if (StringUtils.isEmpty(password)) {
        if (StringHelper.isEmpty(password)) {
            String key = getPublicKey();
            RsaHelper.setPublicKey(key);
            password = RsaHelper.encrypt(pwd);