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