修改人:邹江涛

修改内容:API映射公共单据
修改时间:2024/12/02
This commit is contained in:
zoujiangtao 2024-12-02 16:24:20 +08:00
parent 3ccd3ed691
commit 19aa54c835
1 changed files with 1 additions and 2 deletions

View File

@ -162,6 +162,7 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
} }
if ("shkd_testapi".equals(itemKey)) { if ("shkd_testapi".equals(itemKey)) {
//域名
String domainName = dataEntity.getString("shkd_domainname"); String domainName = dataEntity.getString("shkd_domainname");
String url = dataEntity.getString("shkd_url"); String url = dataEntity.getString("shkd_url");
ApiEntity apiEntity = new ApiEntity(); ApiEntity apiEntity = new ApiEntity();
@ -172,8 +173,6 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
apiEntity.setHeaders(headMap); apiEntity.setHeaders(headMap);
Map<String, Object> paramsMap = new HashMap<>(); Map<String, Object> paramsMap = new HashMap<>();
String old_url = "https://biptest.ctny.com.cn";
paramsMap.put("access_token", ApiService.getBIPToken(domainName)); paramsMap.put("access_token", ApiService.getBIPToken(domainName));
apiEntity.setQueryParams(paramsMap); apiEntity.setQueryParams(paramsMap);
apiEntity.setRequestBody(codeEdit.getText()); apiEntity.setRequestBody(codeEdit.getText());