|
|
@ -108,7 +108,7 @@ public class JSContentWithDescriptionPane extends JSContentPane implements KeyLi |
|
|
|
|
|
|
|
|
|
|
|
private static final String URL_FOR_TEST_NETWORK = "https://www.baidu.com"; |
|
|
|
private static final String URL_FOR_TEST_NETWORK = "https://www.baidu.com"; |
|
|
|
|
|
|
|
|
|
|
|
private static final String DOCUMENT_SEARCH_URL = CloudCenter.getInstance().acquireUrlByKind("af.doc_search"); |
|
|
|
private static final String DOCUMENT_SEARCH_URL = "https://help.fanruan.com/finereport/api-helpdoc-title-"; |
|
|
|
|
|
|
|
|
|
|
|
private String currentValue; |
|
|
|
private String currentValue; |
|
|
|
|
|
|
|
|
|
|
@ -352,7 +352,7 @@ public class JSContentWithDescriptionPane extends JSContentPane implements KeyLi |
|
|
|
private void doHelpDocumentSearch() { |
|
|
|
private void doHelpDocumentSearch() { |
|
|
|
Object value = interfaceNameList.getSelectedValue(); |
|
|
|
Object value = interfaceNameList.getSelectedValue(); |
|
|
|
if (value != null) { |
|
|
|
if (value != null) { |
|
|
|
String url = DOCUMENT_SEARCH_URL + value.toString(); |
|
|
|
String url = CloudCenter.getInstance().acquireUrlByKind("af.doc_search", DOCUMENT_SEARCH_URL) + value.toString(); |
|
|
|
try { |
|
|
|
try { |
|
|
|
String result = HttpToolbox.get(url); |
|
|
|
String result = HttpToolbox.get(url); |
|
|
|
JSONObject jsonObject = new JSONObject(result); |
|
|
|
JSONObject jsonObject = new JSONObject(result); |
|
|
|