public function upload(){ //获取上传文件信息,文件名称以自己实际上传文件名称为准 $fileinfo = $_FILE['filename']; //请求参数,依据商户自己的参数为准 $requestParam['; $requestParam['; $requestParam['; $requestParam['attach_file'] = new \CURLFile($fileinfo['tmp_name'],$fileinfo['type'],$fileinf
最近遇到的问题,java如何调用http请求json: public class HttpClientUtil { private static final String CONTENT_TYPE_TEXT_JSON = "text/json"; private static final String APPLICATION_JSON = "application/json"; public static String postJson(String url, St