| | |
| | | package com.se.simu.controller; |
| | | |
| | | import com.se.simu.domain.R; |
| | | import com.se.simu.service.SedbService; |
| | | import com.se.simu.domain.vo.R; |
| | | import com.se.simu.service.GedbService; |
| | | import io.swagger.annotations.*; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | @SuppressWarnings("ALL") |
| | | public class TaskController extends BaseController { |
| | | @Resource |
| | | SedbService sedbService; |
| | | GedbService gedbService; |
| | | |
| | | @ApiOperation(value = "创建任务") |
| | | @PostMapping(value = "/createTask", produces = "application/json; charset=UTF-8") |
| | |
| | | // 469538.6536261877,4416744.922022615,469853.14714664617,4417049.378602433 |
| | | String bbox = "116.64388473935195,39.884315914604464,116.64754729082588,39.887069143903496"; |
| | | String taskName = "20240913"; |
| | | Object rs = sedbService.test(bbox, taskName); |
| | | Object rs = gedbService.test(bbox, taskName); |
| | | |
| | | return success(rs); |
| | | } catch (Exception ex) { |