From 592c8a2dcc33fd6eb32dbcfbaed4a16aab31d28d Mon Sep 17 00:00:00 2001 From: liyj <15602261488@163.com> Date: Mon, 14 Oct 2024 18:02:15 +0800 Subject: [PATCH] 1、线上来访、来访登记、自行排查流程优化 2、任务新增处理耗时、是否超时、超时小时记录 --- 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