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);
|
}
|
}
|