fix:代码坏味道修改

dev
wangxy 11 months ago
parent 85c8218384
commit 4a4bb437eb

@ -8,7 +8,6 @@ import com.hyp.system.domain.vo.ApplyInfoListVO;
import com.hyp.web.controller.manager.ApplyInfoListManager;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;

@ -53,7 +53,7 @@ public class FileRelationController extends BaseController {
@Resource
private FileRelationManager fileRelationManager;
@Autowired
@Resource
private ServerConfig serverConfig;
@ApiOperation("文件上传")

@ -12,7 +12,6 @@ import com.hyp.web.controller.manager.ApplyInfoListManager;
import com.hyp.web.controller.manager.ScoreInfoManager;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

@ -6,7 +6,7 @@ import org.jasypt.encryption.pbe.config.SimpleStringPBEConfig;
public class EncFactory {
public static void main(String[] args) {
String securityKey = "NBPLUS"; // 加密秘钥
String data = "qwer1234"; // 需要加密的字符串
String data = "wangxy123@"; // 需要加密的字符串
PooledPBEStringEncryptor encryptor = new PooledPBEStringEncryptor();
SimpleStringPBEConfig config = new SimpleStringPBEConfig();

Loading…
Cancel
Save