Selaa lähdekoodia

request获取token

lirong 2 vuotta sitten
vanhempi
commit
a0cee8fb5e

+ 4 - 0
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/HttpClientUtil.java

@@ -146,6 +146,10 @@ public class HttpClientUtil {
         String result = post(url, content, 300000, null, null, null);
         return result;
     }
+    public synchronized String post(String url, String content, HttpServletRequest request) throws Exception {
+        String result = post(url, content, 300000, null, null, request);
+        return result;
+    }
 
     public synchronized String post(String url, String content, HttpServletResponse response) throws Exception {
         String result = post(url, content, 300000, null, response, null);