allMenuList = iSubjectService.findAllMenus();
+ return Result.successResult(allMenuList);
+ } catch (Exception e) {
+ return ExceptionSupport.resolverResult("查询所有菜单", this.getClass(), e);
+ }
+
+ }
+
+}
diff --git a/tamguo-mobile/src/main/java/com/tamguo/web/QuestionController.java b/tamguo-mobile/src/main/java/com/tamguo/web/QuestionController.java
new file mode 100644
index 0000000..ddcdc9a
--- /dev/null
+++ b/tamguo-mobile/src/main/java/com/tamguo/web/QuestionController.java
@@ -0,0 +1,14 @@
+package com.tamguo.web;
+
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+@Controller
+public class QuestionController {
+
+ @RequestMapping(path= {"question","/"})
+ public String index() {
+ return "question";
+ }
+
+}
diff --git a/tamguo-mobile/src/main/resources/application.properties b/tamguo-mobile/src/main/resources/application.properties
new file mode 100644
index 0000000..0c1f8c7
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/application.properties
@@ -0,0 +1,61 @@
+sitenum=3
+domain.name=http://localhost:8081/
+server.port=8081
+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.model
+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=47.100.175.14
+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-mobile/src/main/resources/ehcache-shiro.xml b/tamguo-mobile/src/main/resources/ehcache-shiro.xml
new file mode 100644
index 0000000..03ae4ff
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/ehcache-shiro.xml
@@ -0,0 +1,11 @@
+
+
+
\ No newline at end of file
diff --git a/tamguo-mobile/src/main/resources/mappers/MenuMapper.xml b/tamguo-mobile/src/main/resources/mappers/MenuMapper.xml
new file mode 100644
index 0000000..f71e955
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/mappers/MenuMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tamguo-mobile/src/main/resources/redis.xml b/tamguo-mobile/src/main/resources/redis.xml
new file mode 100644
index 0000000..4055e0d
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/redis.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tamguo-mobile/src/main/resources/static/js/index/main.js b/tamguo-mobile/src/main/resources/static/js/index/main.js
new file mode 100644
index 0000000..7d81cc9
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/static/js/index/main.js
@@ -0,0 +1,17 @@
+var vm = new Vue({
+ el:'#app',
+ data : {
+ menus:[]
+ },
+ methods:{
+ findAllMenus(){
+ axios({method: 'post',url: mainHttp + 'menu/findAllMenus.html'}).then(function(response){
+ if(response.data.code == 0){
+ vm.menus = response.data.result;
+ }
+ });
+ }
+ }
+});
+
+vm.findAllMenus();
\ No newline at end of file
diff --git a/tamguo-mobile/src/main/resources/templates/chapter.html b/tamguo-mobile/src/main/resources/templates/chapter.html
new file mode 100644
index 0000000..7e71f81
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/templates/chapter.html
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+ MUSEUI Demo
+
+
+
+
+
+
+
+
+
+
+
+ 探果题库
+
+ 登录
+ 注册
+
+
+
+
+
+
+
+ 当前位置
+ 理科数学
+ 第一章 社会工作概述
+
+
+
+ 第一章 社会工作概述
+
+
+
+ 1.1 社区的含义、要素及功能
+
+ 1 社会工作的含义、目标与功能
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.2 社区工作的含义及特点
+
+
+ 1 社会工作的含义、目标与功能
+
+
+
+
+
+ 第一章 社会工作概述
+
+
+
+ 1.1 社区的含义、要素及功能
+
+ 1 社会工作的含义、目标与功能
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.2 社区工作的含义及特点
+
+
+ 1 社会工作的含义、目标与功能
+
+
+
+
+
+
+
+ 理科数学
+
+
+ 文科数学
+
+
+ 物理
+
+
+ 英语
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tamguo-mobile/src/main/resources/templates/index.html b/tamguo-mobile/src/main/resources/templates/index.html
new file mode 100644
index 0000000..c0a75c9
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/templates/index.html
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+ MUSEUI Demo
+
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+ {{it.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tamguo-mobile/src/main/resources/templates/question.html b/tamguo-mobile/src/main/resources/templates/question.html
new file mode 100644
index 0000000..7e18167
--- /dev/null
+++ b/tamguo-mobile/src/main/resources/templates/question.html
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+ MUSEUI Demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 如图,圆O 1 与圆O 2 内切于点A,其半径分别为r 1 与r 2 (r 1 >r 2 ).圆O 1 的弦AB交圆O 2 于点C(O 1 不在AB上)。
+
+ 求证:AB∶AC为定值。
+
+
+
+ B
+
+
+
+ 苯巴比妥属于巴比妥类镇静催眠药;佐匹克隆属于环吡咯酮类镇静催眠药;阿普唑仑属于苯二氮䓬类镇静催眠药,同类药物还有地西泮等,苯妥英钠属于乙内酰脲类抗癫痫药。
+
+
+
+
+
+
+
+
+ 理科数学
+
+
+ 文科数学
+
+
+ 物理
+
+
+ 英语
+
+
+ 关闭
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file