From e8f0b3422d307c686b3a81269f9e9e4fb34a846e Mon Sep 17 00:00:00 2001 From: wjli <591616088@qq.com> Date: 星期五, 12 四月 2024 10:49:46 +0800 Subject: [PATCH] 指纹登陆返回客户端加密信息 --- xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/face/FaceImgController.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/face/FaceImgController.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/face/FaceImgController.java index ddbed52..be1df9b 100644 --- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/face/FaceImgController.java +++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/controller/face/FaceImgController.java @@ -25,6 +25,8 @@ import cn.hutool.json.JSONUtil; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.google.gson.Gson; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -43,6 +45,7 @@ import java.util.List; //浜鸿劯姣斿妫�娴嬭溅鍘㈠紓甯稿紑鍚� @RestController +@Api(tags = "浜鸿劯姣斿妫�娴嬭溅鍘㈠紓甯稿紑鍚�") @RequestMapping("/hk") public class FaceImgController { @@ -63,7 +66,7 @@ @Autowired private IEventLogService iEventLogService; - + @ApiOperation(value = "浜鸿劯瀵规瘮鍥剧墖") @RequestMapping(value = "/faceImg", method = RequestMethod.POST) public void saveOrUpdate(HttpServletRequest request) throws IOException, ServletException { OssSetting os = new Gson().fromJson(settingService.get(SettingConstant.LOCAL_OSS).getValue(), OssSetting.class); -- Gitblit v1.9.1