chapterList = null;
- if(bookList.size() > 0) {
- chapterList = iChapterService.selectList(Condition.create().eq("book_id", bookList.get(0).getId()));
- }
- model.addObject("course", course);
- model.addObject("chapterList", chapterList);
- model.addObject("subjectId", course.getSubjectId());
- model.addObject("courseId", course.getId());
- model.setViewName("course");
- return model;
- }
-
- public ICourseService getiCourseService() {
- return iCourseService;
- }
-
- public void setiCourseService(ICourseService iCourseService) {
- this.iCourseService = iCourseService;
- }
-}
diff --git a/tamguo-mms/src/main/java/com/tamguo/web/IndexController.java b/tamguo-mms/src/main/java/com/tamguo/web/IndexController.java
deleted file mode 100644
index 937b255..0000000
--- a/tamguo-mms/src/main/java/com/tamguo/web/IndexController.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.tamguo.web;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.servlet.ModelAndView;
-
-import com.baomidou.mybatisplus.mapper.Condition;
-import com.tamguo.modules.tiku.service.ISubjectService;
-
-@Controller
-public class IndexController {
-
- @Autowired
- private ISubjectService iSubjectService;
-
- @SuppressWarnings("unchecked")
- @RequestMapping(path= {"index","/"})
- public ModelAndView index(ModelAndView model) {
- model.setViewName("index");
- model.addObject("subjectList", iSubjectService.selectList(Condition.EMPTY));
- return model;
- }
-
-}
diff --git a/tamguo-mms/src/main/java/com/tamguo/web/SubjectController.java b/tamguo-mms/src/main/java/com/tamguo/web/SubjectController.java
deleted file mode 100644
index 4299cf1..0000000
--- a/tamguo-mms/src/main/java/com/tamguo/web/SubjectController.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.tamguo.web;
-
-import java.util.Arrays;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Controller;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.servlet.ModelAndView;
-
-import com.baomidou.mybatisplus.mapper.Condition;
-import com.tamguo.modules.tiku.service.ICourseService;
-import com.tamguo.modules.tiku.service.ISubjectService;
-
-@Controller
-public class SubjectController {
-
- @Autowired
- private ICourseService iCourseService;
- @Autowired
- private ISubjectService iSubjectService;
-
- @SuppressWarnings("unchecked")
- @RequestMapping(path= {"subject/{subjectId}.html"})
- public ModelAndView list(@PathVariable String subjectId , ModelAndView model) {
- model.setViewName("subject");
- model.addObject("subject", iSubjectService.selectById(subjectId));
- model.addObject("courseList", iCourseService.selectList(Condition.create().eq("subject_id", subjectId).orderAsc(Arrays.asList("sort"))));
- return model;
- }
-
-}
diff --git a/tamguo-mms/src/main/resources/application.properties b/tamguo-mms/src/main/resources/application.properties
deleted file mode 100644
index bf41d2f..0000000
--- a/tamguo-mms/src/main/resources/application.properties
+++ /dev/null
@@ -1,61 +0,0 @@
-domain.name=http://localhost:8084/
-server.port=8084
-jasypt.encryptor.password=tamguo
-
-spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
-spring.datasource.driver-class-name=com.mysql.jdbc.Driver
-spring.datasource.filters=stat,wall,log4j
-spring.datasource.initialSize=5
-spring.datasource.maxActive=20
-spring.datasource.maxPoolPreparedStatementPerConnectionSize=20
-spring.datasource.maxWait=60000
-spring.datasource.minEvictableIdleTimeMillis=300000
-spring.datasource.minIdle=5
-spring.datasource.password=Tanguo
-spring.datasource.poolPreparedStatements=true
-spring.datasource.testOnBorrow=false
-spring.datasource.testOnReturn=false
-spring.datasource.testWhileIdle=true
-spring.datasource.timeBetweenEvictionRunsMillis=60000
-spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
-spring.datasource.url=jdbc:mysql://47.100.175.14:3306/tamguo?useUnicode=true&characterEncoding=UTF-8&useSSL=false
-spring.datasource.username=root
-spring.datasource.validationQuery=SELECT 1 FROM DUAL
-
-mybatis-plus.mapper-locations=classpath:/mappers/*Mapper.xml
-mybatis-plus.typeAliasesPackage=com.tamguo.modules.*.model
-mybatis-plus.typeEnumsPackage=com.tamguo.modules.*.model.enums
-mybatis-plus.global-config.id-type=5
-mybatis-plus.global-config.field-strategy=2
-mybatis-plus.global-config.db-column-underline=true
-mybatis-plus.global-config.refresh-mapper=true
-mybatis-plus.global-config.key-generator=com.baomidou.mybatisplus.incrementer.H2KeyGenerator
-mybatis-plus.global-config.logic-delete-value=0
-mybatis-plus.global-config.logic-not-delete-value=1
-mybatis-plus.global-config.sql-injector=com.baomidou.mybatisplus.mapper.LogicSqlInjector
-mybatis-plus.global-config.meta-object-handler=com.tamguo.config.dao.MyMetaObjectHandler
-mybatis-plus.global-config.sql-parser-cache=true
-mybatis-plus.configuration.map-underscore-to-camel-case=true
-mybatis-plus.configuration.cache-enabled=false
-
-spring.thymeleaf.prefix=classpath:/templates/
-spring.thymeleaf.suffix=.html
-spring.thymeleaf.mode=LEGACYHTML5
-spring.thymeleaf.encoding=UTF-8
-spring.thymeleaf.content-type=text/html
-spring.thymeleaf.cache=false
-
-redis.hostname=127.0.0.1
-redis.port=6379
-redis.password=
-
-logging.level.root=INFO
-logging.level.org.springframework.web=INFO
-logging.file=/home/webdata/log/tamguo.log
-logging.pattern.console=%d{yyyy/MM/dd-HH:mm:ss} [%thread] %-5level %logger- %msg%n
-logging.pattern.file=%d{yyyy/MM/dd-HH:mm} [%thread] %-5level %logger- %msg%n
-
-server.compression.enabled=true
-server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain
-
-file.storage.path=/home/webdata/files/
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/ehcache-shiro.xml b/tamguo-mms/src/main/resources/ehcache-shiro.xml
deleted file mode 100644
index 03ae4ff..0000000
--- a/tamguo-mms/src/main/resources/ehcache-shiro.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/mappers/CourseMapper.xml b/tamguo-mms/src/main/resources/mappers/CourseMapper.xml
deleted file mode 100644
index 451d633..0000000
--- a/tamguo-mms/src/main/resources/mappers/CourseMapper.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/mappers/MenuMapper.xml b/tamguo-mms/src/main/resources/mappers/MenuMapper.xml
deleted file mode 100644
index f71e955..0000000
--- a/tamguo-mms/src/main/resources/mappers/MenuMapper.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/mappers/QuestionMapper.xml b/tamguo-mms/src/main/resources/mappers/QuestionMapper.xml
deleted file mode 100644
index c6c7211..0000000
--- a/tamguo-mms/src/main/resources/mappers/QuestionMapper.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/redis.xml b/tamguo-mms/src/main/resources/redis.xml
deleted file mode 100644
index ed04f74..0000000
--- a/tamguo-mms/src/main/resources/redis.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/static/js/chapter/main.js b/tamguo-mms/src/main/resources/static/js/chapter/main.js
deleted file mode 100644
index 3013f96..0000000
--- a/tamguo-mms/src/main/resources/static/js/chapter/main.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var vm = new Vue({
- el:'#app',
- data : {
- docked: false,
- open: false,
- position: 'left',
- panel: '',
- total:0,
- question:{},
- topUrl:"",
- nextUrl:null,
- warnOpen:false,
- warnMessage:'',
- courseList:[]
- },
- methods:{
-
- }
-});
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/static/js/index/main.js b/tamguo-mms/src/main/resources/static/js/index/main.js
deleted file mode 100644
index 3013f96..0000000
--- a/tamguo-mms/src/main/resources/static/js/index/main.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var vm = new Vue({
- el:'#app',
- data : {
- docked: false,
- open: false,
- position: 'left',
- panel: '',
- total:0,
- question:{},
- topUrl:"",
- nextUrl:null,
- warnOpen:false,
- warnMessage:'',
- courseList:[]
- },
- methods:{
-
- }
-});
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/static/js/question/main.js b/tamguo-mms/src/main/resources/static/js/question/main.js
deleted file mode 100644
index 3013f96..0000000
--- a/tamguo-mms/src/main/resources/static/js/question/main.js
+++ /dev/null
@@ -1,19 +0,0 @@
-var vm = new Vue({
- el:'#app',
- data : {
- docked: false,
- open: false,
- position: 'left',
- panel: '',
- total:0,
- question:{},
- topUrl:"",
- nextUrl:null,
- warnOpen:false,
- warnMessage:'',
- courseList:[]
- },
- methods:{
-
- }
-});
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/templates/course.html b/tamguo-mms/src/main/resources/templates/course.html
deleted file mode 100644
index 4c90d1a..0000000
--- a/tamguo-mms/src/main/resources/templates/course.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
- 探果题库_聪明的学生都在这里
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sent mail
-
-
-
-
- List Item 1
-
-
-
-
- List Item 2.1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/templates/index.html b/tamguo-mms/src/main/resources/templates/index.html
deleted file mode 100644
index 3136a0d..0000000
--- a/tamguo-mms/src/main/resources/templates/index.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
- 探果题库_聪明的学生都在这里
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{it.name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/templates/question.html b/tamguo-mms/src/main/resources/templates/question.html
deleted file mode 100644
index 563984b..0000000
--- a/tamguo-mms/src/main/resources/templates/question.html
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-
- 探果题库为老师创造价值-探果题库
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 无
-
-
-
- B
-
-
-
- 苯巴比妥属于巴比妥类镇静催眠药;佐匹克隆属于环吡咯酮类镇静催眠药;阿普唑仑属于苯二氮䓬类镇静催眠药,同类药物还有地西泮等,苯妥英钠属于乙内酰脲类抗癫痫药。
-
-
-
-
-
-
-
-
- 首页
-
-
-
- {{course.name}}
-
-
-
- 关闭
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/tamguo-mms/src/main/resources/templates/subject.html b/tamguo-mms/src/main/resources/templates/subject.html
deleted file mode 100644
index ef8cf4f..0000000
--- a/tamguo-mms/src/main/resources/templates/subject.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 高考
-
- {{it.name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file