| | |
| | | throw new RuntimeException("db存储发送出现异常"+e); |
| | | } |
| | | } |
| | | @GetMapping ("/tests") |
| | | public ResponseResult use() { |
| | | try { |
| | | TimerUtil.sendPostWithFileAndParameter("DB/result_db.db", |
| | | "635148ea-0ddb-4b23-945c-8a67abd813c9"); |
| | | } catch (IOException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | return ResponseResult.success(); |
| | | } |
| | | // @GetMapping ("/tests") |
| | | // public ResponseResult use() { |
| | | // try { |
| | | // TimerUtil.sendPostWithFileAndParameter("src/main/resources/tmp/20240613/205621_635148ea-0ddb-4b23-945c-8a67abd813c9.db", |
| | | // "635148ea-0ddb-4b23-945c-8a67abd813c9"); |
| | | // } catch (IOException e) { |
| | | // throw new RuntimeException(e); |
| | | // } |
| | | // return ResponseResult.success(); |
| | | // } |
| | | |
| | | /** |
| | | * 根据图斑的地块编号获取相对应音视频 |