whyclxw
2024-02-29 0ddeae63c5ec1397b3cac2664e25b97ae2218568
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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();
    }
 
}