From 139ec42e87e08f184cc68d36bd1b8379e96c6cc4 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Wed, 23 Oct 2024 10:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E8=AE=B0=E5=88=97=E8=A1=A8=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E6=96=B9=E6=B3=95=20=E5=8C=BB=E9=99=A2=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E6=94=B9=E6=88=90=E6=9C=BA=E6=9E=84ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/applyform/ApplyformController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yudao-module-applyregistration/yudao-module-applyregistration-biz/src/main/java/cn/iocoder/yudao/module/applyregistration/controller/admin/applyform/ApplyformController.java b/yudao-module-applyregistration/yudao-module-applyregistration-biz/src/main/java/cn/iocoder/yudao/module/applyregistration/controller/admin/applyform/ApplyformController.java index 5e248b89c..5567a1f58 100644 --- a/yudao-module-applyregistration/yudao-module-applyregistration-biz/src/main/java/cn/iocoder/yudao/module/applyregistration/controller/admin/applyform/ApplyformController.java +++ b/yudao-module-applyregistration/yudao-module-applyregistration-biz/src/main/java/cn/iocoder/yudao/module/applyregistration/controller/admin/applyform/ApplyformController.java @@ -396,7 +396,7 @@ public class ApplyformController { AdminUserDO user = userService.getUser(getLoginUserId()); //1表示接口 if (type.equals("1")) { //土贵乌拉 - if (user.getOrgId().equals("150926PDY564156")) { + Map tokendata = new HashMap<>(); tokendata.put("appkey", "7653571505643966826"); tokendata.put("appsecret", "z8SVG1NBFY9d74LM"); @@ -410,7 +410,7 @@ public class ApplyformController { LocalDate currentDate = LocalDate.now(); Map data = new HashMap<>(); - data.put("Yiyuanid", "150926PDY564156"); + data.put("Yiyuanid", user.getOrgId()); data.put("dateStart",currentDate.toString()); data.put("token", accessToken); data.put("dateEnd", currentDate.toString()); @@ -470,7 +470,7 @@ public class ApplyformController { { StrMsg = "暂无需要同步的数据"; } - } + } else if (type.equals("2")) //2 数据库 { switch (apiconfigDO.getDatabaseType()) {