zhitong.yu
7 天以前 7fc9c42987a13c1d8d2159591a5803e70518827f
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
27
28
package com.hxzk.gps.controller.Mac;
 
import com.hxzk.gps.entity.Mac.TbMac;
import com.hxzk.gps.service.Mac.TbMacService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author YuZhiTong
 * @since 2025-07-01
 */
@RestController
@RequestMapping("/Mac")
public class TbMacController {
    @Autowired
    TbMacService macService;
    @PostMapping("FindMac")
    public TbMac FindMac(){
        return macService.getOne(null);
    }
}