|
@@ -78,8 +78,6 @@ public class FaceServiceImpl implements FaceService {
|
|
|
public void processFace(Long rootOrgId, String identityNumber, String fileSuffix, File file,
|
|
|
String operator) {
|
|
|
|
|
|
- String photoName = System.currentTimeMillis() + fileSuffix;
|
|
|
-
|
|
|
GetStudentReq req = new GetStudentReq();
|
|
|
req.setIdentityNumber(identityNumber);
|
|
|
req.setRootOrgId(rootOrgId);
|
|
@@ -106,6 +104,7 @@ public class FaceServiceImpl implements FaceService {
|
|
|
request.setFacesetToken(facesetToken);
|
|
|
request.setFaceToken(faceToken);
|
|
|
request.setOperator(operator);
|
|
|
+ String photoName = photoUrl.substring(photoUrl.lastIndexOf("/") + 1);
|
|
|
request.setPhotoName(photoName);
|
|
|
request.setRootOrgId(rootOrgId);
|
|
|
request.setStudentId(student.getId());
|