package com.goldenwater.web.controller.hzz;
import com.goldenwater.common.core.controller.BaseController;
import com.goldenwater.common.core.domain.AjaxResult;
import com.goldenwater.hzz.service.ShorelineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/hzz/shoreline")
public class ShorelineController extends BaseController {
    @Autowired private ShorelineService service;
    @GetMapping("/stats") public AjaxResult stats() { return success(service.getWaterLine()); }
}
