登录从phone登录改成通过username登录

This commit is contained in:
2026-01-06 09:03:24 +08:00
parent 6923986805
commit 1b31780136
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ public class HoneycomDefaultUserDetailsServiceImpl implements HoneycomUserDetail
// }
log.info("获取user的详情username{}", username);
R<SysUserInfoVO> result = remoteUserService.infoByAccount(username, SecurityConstants.FROM_IN);
R<SysUserInfoVO> result = remoteUserService.infoByUsername(username, SecurityConstants.FROM_IN);
UserDetails userDetails = getUserDetails(result);
// log.info("缓存中无数据从数据库中获取后放入缓存username="+username);
// cache.put(username, userDetails);

View File

@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.Map;
@FeignClient(contextId = "remoteSpdmService", value = ServiceNameConstants.SPDM_SERVICE)
@FeignClient(contextId = "remoteSpdmFlowService", value = ServiceNameConstants.SPDM_SERVICE)
public interface RemoteSpdmService {
@PostMapping("/honeycom-spdm/spdm-flow/flowEndStatusNotice")