| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.io.FileInputStream; |
| | | import java.io.UnsupportedEncodingException; |
| | | |
| | | @RestController |
| | |
| | | return new Response().set(1,fboDataInf,filePath); |
| | | } |
| | | |
| | | @PostMapping("/readFboFileStream") |
| | | public Response readFboFileStream(@RequestParam FileInputStream fis) { |
| | | FboDataInf fboDataInf = new FboDataInf(); |
| | | //String filePath1 = java.net.URLDecoder.decode(filePath,"utf-8"); |
| | | fboDataInf.readFboFileStream(fis); |
| | | return new Response().set(1,fboDataInf); |
| | | } |
| | | |
| | | } |
| | | |