优化方法
This commit is contained in:
parent
d2399ff15f
commit
a362ea10fc
@ -51,9 +51,7 @@ public class InspectPatientController {
|
|||||||
{
|
{
|
||||||
//获取配置项地址
|
//获取配置项地址
|
||||||
ConfigDO path = configService.getConfigByKey("path.url");
|
ConfigDO path = configService.getConfigByKey("path.url");
|
||||||
|
|
||||||
ConfigDO config = configService.getConfigByKey("path.specific");
|
ConfigDO config = configService.getConfigByKey("path.specific");
|
||||||
String uuid=UUID.randomUUID().toString();
|
|
||||||
FileUtils.saveBase64ToFile2(createReqVO.getHeadimage(),path.getValue(),createReqVO.getMedicalSn(),"png");
|
FileUtils.saveBase64ToFile2(createReqVO.getHeadimage(),path.getValue(),createReqVO.getMedicalSn(),"png");
|
||||||
createReqVO.setHeadPicUrl(config.getValue()+createReqVO.getMedicalSn()+".png");
|
createReqVO.setHeadPicUrl(config.getValue()+createReqVO.getMedicalSn()+".png");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user