|
@@ -503,7 +503,7 @@ public class LabBoardApi {
|
|
|
*/
|
|
*/
|
|
|
@ApiOperation(value = "人脸识别获取特征值")
|
|
@ApiOperation(value = "人脸识别获取特征值")
|
|
|
@GetMapping(value = "/faceFeature")
|
|
@GetMapping(value = "/faceFeature")
|
|
|
- public ResultData faceFeature(@RequestParam("file") MultipartFile file){
|
|
|
|
|
- return remoteFaceService.faceFeature(file);
|
|
|
|
|
|
|
+ public R<byte[]> faceFeature(@RequestParam("file") MultipartFile file){
|
|
|
|
|
+ return remoteFaceService.upload(file);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|