Commit d0803629 authored by 杨钧's avatar 杨钧

过滤器去掉对system判断

parent d79ac8a0
......@@ -29,7 +29,7 @@ import java.util.Map;
@Service("opSystemService")
public class OpSystemServiceImpl implements IOpSystemService {
@Value("http://opapi-qa.liangkebang.net") // ${opapi.http}
@Value("${opapi.http}")
private String kaSysUrl;
@Autowired
......@@ -44,6 +44,8 @@ public class OpSystemServiceImpl implements IOpSystemService {
try {
Map<String, String> param = Maps.newHashMap();
param.put("x-auth-token", token);
// 增加请求类型 api
param.put("request-type","api");
if(StringUtils.isNotBlank(system)){
param.put("x-auth-system", system);
}
......
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