Commit 018fd815 authored by 周健威's avatar 周健威

添加数据中心验证代码

parent d547af03
package com.github.wxiaoqi.security.gate.fallback;
import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.github.wxiaoqi.security.gate.feign.IUserService;
import com.github.wxiaoqi.security.api.vo.authority.PermissionInfo;
import lombok.extern.slf4j.Slf4j;
......@@ -26,4 +27,10 @@ public class UserServiceFallback implements IUserService {
log.error("调用{}异常","getPermissionByUsername");
return null;
}
@Override
public ObjectRestResponse<String> createAuthenticationToken(String username) {
log.error("调用{}异常","createAuthenticationToken");
return null;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment