code style
This commit is contained in:
@@ -71,7 +71,7 @@ public class PreprocessFilter extends FizzWebFilter {
|
||||
@Override
|
||||
public Mono<Void> doFilter(ServerWebExchange exchange, WebFilterChain chain) {
|
||||
|
||||
Map<String, FilterResult> fc = new HashMap<>(); fc.put(WebUtils.PREV_FILTER_RESULT, succFr);
|
||||
Map<String, FilterResult> fc = new HashMap<>(); fc.put(WebUtils.PREV_FILTER_RESULT, succFr);
|
||||
Map<String, String> appendHdrs = new HashMap<>(8);
|
||||
Map<String, Object> eas = exchange.getAttributes(); eas.put(WebUtils.FILTER_CONTEXT, fc);
|
||||
eas.put(WebUtils.APPEND_HEADERS, appendHdrs);
|
||||
|
||||
@@ -41,25 +41,25 @@ public class App {
|
||||
static final int SECRETKEY = 3;
|
||||
}
|
||||
|
||||
public int isDeleted = 0; // tb_app_auth.is_deleted
|
||||
public int isDeleted = 0; // tb_app_auth.is_deleted
|
||||
|
||||
public int id; // tb_app_auth.id
|
||||
public int id; // tb_app_auth.id
|
||||
|
||||
public String app; // tb_app_auth.app
|
||||
public String app; // tb_app_auth.app
|
||||
|
||||
public String name; // tb_app_auth.app_name
|
||||
public String name; // tb_app_auth.app_name
|
||||
|
||||
public boolean useAuth = false; // 0:false, 1:true
|
||||
public boolean useAuth = false; // 0:false, 1:true
|
||||
|
||||
public int authType;
|
||||
public int authType;
|
||||
|
||||
public String secretkey;
|
||||
public String secretkey;
|
||||
|
||||
public boolean useWhiteList = false;
|
||||
public boolean useWhiteList = false;
|
||||
|
||||
public String config;
|
||||
public String config;
|
||||
|
||||
public Map<String, String[]> ips = new HashMap<>(8);
|
||||
public Map<String, String[]> ips = new HashMap<>(8);
|
||||
|
||||
public void setUseAuth(int i) {
|
||||
if (i == AUTH_TYPE.SIGN || i == AUTH_TYPE.SECRETKEY || i == AUTH_TYPE.CUSTOM) {
|
||||
|
||||
Reference in New Issue
Block a user