From 55793861746f0a8dd74b84d444a60c43f982b255 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期四, 06 二月 2025 23:17:38 +0800
Subject: [PATCH] oss获取图方式修改
---
ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java b/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java
index 811aebb..01c7d63 100644
--- a/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java
+++ b/ycl-platform/src/main/java/com/ycl/service/auth/impl/AuthService.java
@@ -58,13 +58,15 @@
userParam.setOpenid(openid); //openid
userParam.setIsDy(Byte.parseByte("0"));
userParam.setMobile("");
+ userParam.setAccountId(dingUserInfo.getAccountId());
String encodePassword = passwordEncoder.encode("123456");
userParam.setPassword(encodePassword); //瀵嗙爜
userParam.setStatus(1); //鐘舵��
adminService.save(userParam);
- dingCommon.getEmpInfoByCode(dingUserInfo.getEmployeeCode());
+ DingUserInfo empInfoByCode = dingCommon.getEmpInfoByCode(dingUserInfo.getEmployeeCode());
//鏌ヨ閮ㄩ棬鏄惁瀛樺湪锛�
- UmsDepart depart = departService.getById(dingUserInfo.getOrgId());
+ UmsDepart depart = departService.getById(empInfoByCode.getOrgId());
+ log.info("閮ㄩ棬---------------->{}",depart);
//鍛樺伐淇℃伅锛屽叧鑱旂粍缁�
if (Objects.nonNull(depart)) {
UmsDepartManage departManage = new UmsDepartManage();
--
Gitblit v1.8.0