# 浏览按钮跨模块调用方案

原始文档链接：[浏览按钮跨模块调用方案](https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/repository/b90d212e-0cab-40a6-9845-d9476f717caf/doc/958005593760595968)
目录分组：对接方案

```
// 1、获得原始响应报文
Map<String, Object> result = RestBrowserRequest.of("workflow/core", "wfcRequest", RestBrowserRequestType.complete)
        .addParam("searchValue", "abc").requestForMap();

// 2、complete正常的请求情况
List<CompleteRequestResult> list1 = RestBrowserRequest.of("workflow/core", "wfcRequest", RestBrowserRequestType.complete)
        .addParam("searchValue", "abc").request(ResultParsers.commonCompleteResultParser);
		
// 3、存在固定请求参数的情况
HashMap<String, Object> fixParam = Maps.newHashMap();
fixParam.put("type", "123");
List<CompleteRequestResult> list3 = RestBrowserRequest.of(fixParam, "workflow/core",
        "wfcRequest",
        RestBrowserRequestType.complete).request(ResultParsers.commonCompleteResultParser);
		
// 4、单独对complete进行了一层封装
List<CompleteRequestResult> list2 = CompleteRestBrowserRequest.of("workflow/core",
        "wfcRequest",
        "abc").request();
```

调用失败请注意先看一下是不是触发了准入拦截
