小程序内容安全接口图片和文字传什么都返回ok
发布于 4 年前 作者 lwu 16561 次浏览 来自 问答
HttpPost httpPost = new HttpPost(serverUrl);
httpPost.setHeader("Accept", "application/json");
httpPost.setHeader("Content-Type", "application/json");
StringEntity entity = new StringEntity("{\"content\":\""+content+"\"}");
httpPost.setEntity(entity);
HttpResponse response = httpClient.execute(httpPost);// 执行提交
if(response.getStatusLine().getStatusCode()==200){
  HttpEntity responseEntity = response.getEntity();
  result = EntityUtils.toString(responseEntity,"UTF-8");
}

调用API传文字都返回OK,图片传图也返回OK,不知道什么才算是违规违法内容。服务端JAVA实现调的接口

2 回复

你好,方便提供下微信号吗?就反馈的传什么文字、图片都返回OK的问题我们进一步沟通了解下

一样问题 还存在

回到顶部