|
@@ -13,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
-import java.text.ParseException;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author wangfeng
|
|
* @author wangfeng
|
|
@@ -33,7 +32,7 @@ public class PrecEncryptController {
|
|
notes = "Map<String ,String> map")
|
|
notes = "Map<String ,String> map")
|
|
@PostMapping("/getEncryption")
|
|
@PostMapping("/getEncryption")
|
|
@SysLogger("getEncryption")
|
|
@SysLogger("getEncryption")
|
|
- public RespDTO<PrecMapVO> getEncryption(@RequestBody PrecMapVO precMapVO) throws ParseException {
|
|
|
|
|
|
+ public RespDTO<PrecMapVO> getEncryption(@RequestBody PrecMapVO precMapVO) {
|
|
return RespDTO.onSuc(precEncryptFacade.getEncryption(precMapVO));
|
|
return RespDTO.onSuc(precEncryptFacade.getEncryption(precMapVO));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -41,7 +40,7 @@ public class PrecEncryptController {
|
|
notes = "Map<String ,String> map")
|
|
notes = "Map<String ,String> map")
|
|
@PostMapping("/getDecode")
|
|
@PostMapping("/getDecode")
|
|
@SysLogger("getDecode")
|
|
@SysLogger("getDecode")
|
|
- public RespDTO<PrecMapVO> getDecode(@RequestBody @Valid PrecMapVO precVO) throws ParseException{
|
|
|
|
|
|
+ public RespDTO<PrecMapVO> getDecode(@RequestBody @Valid PrecMapVO precVO) {
|
|
return RespDTO.onSuc(precEncryptFacade.getDecode(precVO));
|
|
return RespDTO.onSuc(precEncryptFacade.getDecode(precVO));
|
|
}
|
|
}
|
|
}
|
|
}
|