From 261d715822e5464334ea1bffc60a5f86e371d8f7 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Sun, 08 Sep 2024 17:48:40 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java b/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java index d837fa1..183f1e9 100644 --- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java +++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/file/controller/wechat/FileInfoWechatController.java @@ -202,6 +202,20 @@ } /** + * 根据多个所属编号查询附件 + * @url {ctx}/api/wechat/fileInfo/listByMainId + * @return Object + */ + @GetMapping("/listByMainId") + public Object listByMainId(@RequestParam(value = "mainId") String mainId) { + try { + return ReturnSucUtils.getRepInfo(service.listByMainId(mainId)); + } catch (Exception e) { + return ReturnFailUtils.getRepInfo(); + } + } + + /** * ocr识别身份证 * @url {ctx}/api/wechat/fileInfo/wecatRecognition?ownerId=&ownerType= * @param request -- Gitblit v1.8.0