|
@@ -13,10 +13,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.commons.collections4.MapUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
@@ -68,4 +65,9 @@ public class CentereventTForestFireLossController extends BaseController {
|
|
|
public AjaxResult addFireInformationFeign(@RequestBody FireInformation fireInformation) {
|
|
|
return toAjax(centereventTFireInformationService.addFireInformation(fireInformation));
|
|
|
}
|
|
|
+
|
|
|
+ @GetMapping("/getFireRegion")
|
|
|
+ public R getFireRegion(String fireType) {
|
|
|
+ return R.ok(centereventTRegionalFlagService.getFireRegion(fireType));
|
|
|
+ }
|
|
|
}
|