1
13693261870
2024-09-18 14e8093d5c4ef75bd6cd3b5d929d71aa9fa417f5
src/main/java/com/se/simu/controller/TaskController.java
@@ -1,7 +1,7 @@
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.*;
@@ -22,7 +22,7 @@
@SuppressWarnings("ALL")
public class TaskController extends BaseController {
    @Resource
    SedbService sedbService;
    GedbService gedbService;
    @ApiOperation(value = "创建任务")
    @PostMapping(value = "/createTask", produces = "application/json; charset=UTF-8")
@@ -31,7 +31,7 @@
            // 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) {