前端使用application/json方式传文件以及其他普通的参数,Jfinal该如何接收参数??
前端参数格式:
后台接收代码:
File realFile = getFile().getFile()String data = HttpKit.(getRequest())ScoreParam scoreParam = JSON.(dataScoreParam.)
想要用对象接收其他参数,会报异常getInputStream() has already been called for this request
项目:JFinal