| | |
| | | @Autowired |
| | | private ModelLineService modelLineService; |
| | | |
| | | @Autowired |
| | | // @Autowired |
| | | // private PythonLib pythonLib; |
| | | |
| | | /* |
| | | @GetMapping("callPythonCalc") |
| | | @ApiOperation("信息") |
| | | public Result callPythonCalc() { |
| | | pythonLib.callPython(); |
| | | |
| | | return Result.ok(); |
| | | } |
| | | |
| | | @GetMapping("getPythonCalcResult") |
| | | @ApiOperation("信息") |
| | | public Result<String> getPythonCalcResult() { |
| | | String result = pythonLib.getPythonCalcResult(); |
| | | |
| | | return Result.ok(result); |
| | | } |
| | | */ |
| | | |
| | | @GetMapping("page") |
| | | @ApiOperation("分页") |
| | |
| | | } |
| | | return Result.ok(data); |
| | | } |
| | | |
| | | /* |
| | | @GetMapping("callPythonCalc") |
| | | @ApiOperation("信息") |
| | | public Result callPythonCalc() { |
| | | pythonLib.callPython(); |
| | | |
| | | return Result.ok(); |
| | | } |
| | | |
| | | @GetMapping("getPythonCalcResult") |
| | | @ApiOperation("信息") |
| | | public Result<String> getPythonCalcResult() { |
| | | String result = pythonLib.getPythonCalcResult(); |
| | | |
| | | return Result.ok(result); |
| | | } |
| | | */ |
| | | |
| | | @PostMapping |
| | | @ApiOperation("新增") |