| | |
| | | BladeFile bfile = ossTemplate.putFile("replaceok.txt",newins); |
| | | return R.data(bfile.getLink()+","+bfile.getName()); |
| | | } |
| | | |
| | | /* |
| | | @GetMapping("/replace2") |
| | | @ApiOperationSupport(order = 2) |
| | | @Operation(summary = "替换内容2") |
| | |
| | | //flowProgramFile.setOssName(bfile.getName()); |
| | | } |
| | | } |
| | | /* |
| | | |
| | | InputStream ins = ossTemplate.statFileStream(ossName); |
| | | InputStream newins = FileContentUtil.replaceAtLine(fis,2,"GHTEST"); |
| | | |
| | | BladeFile bfile = ossTemplate.putFile("replaceok.txt",newins); |
| | | |
| | | */ |
| | | |
| | | return R.data(bfile.getLink()+","+bfile.getName()); |
| | | } |
| | | |
| | | */ |
| | | } |