parent
3ccd3ed691
commit
19aa54c835
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue