| | |
| | | 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 姓名 |