Application.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package com.qxgmat;
  2. import org.springframework.boot.SpringApplication;
  3. import org.springframework.boot.autoconfigure.SpringBootApplication;
  4. import org.springframework.boot.web.servlet.ServletComponentScan;
  5. import org.springframework.cache.annotation.EnableCaching;
  6. import org.springframework.context.annotation.Configuration;
  7. import org.springframework.scheduling.annotation.EnableAsync;
  8. import org.springframework.scheduling.annotation.EnableScheduling;
  9. import org.springframework.transaction.annotation.EnableTransactionManagement;
  10. @EnableScheduling
  11. @EnableCaching
  12. @EnableAsync
  13. @EnableTransactionManagement
  14. @SpringBootApplication(
  15. scanBasePackages = {"com.nuliji.*", "com.qxgmat.*", "com.qxgmat.data.*"}
  16. )
  17. @Configuration
  18. @ServletComponentScan
  19. public class Application {
  20. public static void main(String[] args) {
  21. SpringApplication.run(Application.class, args);
  22. }
  23. }
  24. // 服务:开通,服务权限验证,后台支付
  25. // 预习作业添加模式:用于主动发送用户
  26. // 课程与预习作业关系,分册进度
  27. // 模考做题次数,reset
  28. // 订单结构分析:服务、课程、数据都是商品
  29. // 购物车,订单
  30. // 练习列表,进度
  31. // 模考出题