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); }