资源简介

一个小型整合redis和rabbitMQ队列的spring-boot商城秒杀系统

资源截图

代码片段和文件信息

package com;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2
@ServletComponentScan
@MapperScan(“com.business.dao“)
//启用异步注解
//@EnableAsync
public class GreatProjectApplication {

private static final Logger logger = LoggerFactory.getLogger(GreatProjectApplication.class);

public static void main(String[] args) {
try {
SpringApplication.run(GreatProjectApplication.class args);
logger.info(“>>>>>>主程序启动成功!<<<<<<“);
} catch (Exception e) {
logger.error(“------主程序启动失败!-----“+e.getMessage());
e.printStackTrace();
}
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-14 09:49  great_project\
     文件        1346  2018-11-14 09:47  great_project\.classpath
     文件         268  2018-11-09 18:04  great_project\.gitignore
     目录           0  2018-11-09 18:04  great_project\.mvn\
     目录           0  2018-11-09 18:04  great_project\.mvn\wrapper\
     文件       48337  2018-11-09 18:04  great_project\.mvn\wrapper\maven-wrapper.jar
     文件         116  2018-11-09 18:04  great_project\.mvn\wrapper\maven-wrapper.properties
     文件         718  2018-11-10 10:31  great_project\.project
     目录           0  2018-11-09 18:19  great_project\.settings\
     文件         207  2018-11-10 14:36  great_project\.settings\org.eclipse.core.resources.prefs
     文件         356  2018-11-09 18:19  great_project\.settings\org.eclipse.jdt.core.prefs
     文件          97  2018-11-09 18:04  great_project\.settings\org.eclipse.m2e.core.prefs
     文件          65  2018-11-09 18:19  great_project\.settings\org.springframework.ide.eclipse.prefs
     文件        9113  2018-11-09 18:04  great_project\mvnw
     文件        5810  2018-11-09 18:04  great_project\mvnw.cmd
     文件        4996  2019-03-19 14:14  great_project\pom.xml
     目录           0  2018-11-09 18:04  great_project\src\
     目录           0  2018-11-09 18:04  great_project\src\main\
     目录           0  2018-11-09 18:04  great_project\src\main\java\
     目录           0  2018-12-06 17:26  great_project\src\main\java\com\
     目录           0  2018-11-10 14:55  great_project\src\main\java\com\business\
     目录           0  2018-12-06 11:08  great_project\src\main\java\com\business\controller\
     目录           0  2018-12-06 11:02  great_project\src\main\java\com\business\controller\product\
     文件        3118  2018-12-19 17:01  great_project\src\main\java\com\business\controller\product\ProductController.java
     目录           0  2018-12-06 11:08  great_project\src\main\java\com\business\controller\test\
     文件        3307  2018-12-06 11:36  great_project\src\main\java\com\business\controller\test\TestController.java
     目录           0  2018-12-24 15:07  great_project\src\main\java\com\business\dao\
     文件        2919  2018-11-14 09:43  great_project\src\main\java\com\business\dao\baseDao.java
     目录           0  2018-12-06 10:24  great_project\src\main\java\com\business\dao\product\
     文件         731  2018-12-07 10:55  great_project\src\main\java\com\business\dao\product\ProductMapper.java
     目录           0  2018-11-12 13:34  great_project\src\main\java\com\business\dao\test\
............此处省略203个文件信息

评论

共有 条评论