|
@@ -361,7 +361,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
|
|
throw new StatusException("考生照片必须以考生的身份证命名");
|
|
throw new StatusException("考生照片必须以考生的身份证命名");
|
|
}
|
|
}
|
|
|
|
|
|
- StringJoiner stringJoiner = FileUtil.getDirName(FileUploadType.UPLOAD, true);
|
|
|
|
|
|
+ StringJoiner stringJoiner = FileUtil.getDirName(false);
|
|
String path = stringJoiner.toString().replaceAll("\\\\", "/");
|
|
String path = stringJoiner.toString().replaceAll("\\\\", "/");
|
|
|
|
|
|
try {
|
|
try {
|