fei.wang
2025-04-16 c386374de5ff4a65904124ef839e6862518d27fa
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
29
30
31
32
package com.hxzkmonitor.controller;
 
 
import com.hxzkmonitor.service.TbEquipmentService;
import com.hxzkmonitor.service.TbVoicetipService;
import com.hxzkmonitor.util.R;
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;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wangfei
 * @since 2024-08-22
 */
@RestController
@RequestMapping("/")
public class TbVoicetipController {
    @Autowired
    TbVoicetipService tbVoicetipService;
 
    @GetMapping("/api/getVoicetip")
    public R getVoicetip(Integer type) {
        return R.ok(tbVoicetipService.getVoicetip());
    }
 
}