|
@@ -184,7 +184,7 @@ public class FaceppService {
|
|
throw new StatusException("B-101001", "文件格式错误");
|
|
throw new StatusException("B-101001", "文件格式错误");
|
|
}
|
|
}
|
|
|
|
|
|
- String identityNumber = fileName.substring(0, fileName.lastIndexOf(fileName));
|
|
|
|
|
|
+ String identityNumber = fileName.substring(0, fileName.lastIndexOf("."));
|
|
|
|
|
|
GetStudentReq req = new GetStudentReq();
|
|
GetStudentReq req = new GetStudentReq();
|
|
req.setIdentityNumber(identityNumber);
|
|
req.setIdentityNumber(identityNumber);
|