|
@@ -13,11 +13,18 @@ import java.io.IOException;
|
|
|
|
|
|
@WebFilter(filterName = "LogCostFilter", urlPatterns = {"/*"},
|
|
@WebFilter(filterName = "LogCostFilter", urlPatterns = {"/*"},
|
|
initParams = {@WebInitParam(name = "filterPath",
|
|
initParams = {@WebInitParam(name = "filterPath",
|
|
- value = "/jshERP-boot/user/login#/jshERP-boot/user/weixinLogin#/jshERP-boot/user/weixinBind#" +
|
|
|
|
- "/jshERP-boot/user/registerUser#/jshERP-boot/user/randomImage#" +
|
|
|
|
- "/jshERP-boot/platformConfig/getPlatform#/jshERP-boot/v2/api-docs#/jshERP-boot/webjars#" +
|
|
|
|
- "/jshERP-boot/systemConfig/static#/jshERP-boot/api/plugin/wechat/weChat/share#" +
|
|
|
|
- "/jshERP-boot/api/plugin/general-ledger/pdf/voucher#/jshERP-boot/api/plugin/tenant-statistics/tenantClean")})
|
|
|
|
|
|
+ value = "/user/login#" +
|
|
|
|
+ "/user/weixinLogin#" +
|
|
|
|
+ "/user/weixinBind#" +
|
|
|
|
+ "/user/registerUser#" +
|
|
|
|
+ "/user/randomImage#" +
|
|
|
|
+ "/platformConfig/getPlatform#" +
|
|
|
|
+ "/v2/api-docs#" +
|
|
|
|
+ "/webjars#" +
|
|
|
|
+ "/systemConfig/static#" +
|
|
|
|
+ "/api/plugin/wechat/weChat/share#" +
|
|
|
|
+ "/api/plugin/general-ledger/pdf/voucher#" +
|
|
|
|
+ "/api/plugin/tenant-statistics/tenantClean")})
|
|
public class LogCostFilter implements Filter {
|
|
public class LogCostFilter implements Filter {
|
|
|
|
|
|
private static final String FILTER_PATH = "filterPath";
|
|
private static final String FILTER_PATH = "filterPath";
|
|
@@ -69,4 +76,4 @@ public class LogCostFilter implements Filter {
|
|
public void destroy() {
|
|
public void destroy() {
|
|
|
|
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|