package com.lxw.test3d.controller; import com.lxw.test3d.Service.BattGroupDataService; import com.lxw.test3d.dto.Response; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @Api(tags = "电池组数据") @RestController @RequestMapping("battGroupData") public class BattGroupDataController { @Autowired private BattGroupDataService service; @ApiOperation("获取") @GetMapping("getBattGroupData") public Response getBattGroupData(){ return service.getBattGroupData(); } }