fwq
2024-05-09 bceee99e4493c359e2c0872e4076d3db95718b71
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);
 
}