chenw 7 rokov pred
rodič
commit
75e935e402

+ 1 - 1
applications/device/device-server/src/main/java/com/usoftchina/smartschool/device/service/impl/AccessControlServiceImpl.java

@@ -80,7 +80,7 @@ public class AccessControlServiceImpl implements AccessControlService{
             Result<FileInfoDTO> fileInfo = null;
             try {
                 fileInfo = fileApi.upload(0L, new ByteArrayMultipartFile("file", information.get(0).getStuName() + ".jpg", "application/jpeg", imageData));
-                filePath = fileInfo.getData().getFullPath();
+                filePath = fileInfo.getData().getAccessPath();
             }catch (Exception ex) {
                 logger.error(ex.getMessage());
             }