fhx
2024-05-06 c38d8e66aa5638d163805f749a620906aa199a38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.hz.his.feign.service.platform.face;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.face.FaceLibDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
 
/**
 * 人脸库service
 * @USER: fhx
 * @DATE: 2023/8/2
 **/
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-face-lib")
public interface SPhipFaceLibService {
 
    /** 更新人员人脸库 */
    @PostMapping(value = "/face/lib/update/person/face/lib")
    Result userFddAuthData(@RequestBody FaceLibDto dto);
 
    /** 人脸搜索 - 文件  */
    @RequestMapping(value="/face/lib/face/search/to/file",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    Result faceSearchToFile(@RequestPart("file") MultipartFile file);
 
}