From e32c502ce9ecd3d93cde809adc6cfd77d8c62f79 Mon Sep 17 00:00:00 2001 From: wangwh <2397901735@qq.com> Date: Fri, 25 Oct 2024 11:01:24 +0800 Subject: [PATCH] feat:创建效能分析模块 --- dyh-service/dyh-cust/src/main/java/cn/huge/module/pauser/controller/wechat/PaUserWechatController.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 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..fe75fd3 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; @@ -237,7 +238,7 @@ /** * 当事人小程序-实名认证 - * url: {ctx}/api/weChat/paUser/realAuth + * url: {ctx}/api/wechat/paUser/realAuth * type: post */ @PostMapping(value = "/realAuth") @@ -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