From ebc3c05e53bf6336c216dc334d7ff4639f5b9b61 Mon Sep 17 00:00:00 2001 From: "459816669@qq.com" <459816669@qq.com> Date: Thu, 4 Nov 2021 22:16:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=96=E9=83=A8=E8=81=94?= =?UTF-8?q?=E7=B3=BB=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/controller/dingtalk/ExtContactUserController.java | 7 ++++--- .../main/resources/templates/ding/extContactUser/add.html | 4 ++-- .../resources/templates/ding/extContactUser/detail.html | 3 +-- .../resources/templates/ding/extContactUser/edit.html | 4 ++-- .../templates/ding/extContactUser/extContactUser.html | 8 ++++---- .../dingtalk/model/request/ExtContactUserRequest.java | 2 +- .../dingtalk/service/impl/ExtContactUserServiceImpl.java | 1 + 7 files changed, 15 insertions(+), 14 deletions(-) diff --git a/snow-admin/src/main/java/com/snow/web/controller/dingtalk/ExtContactUserController.java b/snow-admin/src/main/java/com/snow/web/controller/dingtalk/ExtContactUserController.java index 8272add..388f685 100644 --- a/snow-admin/src/main/java/com/snow/web/controller/dingtalk/ExtContactUserController.java +++ b/snow-admin/src/main/java/com/snow/web/controller/dingtalk/ExtContactUserController.java @@ -45,6 +45,7 @@ public class ExtContactUserController extends BaseController { @RequiresPermissions("system:extContactUser:list") @PostMapping("/list") + @ResponseBody public TableDataInfo getList() { startPage(); List extContactUserList = extContactUserService.getExtContactUserList(null,null); @@ -70,10 +71,10 @@ public class ExtContactUserController extends BaseController { } @GetMapping("/edit/{id}") - public String edit(@PathVariable("id") String userId, ModelMap mmap) + public String edit(@PathVariable("id") String userid, ModelMap mmap) { - ExtContactUserRequest extContactUserDetail = extContactUserService.getExtContactUserDetail(userId); - SysUser sysUser = userService.selectUserByDingUserId(userId); + ExtContactUserRequest extContactUserDetail = extContactUserService.getExtContactUserDetail(userid); + SysUser sysUser = userService.selectUserByDingUserId(userid); if(ObjectUtil.isNotNull(sysUser)){ extContactUserDetail.setFollowerUserId(sysUser.getUserName()); } diff --git a/snow-admin/src/main/resources/templates/ding/extContactUser/add.html b/snow-admin/src/main/resources/templates/ding/extContactUser/add.html index 3c08dd8..6f32e0a 100644 --- a/snow-admin/src/main/resources/templates/ding/extContactUser/add.html +++ b/snow-admin/src/main/resources/templates/ding/extContactUser/add.html @@ -92,7 +92,7 @@
- +
@@ -122,7 +122,7 @@