Skip to content
Snippets Groups Projects
Commit 2eb98d5e authored by cs's avatar cs
Browse files

模型联调

parent 32f93a75
Branches
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
......@@ -7,7 +7,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/23 13:47
*/
@Configuration
......
......@@ -4,7 +4,7 @@ import java.util.Arrays;
import java.util.Optional;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/20 16:31
*/
public enum AccTypeEnum {
......
......@@ -4,7 +4,7 @@ import java.io.Serializable;
/**
* 抽象认证通过的用户信息
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/20 16:40
*/
public abstract class AuthUser implements Serializable {
......
package com.hncy.auth.inject.spring.boot.starter.auth;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/20 16:41
*/
public class DoctorAuthUser extends AuthUser {
......
package com.hncy.auth.inject.spring.boot.starter.auth;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/20 16:44
*/
public class OptAuthUser extends AuthUser {
......
package com.hncy.auth.inject.spring.boot.starter.auth;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/20 16:43
*/
public class PatientAuthUser extends AuthUser {
......
......@@ -2,7 +2,7 @@ package com.hncy.auth.inject.spring.boot.starter.auth;
/**
* 销售人员
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/27 10:06
*/
public class SellerAuthUser extends AuthUser{
......
......@@ -5,7 +5,7 @@ import java.util.Optional;
/**
* 提取认证信息
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/16 14:47
*/
public interface AuthInfoExtractor<T> {
......
......@@ -14,7 +14,7 @@ import java.nio.charset.StandardCharsets;
import java.util.Optional;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/16 14:51
*/
public abstract class BaseAuthInfoExtractor<T> implements AuthInfoExtractor<T> {
......
......@@ -13,7 +13,7 @@ import org.springframework.util.StringUtils;
import java.util.Optional;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/16 15:09
*/
@Slf4j
......
......@@ -5,7 +5,7 @@ import com.hncy.auth.inject.spring.boot.starter.auth.AuthUser;
import org.springframework.lang.NonNull;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/17 11:09
*/
public interface AuthUserFactory {
......
......@@ -5,7 +5,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.lang.NonNull;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/17 11:14
*/
@Slf4j
......
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/17 11:05
*/
package com.hncy.auth.inject.spring.boot.starter.common;
\ No newline at end of file
......@@ -13,7 +13,7 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/17 11:52
*/
@Configuration
......
......@@ -18,7 +18,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import java.util.List;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/25 17:38
*/
@Configuration
......
package com.hncy.auth.inject.spring.boot.starter.constant;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/17 09:38
*/
public interface Constant {
......
......@@ -15,7 +15,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.util.StringUtils;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/15 09:28
*/
@Slf4j
......
......@@ -13,7 +13,7 @@ import org.springframework.web.context.request.ServletRequestAttributes;
import javax.servlet.http.HttpServletRequest;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/23 14:16
*/
public class AuthUserHolder {
......
......@@ -16,7 +16,7 @@ import javax.servlet.http.HttpServletRequest;
*
* 将Header中的认证信息注入到服务方法入参
*
* @Author: ying.dong
* @Author: cs
* @Date: 2021/4/23 14:12
*/
@ConditionalOnClass(DispatcherServlet.class)
......
......@@ -4,7 +4,7 @@ import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* @Author: ying.dong
* @Author: cs
* @Date: 2021/7/16 14:44
*/
@ConfigurationProperties(prefix = AuthInjectProperties.PREFIX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment