Commit 66edb940 authored by wujiang's avatar wujiang

去掉白名单

parent a71a3617
......@@ -83,8 +83,9 @@ public class ControllerAop {
// 不需要添加请求头的接口
String[] url = new String[] { "/api/user/save/curCompany", "/jcs/command/lookHtmlText",
"/jcs/common/duty-person/findByDutyAreaId", "/tzs/wechatBack", "/tzs/elevator/getElevatorInfo",
"/openapi/bizToken/applyToken", "/tzs/reg-unit-info/management-unit/tree",
"/tzs/flc-unit-info/region/tree", "/tzs/reg-unit-info/unit-type/list" };
"/openapi/bizToken/applyToken"
//+ ",/tzs/reg-unit-info/management-unit/tree","/tzs/flc-unit-info/region/tree", "/tzs/reg-unit-info/unit-type/list"
};
// 获取请求路径
for (String uri : url) {
if (request.getRequestURI().indexOf(uri) != -1) {
......
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