kaiyu
2021-03-10 5097d13418e9a0bf605f5272f1b9e60fc62c80cb
screen-manage/src/main/java/com/moral/api/controller/TestController.java
@@ -6,23 +6,31 @@
import com.moral.constant.ResultMessage;
import com.moral.redis.RedisUtil;
import com.moral.util.PageResult;
import io.swagger.annotations.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@Slf4j
@Api(tags = {"后台管理"})
@Api(tags = {"大屏"})
@RestController
@RequestMapping("/manage")
@RequestMapping("/api")
public class TestController {
    @Autowired
    @Resource
    private KafkaTemplate kafkaTemplate;
    @Autowired
    @Resource
    private TestService testService;
    /**
     * name   姓名