15030600271
2023-10-24 bf764e861a3b0b8148cf313003d31682c18260c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.thhy.screen.modules.biz.bigscreen.controller;
 
import com.thhy.general.common.BasicResult;
import com.thhy.screen.modules.biz.bigscreen.service.ProduceListenService;
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;
 
import java.util.Map;
 
@RestController
@RequestMapping("display")
public class DisplayController {
 
    @Autowired
    private ProduceListenService produceListenService;
 
    @GetMapping
    public BasicResult displayText(){
        Map<String,Object> map = produceListenService.getDisplay();
        return BasicResult.success(map);
    }
}