Commit 601509ba authored by Luochenglong's avatar Luochenglong

附件上传

parent a06e35ac
......@@ -97,9 +97,6 @@ public class HttpPostAttUtil {
httpPost.setEntity(httpEntity);//设置请求参数
HttpResponse response = httpClient.execute(httpPost);
HttpEntity responseEntity = response.getEntity();
RestTemplate request = new RestTemplate();
HttpHeaders headers = new HttpHeaders();
headers.set("Authorization", tokentype+" "+token);
String result = EntityUtils.toString(responseEntity, java.nio.charset.Charset.forName("UTF-8"));
return result;
} catch (Exception ex) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment