登录从phone登录改成通过username登录
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user