|
|
@@ -526,10 +526,10 @@ public class HLTechnologyArchivesService {
|
|
|
return ResultVoUtil.success(map);
|
|
|
}
|
|
|
|
|
|
- public ResultVo<Map<String, Object>> putHL4CertificateImage(MultipartFile file) {
|
|
|
+ public ResultVo<Map<String, Object>> putHL4CertificateImage(MultipartFile file,String name) {
|
|
|
UserInfo user = redisLikeService.getUserInfoByToken();
|
|
|
String code = user.getCodeRs();
|
|
|
- String uploadDir = "/uploadimage/hltechnology/trainingcertificateImage/" + code;
|
|
|
+ String uploadDir = "/uploadimage/hltechnology/trainingcertificateImage/" + code + "/" + name;
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
map.put("data",archiveServer.uploadFile(file,uploadDir,!isProd));
|
|
|
return ResultVoUtil.success(map);
|