1.修复相关方人脸
parent
4bcf01a0f4
commit
82c85912f5
|
|
@ -25,7 +25,7 @@ public class DaHuaPersonApi {
|
|||
private static final String CAR_PAGE_URL = "/evo-apigw/evo-brm/1.2.0/car/subsystem/page";
|
||||
private static final String CAR_DELETE_URL = "/evo-apigw/evo-brm/1.0.0/car/delete";
|
||||
private static final String ACCESS_RECORD_URL = "/evo-apigw/evo-accesscontrol/1.0.0/card/accessControl/swingCardRecord/bycondition/combined";
|
||||
private static final String UPLOAD_PERSON_IMG_URL = "/evo-apigw/evo-brm/1.0.0/person/uploadFace";
|
||||
private static final String UPLOAD_PERSON_IMG_URL = "/evo-apigw/evo-brm/1.0.0/person/subsystem/third/upload/img";
|
||||
private static final String TEMP_VEHICLE_AUDIT_URL = "/evo-apigw/evo-brm/1.0.0/tempVehicle/saveAudit";
|
||||
|
||||
public boolean isConfigured() {
|
||||
|
|
@ -142,7 +142,7 @@ public class DaHuaPersonApi {
|
|||
Map<String, String> headers = new HashMap<>();
|
||||
headers.put("Authorization", "bearer " + token);
|
||||
Map<String, Object> body = new HashMap<>();
|
||||
body.put("faceData", imageBase64);
|
||||
body.put("imageBase64", imageBase64);
|
||||
return daHuaApiClient.postJson(UPLOAD_PERSON_IMG_URL, body, headers);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue