摘要: 因为SpringBoot就是为了实现没有配置文件,因此之前手动在Mybatis中配置的PageHelper现在需要重新配置,而且配置方式与之前的SSM框架中还是有点点区别。 阅读全文
posted @ 2018-07-04 14:05 也许还年轻 阅读(9573) 评论(0) 推荐(0) 编辑
摘要: import com.dalaoyang.entity.User; import org.springframework.http.MediaType; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; ... 阅读全文
posted @ 2018-07-04 13:51 也许还年轻 阅读(4161) 评论(0) 推荐(0) 编辑
摘要: import lombok.extern.java.Log; import org.springframework.amqp.core.TopicExchange; import org.springframework.amqp.rabbit.config.SimpleRabbitListenerContainerFactory; import org.springframework.amqp.... 阅读全文
posted @ 2018-07-04 13:36 也许还年轻 阅读(336) 评论(0) 推荐(0) 编辑
摘要: spring: rabbitmq: car_host: car_port: car_username: car_password: car_vhost: car_exchange: car_routingkey: car_queuename: car_put_routingkey: ... 阅读全文
posted @ 2018-07-04 13:25 也许还年轻 阅读(920) 评论(0) 推荐(0) 编辑