From 716f57dacce347ba154f3b6a994f4e383e3a97a4 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Thu, 05 Sep 2024 11:15:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/wechat/PaUserWechatController.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/wechat/PaUserWechatController.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/wechat/PaUserWechatController.java
index f364bdb..40c57af 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/wechat/PaUserWechatController.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/wechat/PaUserWechatController.java
@@ -2,6 +2,7 @@
 
 import cn.huge.base.common.utils.ReturnFailUtils;
 import cn.huge.base.common.utils.ReturnSucUtils;
+import cn.huge.module.mediate.dto.WechatBindCaseDTO;
 import cn.huge.base.config.CurrentUser;
 import cn.huge.module.pauser.domain.po.PaUser;
 import cn.huge.module.pauser.service.PaUserService;
@@ -257,4 +258,19 @@
         }
     }
 
+    /**
+     * pc端提交案件后-获取相关当事人用户编号
+     * @url {ctx}/api/weChat/paUser/bindGetUserId
+     * @param wechatBindCaseDTO 实体对象
+     * @return Object
+     */
+    @PostMapping("/bindGetUserId")
+    public Object bindGetUserId(@RequestBody WechatBindCaseDTO wechatBindCaseDTO) {
+        try {
+            return ReturnSucUtils.getRepInfo(service.bindGetUserId(wechatBindCaseDTO));
+        } catch (Exception e) {
+            log.error("Controller接口[WeChatPaUserController.bindGetUserId]请求异常:"+e, e);
+            return ReturnFailUtils.getRepInfo();
+        }
+    }
 }

--
Gitblit v1.8.0