├── kj.png ├── shot.png ├── shot2.png ├── target ├── maven-status │ └── maven-compiler-plugin │ │ ├── compile │ │ └── default-compile │ │ │ └── inputFiles.lst │ │ └── testCompile │ │ └── default-testCompile │ │ └── inputFiles.lst ├── ssm_maven_pure-1.0-SNAPSHOT │ ├── WEB-INF │ │ ├── classes │ │ │ ├── META-INF │ │ │ │ └── ssm_maven_pure.kotlin_module │ │ │ ├── jdbc.properties │ │ │ ├── com │ │ │ │ └── java │ │ │ │ │ ├── pojo │ │ │ │ │ └── postData.class │ │ │ │ │ ├── mapper │ │ │ │ │ └── AskMapper.class │ │ │ │ │ ├── utils │ │ │ │ │ └── UserUtils.class │ │ │ │ │ ├── service │ │ │ │ │ ├── AskService.class │ │ │ │ │ └── impl │ │ │ │ │ │ └── AskServiceImpl.class │ │ │ │ │ └── controller │ │ │ │ │ └── ask │ │ │ │ │ ├── MainController.class │ │ │ │ │ ├── PostController.class │ │ │ │ │ └── UserController.class │ │ │ ├── mybatis.xml │ │ │ ├── log4j.properties │ │ │ ├── springmvc.xml │ │ │ └── applicationContext.xml │ │ ├── lib │ │ │ ├── jstl-1.2.jar │ │ │ ├── poi-3.9.jar │ │ │ ├── gson-2.2.4.jar │ │ │ ├── guava-15.0.jar │ │ │ ├── jdom-1.1.3.jar │ │ │ ├── p6spy-2.1.4.jar │ │ │ ├── c3p0-0.9.1.2.jar │ │ │ ├── joda-time-2.5.jar │ │ │ ├── log4j-1.2.14.jar │ │ │ ├── lombok-1.18.2.jar │ │ │ ├── mybatis-3.2.2.jar │ │ │ ├── aopalliance-1.0.jar │ │ │ ├── classmate-1.1.0.jar │ │ │ ├── commons-dbcp-1.3.jar │ │ │ ├── commons-io-1.4.jar │ │ │ ├── commons-lang-2.3.jar │ │ │ ├── httpclient-4.0.1.jar │ │ │ ├── httpcore-4.0.1.jar │ │ │ ├── jsqlparser-0.9.5.jar │ │ │ ├── pagehelper-4.1.6.jar │ │ │ ├── slf4j-api-1.7.7.jar │ │ │ ├── commons-codec-1.10.jar │ │ │ ├── commons-pool-1.5.6.jar │ │ │ ├── jpush-client-3.1.3.jar │ │ │ ├── aspectjweaver-1.7.2.jar │ │ │ ├── commons-logging-1.0.4.jar │ │ │ ├── mybatis-spring-1.2.0.jar │ │ │ ├── slf4j-log4j12-1.7.5.jar │ │ │ ├── swagger-models-1.0.2.jar │ │ │ ├── commons-collections-3.1.jar │ │ │ ├── commons-httpclient-3.1.jar │ │ │ ├── jackson-core-2.9.0.pr2.jar │ │ │ ├── jackson-core-asl-1.9.13.jar │ │ │ ├── spring-tx-3.2.2.RELEASE.jar │ │ │ ├── swagger-springmvc-1.0.2.jar │ │ │ ├── commons-fileupload-1.2.1.jar │ │ │ ├── jackson-databind-2.9.0.pr2.jar │ │ │ ├── jackson-mapper-asl-1.9.13.jar │ │ │ ├── jboss-logging-3.3.0.Final.jar │ │ │ ├── spring-aop-3.2.2.RELEASE.jar │ │ │ ├── spring-beans-3.2.2.RELEASE.jar │ │ │ ├── spring-core-3.2.2.RELEASE.jar │ │ │ ├── spring-jdbc-3.2.2.RELEASE.jar │ │ │ ├── spring-orm-3.2.2.RELEASE.jar │ │ │ ├── spring-web-3.2.9.RELEASE.jar │ │ │ ├── swagger-annotations-1.3.11.jar │ │ │ ├── validation-api-1.1.0.Final.jar │ │ │ ├── mysql-connector-java-5.1.46.jar │ │ │ ├── spring-aspects-3.2.2.RELEASE.jar │ │ │ ├── spring-context-3.2.2.RELEASE.jar │ │ │ ├── spring-webmvc-3.2.2.RELEASE.jar │ │ │ ├── hibernate-validator-5.4.1.Final.jar │ │ │ ├── jackson-annotations-2.9.0.pr2.jar │ │ │ ├── spring-expression-3.2.2.RELEASE.jar │ │ │ └── spring-context-support-3.2.2.RELEASE.jar │ │ └── web.xml │ ├── lib │ │ ├── logo1.png │ │ ├── fonts │ │ │ └── element-icons.woff │ │ ├── wangEditor │ │ │ └── fonts │ │ │ │ └── w-e-icon.woff │ │ ├── element-ui-display.css │ │ └── jquery.md5.js │ ├── META-INF │ │ └── MANIFEST.MF │ ├── pages │ │ └── error │ │ │ └── 404.html │ ├── css │ │ ├── register.css │ │ ├── login.css │ │ ├── newask.css │ │ ├── ask.css │ │ ├── display.css │ │ └── index.css │ ├── login.html │ ├── search.html │ ├── register.html │ ├── index.html │ ├── newask.html │ └── ask.html ├── ssm_maven_pure-1.0-SNAPSHOT.war └── classes │ ├── com │ └── java │ │ ├── pojo │ │ └── postData.class │ │ ├── mapper │ │ └── AskMapper.class │ │ ├── utils │ │ └── UserUtils.class │ │ ├── service │ │ ├── AskService.class │ │ └── impl │ │ │ └── AskServiceImpl.class │ │ └── controller │ │ └── ask │ │ ├── MainController.class │ │ ├── PostController.class │ │ └── UserController.class │ ├── jdbc.properties │ ├── mybatis.xml │ ├── log4j.properties │ ├── springmvc.xml │ └── applicationContext.xml ├── .gitattributes ├── src └── main │ ├── webapp │ ├── lib │ │ ├── logo1.png │ │ ├── fonts │ │ │ └── element-icons.woff │ │ ├── wangEditor │ │ │ └── fonts │ │ │ │ └── w-e-icon.woff │ │ ├── element-ui-display.css │ │ └── jquery.md5.js │ ├── pages │ │ └── error │ │ │ └── 404.html │ ├── css │ │ ├── register.css │ │ ├── login.css │ │ ├── newask.css │ │ ├── ask.css │ │ ├── display.css │ │ └── index.css │ ├── WEB-INF │ │ └── web.xml │ ├── login.html │ ├── search.html │ ├── register.html │ ├── index.html │ ├── newask.html │ └── ask.html │ ├── resources │ ├── jdbc.properties │ ├── mybatis.xml │ ├── log4j.properties │ ├── springmvc.xml │ └── applicationContext.xml │ └── java │ └── com │ └── java │ ├── utils │ └── UserUtils.java │ ├── pojo │ └── postData.java │ ├── service │ ├── AskService.java │ └── impl │ │ └── AskServiceImpl.java │ ├── controller │ └── ask │ │ ├── MainController.java │ │ ├── UserController.java │ │ └── PostController.java │ └── mapper │ └── AskMapper.java ├── README.md ├── ssm_maven_pure.iml └── pom.xml /kj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/kj.png -------------------------------------------------------------------------------- /shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/shot.png -------------------------------------------------------------------------------- /shot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/shot2.png -------------------------------------------------------------------------------- /target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/META-INF/ssm_maven_pure.kotlin_module: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /src/main/webapp/lib/logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/src/main/webapp/lib/logo1.png -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT.war -------------------------------------------------------------------------------- /src/main/webapp/lib/fonts/element-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/src/main/webapp/lib/fonts/element-icons.woff -------------------------------------------------------------------------------- /target/classes/com/java/pojo/postData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/pojo/postData.class -------------------------------------------------------------------------------- /target/classes/com/java/mapper/AskMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/mapper/AskMapper.class -------------------------------------------------------------------------------- /target/classes/com/java/utils/UserUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/utils/UserUtils.class -------------------------------------------------------------------------------- /target/classes/com/java/service/AskService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/service/AskService.class -------------------------------------------------------------------------------- /target/classes/jdbc.properties: -------------------------------------------------------------------------------- 1 | #mysql 2 | driverClassName=com.mysql.jdbc.Driver 3 | url=jdbc:mysql://localhost:3306/ask 4 | username=root 5 | password=123456 -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/lib/logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/lib/logo1.png -------------------------------------------------------------------------------- /src/main/resources/jdbc.properties: -------------------------------------------------------------------------------- 1 | #mysql 2 | driverClassName=com.mysql.jdbc.Driver 3 | url=jdbc:mysql://localhost:3306/ask 4 | username=root 5 | password=123456 -------------------------------------------------------------------------------- /src/main/webapp/lib/wangEditor/fonts/w-e-icon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/src/main/webapp/lib/wangEditor/fonts/w-e-icon.woff -------------------------------------------------------------------------------- /target/classes/com/java/service/impl/AskServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/service/impl/AskServiceImpl.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Created-By: IntelliJ IDEA 3 | Built-By: Administrator 4 | Build-Jdk: 1.8.0_131 5 | 6 | -------------------------------------------------------------------------------- /target/classes/com/java/controller/ask/MainController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/controller/ask/MainController.class -------------------------------------------------------------------------------- /target/classes/com/java/controller/ask/PostController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/controller/ask/PostController.class -------------------------------------------------------------------------------- /target/classes/com/java/controller/ask/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/classes/com/java/controller/ask/UserController.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jstl-1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jstl-1.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/poi-3.9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/poi-3.9.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/gson-2.2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/gson-2.2.4.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/guava-15.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/guava-15.0.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jdom-1.1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jdom-1.1.3.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/p6spy-2.1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/p6spy-2.1.4.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/c3p0-0.9.1.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/c3p0-0.9.1.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/joda-time-2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/joda-time-2.5.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/log4j-1.2.14.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/log4j-1.2.14.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/lombok-1.18.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/lombok-1.18.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/mybatis-3.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/mybatis-3.2.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/lib/fonts/element-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/lib/fonts/element-icons.woff -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/jdbc.properties: -------------------------------------------------------------------------------- 1 | #mysql 2 | driverClassName=com.mysql.jdbc.Driver 3 | url=jdbc:mysql://localhost:3306/ask 4 | username=root 5 | password=123456 -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/aopalliance-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/aopalliance-1.0.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/classmate-1.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/classmate-1.1.0.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-dbcp-1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-dbcp-1.3.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-io-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-io-1.4.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-lang-2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-lang-2.3.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/httpclient-4.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/httpclient-4.0.1.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/httpcore-4.0.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/httpcore-4.0.1.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jsqlparser-0.9.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jsqlparser-0.9.5.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/pagehelper-4.1.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/pagehelper-4.1.6.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/slf4j-api-1.7.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/slf4j-api-1.7.7.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-codec-1.10.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-codec-1.10.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-pool-1.5.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-pool-1.5.6.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jpush-client-3.1.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jpush-client-3.1.3.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/lib/wangEditor/fonts/w-e-icon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/lib/wangEditor/fonts/w-e-icon.woff -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/aspectjweaver-1.7.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/aspectjweaver-1.7.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-logging-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-logging-1.0.4.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/mybatis-spring-1.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/mybatis-spring-1.2.0.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/slf4j-log4j12-1.7.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/slf4j-log4j12-1.7.5.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/swagger-models-1.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/swagger-models-1.0.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-collections-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-collections-3.1.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-httpclient-3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-httpclient-3.1.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-core-2.9.0.pr2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-core-2.9.0.pr2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-core-asl-1.9.13.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-core-asl-1.9.13.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-tx-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-tx-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/swagger-springmvc-1.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/swagger-springmvc-1.0.2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-fileupload-1.2.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/commons-fileupload-1.2.1.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-databind-2.9.0.pr2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-databind-2.9.0.pr2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jboss-logging-3.3.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jboss-logging-3.3.0.Final.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-aop-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-aop-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-beans-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-beans-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-core-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-core-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-jdbc-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-jdbc-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-orm-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-orm-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-web-3.2.9.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-web-3.2.9.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/swagger-annotations-1.3.11.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/swagger-annotations-1.3.11.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/validation-api-1.1.0.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/validation-api-1.1.0.Final.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/pojo/postData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/pojo/postData.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/mysql-connector-java-5.1.46.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/mysql-connector-java-5.1.46.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-aspects-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-aspects-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-context-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-context-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-webmvc-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-webmvc-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/mapper/AskMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/mapper/AskMapper.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/utils/UserUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/utils/UserUtils.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/hibernate-validator-5.4.1.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/hibernate-validator-5.4.1.Final.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-annotations-2.9.0.pr2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/jackson-annotations-2.9.0.pr2.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-expression-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-expression-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/service/AskService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/service/AskService.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-context-support-3.2.2.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/lib/spring-context-support-3.2.2.RELEASE.jar -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/service/impl/AskServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/service/impl/AskServiceImpl.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/controller/ask/MainController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/controller/ask/MainController.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/controller/ask/PostController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/controller/ask/PostController.class -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/controller/ask/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghboke/spingMVCSolution/HEAD/target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/com/java/controller/ask/UserController.class -------------------------------------------------------------------------------- /src/main/webapp/pages/error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 404页面 7 | 8 | 9 |

出错了,没找到文件

10 | 11 | 12 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/pages/error/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 404页面 7 | 8 | 9 |

出错了,没找到文件

10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/java/com/java/utils/UserUtils.java: -------------------------------------------------------------------------------- 1 | package com.java.utils; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | 5 | import javax.servlet.http.HttpServletRequest; 6 | 7 | public class UserUtils { 8 | @Autowired 9 | HttpServletRequest request; 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/webapp/css/register.css: -------------------------------------------------------------------------------- 1 | .content { 2 | margin-top: 16px; 3 | padding: 16px; 4 | background: #fff; 5 | border-radius: 8px; 6 | } 7 | 8 | .ask-title h1 { 9 | font-size: 30px !important; 10 | margin-bottom: 8px; 11 | border-bottom: 1px dashed #eee; 12 | } 13 | .form-register{ 14 | width: 50%; 15 | } -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/css/register.css: -------------------------------------------------------------------------------- 1 | .content { 2 | margin-top: 16px; 3 | padding: 16px; 4 | background: #fff; 5 | border-radius: 8px; 6 | } 7 | 8 | .ask-title h1 { 9 | font-size: 30px !important; 10 | margin-bottom: 8px; 11 | border-bottom: 1px dashed #eee; 12 | } 13 | .form-register{ 14 | width: 50%; 15 | } -------------------------------------------------------------------------------- /src/main/webapp/css/login.css: -------------------------------------------------------------------------------- 1 | .login-plane{ 2 | max-width: 800px; 3 | margin: 16px auto; 4 | display: flex; 5 | } 6 | .login-card{ 7 | width: 200px; 8 | height: 400px; 9 | padding: 24px; 10 | background-image: linear-gradient(90deg, #9c4dff 0%, #f56c6c 100%); 11 | color: #fff; 12 | } 13 | .login-form{ 14 | padding: 24px; 15 | background: #fff; 16 | width: 80%; 17 | } -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/css/login.css: -------------------------------------------------------------------------------- 1 | .login-plane{ 2 | max-width: 800px; 3 | margin: 16px auto; 4 | display: flex; 5 | } 6 | .login-card{ 7 | width: 200px; 8 | height: 400px; 9 | padding: 24px; 10 | background-image: linear-gradient(90deg, #9c4dff 0%, #f56c6c 100%); 11 | color: #fff; 12 | } 13 | .login-form{ 14 | padding: 24px; 15 | background: #fff; 16 | width: 80%; 17 | } -------------------------------------------------------------------------------- /src/main/webapp/css/newask.css: -------------------------------------------------------------------------------- 1 | .content { 2 | margin-top: 16px; 3 | padding: 16px; 4 | background: #fff; 5 | border-radius: 8px; 6 | } 7 | .content h2{ 8 | margin-bottom: 16px; 9 | padding-bottom: 8px; 10 | border-bottom: 1px solid #efefef; 11 | } 12 | .input-title{ 13 | margin-bottom: 16px; 14 | } 15 | #mainEdit{ 16 | margin-top: 16px; 17 | } 18 | .plane-btn{ 19 | padding: 16px 0 ; 20 | text-align: right; 21 | } -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/css/newask.css: -------------------------------------------------------------------------------- 1 | .content { 2 | margin-top: 16px; 3 | padding: 16px; 4 | background: #fff; 5 | border-radius: 8px; 6 | } 7 | .content h2{ 8 | margin-bottom: 16px; 9 | padding-bottom: 8px; 10 | border-bottom: 1px solid #efefef; 11 | } 12 | .input-title{ 13 | margin-bottom: 16px; 14 | } 15 | #mainEdit{ 16 | margin-top: 16px; 17 | } 18 | .plane-btn{ 19 | padding: 16px 0 ; 20 | text-align: right; 21 | } -------------------------------------------------------------------------------- /target/classes/mybatis.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/resources/mybatis.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/webapp/css/ask.css: -------------------------------------------------------------------------------- 1 | .content { 2 | margin-top: 16px; 3 | padding: 16px; 4 | background: #fff; 5 | border-radius: 8px; 6 | } 7 | 8 | .ask-title h1 { 9 | font-size: 30px !important; 10 | margin-bottom: 8px; 11 | border-bottom: 1px dashed #eee; 12 | } 13 | .ask-content img{ 14 | max-width: 100%; 15 | } 16 | .ask-meta-span{ 17 | margin-left: 8px; 18 | } 19 | .ask-creattime{ 20 | color: #999; 21 | } 22 | .ask-meta { 23 | display: flex; 24 | justify-content: space-between; 25 | } -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/mybatis.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/css/ask.css: -------------------------------------------------------------------------------- 1 | .content { 2 | margin-top: 16px; 3 | padding: 16px; 4 | background: #fff; 5 | border-radius: 8px; 6 | } 7 | 8 | .ask-title h1 { 9 | font-size: 30px !important; 10 | margin-bottom: 8px; 11 | border-bottom: 1px dashed #eee; 12 | } 13 | .ask-content img{ 14 | max-width: 100%; 15 | } 16 | .ask-meta-span{ 17 | margin-left: 8px; 18 | } 19 | .ask-creattime{ 20 | color: #999; 21 | } 22 | .ask-meta { 23 | display: flex; 24 | justify-content: space-between; 25 | } -------------------------------------------------------------------------------- /target/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=debug, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.Target=System.err 5 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern=%d %l %m %n 7 | 8 | #log4j.rootLogger=debug,logfile 9 | # 10 | #log4j.appender.logfile=org.apache.log4j.FileAppender 11 | #log4j.appender.logfile.File=D:\\dt48_ssm.log 12 | #log4j.appender.logfile.layout=org.apache.log4j.PatternLayout 13 | #log4j.appender.logfile.layout.ConversionPattern=%p %d %F %M %m%n 14 | 15 | -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=debug, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.Target=System.err 5 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern=%d %l %m %n 7 | 8 | #log4j.rootLogger=debug,logfile 9 | # 10 | #log4j.appender.logfile=org.apache.log4j.FileAppender 11 | #log4j.appender.logfile.File=D:\\dt48_ssm.log 12 | #log4j.appender.logfile.layout=org.apache.log4j.PatternLayout 13 | #log4j.appender.logfile.layout.ConversionPattern=%p %d %F %M %m%n 14 | 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 问题方案解决系统 2 | 3 | 使用VUE+element+SpringMVC实现 4 | 数据库使用mybatis实现。 5 | 项目管理使用maven仓库。 6 | 7 | ![image-20191219193942090](kj.png) 8 | 9 | 前后端分离,纯前端,ajax请求数据。 10 | 11 | 已经实现功能: 12 | 1.登录 13 | 2.添加数据 14 | 3.方案显示 15 | 16 | 预留接口 17 | 注册 18 | 删除文章 19 | 编辑方案 20 | 21 | 模块化结构,很方便后期拓展。 22 | 改个名字就能二次开发了。 23 | 24 | 适合期末答辩使用 25 | 26 | ![shot](shot.png) 27 | 28 | ![image-20191219194116349](shot2.png) 29 | 30 | ## 部署 31 | 32 | 1.开发工具为IDEA 33 | 34 | 2.解压后,导入根目录的sql文件,然后,修改src\main\resources\jdbc.properties 文件,把里面的数据库账号密码修改成你的即可。 35 | 36 | 3.默认账号:aaa,密码123 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/log4j.properties: -------------------------------------------------------------------------------- 1 | log4j.rootLogger=debug, stdout 2 | 3 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 4 | log4j.appender.stdout.Target=System.err 5 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern=%d %l %m %n 7 | 8 | #log4j.rootLogger=debug,logfile 9 | # 10 | #log4j.appender.logfile=org.apache.log4j.FileAppender 11 | #log4j.appender.logfile.File=D:\\dt48_ssm.log 12 | #log4j.appender.logfile.layout=org.apache.log4j.PatternLayout 13 | #log4j.appender.logfile.layout.ConversionPattern=%p %d %F %M %m%n 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/com/java/pojo/postData.java: -------------------------------------------------------------------------------- 1 | package com.java.pojo; 2 | 3 | public class postData { 4 | String content; 5 | String title; 6 | int classid; 7 | public int getClassid() { 8 | return classid; 9 | } 10 | 11 | public void setClassid(int classid) { 12 | this.classid = classid; 13 | } 14 | 15 | 16 | 17 | public String getContent() { 18 | return content; 19 | } 20 | 21 | public void setContent(String content) { 22 | this.content = content; 23 | } 24 | 25 | public String getTitle() { 26 | return title; 27 | } 28 | 29 | public void setTitle(String title) { 30 | this.title = title; 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/java/service/AskService.java: -------------------------------------------------------------------------------- 1 | package com.java.service; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | public interface AskService { 7 | List> getAskList(int num); 8 | List> login(String user, String pass); 9 | 10 | Map getUserInfo(int id); 11 | 12 | Map getAskClass(int id); 13 | Map getAsk(int id); 14 | int addAsk(String title, String content, int classid,int userid,String creattime); 15 | int getTotalAsk(); 16 | List> getAskClassJson(); 17 | List> search(String content); 18 | int upDateView(int id); 19 | int delask(int id); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/main/webapp/css/display.css: -------------------------------------------------------------------------------- 1 | @media only screen and (max-width:767px){.hidden-xs-only{display:none!important}}@media only screen and (min-width:768px){.hidden-sm-and-up{display:none!important}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-sm-only{display:none!important}}@media only screen and (max-width:991px){.hidden-sm-and-down{display:none!important}}@media only screen and (min-width:992px){.hidden-md-and-up{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-md-only{display:none!important}}@media only screen and (max-width:1199px){.hidden-md-and-down{display:none!important}}@media only screen and (min-width:1200px){.hidden-lg-and-up{display:none!important}}@media only screen and (min-width:1200px) and (max-width:1919px){.hidden-lg-only{display:none!important}}@media only screen and (max-width:1919px){.hidden-lg-and-down{display:none!important}}@media only screen and (min-width:1920px){.hidden-xl-only{display:none!important}} -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/css/display.css: -------------------------------------------------------------------------------- 1 | @media only screen and (max-width:767px){.hidden-xs-only{display:none!important}}@media only screen and (min-width:768px){.hidden-sm-and-up{display:none!important}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-sm-only{display:none!important}}@media only screen and (max-width:991px){.hidden-sm-and-down{display:none!important}}@media only screen and (min-width:992px){.hidden-md-and-up{display:none!important}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-md-only{display:none!important}}@media only screen and (max-width:1199px){.hidden-md-and-down{display:none!important}}@media only screen and (min-width:1200px){.hidden-lg-and-up{display:none!important}}@media only screen and (min-width:1200px) and (max-width:1919px){.hidden-lg-only{display:none!important}}@media only screen and (max-width:1919px){.hidden-lg-and-down{display:none!important}}@media only screen and (min-width:1920px){.hidden-xl-only{display:none!important}} -------------------------------------------------------------------------------- /src/main/webapp/lib/element-ui-display.css: -------------------------------------------------------------------------------- 1 | @media only screen and (max-width:767px) { 2 | .hidden-xs-only { 3 | display: none !important 4 | } 5 | } 6 | 7 | @media only screen and (min-width:768px) { 8 | .hidden-sm-and-up { 9 | display: none !important 10 | } 11 | } 12 | 13 | @media only screen and (min-width:768px) and (max-width:991px) { 14 | .hidden-sm-only { 15 | display: none !important 16 | } 17 | } 18 | 19 | @media only screen and (max-width:991px) { 20 | .hidden-sm-and-down { 21 | display: none !important 22 | } 23 | } 24 | 25 | @media only screen and (min-width:992px) { 26 | .hidden-md-and-up { 27 | display: none !important 28 | } 29 | } 30 | 31 | @media only screen and (min-width:992px) and (max-width:1199px) { 32 | .hidden-md-only { 33 | display: none !important 34 | } 35 | } 36 | 37 | @media only screen and (max-width:1199px) { 38 | .hidden-md-and-down { 39 | display: none !important 40 | } 41 | } 42 | 43 | @media only screen and (min-width:1200px) { 44 | .hidden-lg-and-up { 45 | display: none !important 46 | } 47 | } 48 | 49 | @media only screen and (min-width:1200px) and (max-width:1919px) { 50 | .hidden-lg-only { 51 | display: none !important 52 | } 53 | } 54 | 55 | @media only screen and (max-width:1919px) { 56 | .hidden-lg-and-down { 57 | display: none !important 58 | } 59 | } 60 | 61 | @media only screen and (min-width:1920px) { 62 | .hidden-xl-only { 63 | display: none !important 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/lib/element-ui-display.css: -------------------------------------------------------------------------------- 1 | @media only screen and (max-width:767px) { 2 | .hidden-xs-only { 3 | display: none !important 4 | } 5 | } 6 | 7 | @media only screen and (min-width:768px) { 8 | .hidden-sm-and-up { 9 | display: none !important 10 | } 11 | } 12 | 13 | @media only screen and (min-width:768px) and (max-width:991px) { 14 | .hidden-sm-only { 15 | display: none !important 16 | } 17 | } 18 | 19 | @media only screen and (max-width:991px) { 20 | .hidden-sm-and-down { 21 | display: none !important 22 | } 23 | } 24 | 25 | @media only screen and (min-width:992px) { 26 | .hidden-md-and-up { 27 | display: none !important 28 | } 29 | } 30 | 31 | @media only screen and (min-width:992px) and (max-width:1199px) { 32 | .hidden-md-only { 33 | display: none !important 34 | } 35 | } 36 | 37 | @media only screen and (max-width:1199px) { 38 | .hidden-md-and-down { 39 | display: none !important 40 | } 41 | } 42 | 43 | @media only screen and (min-width:1200px) { 44 | .hidden-lg-and-up { 45 | display: none !important 46 | } 47 | } 48 | 49 | @media only screen and (min-width:1200px) and (max-width:1919px) { 50 | .hidden-lg-only { 51 | display: none !important 52 | } 53 | } 54 | 55 | @media only screen and (max-width:1919px) { 56 | .hidden-lg-and-down { 57 | display: none !important 58 | } 59 | } 60 | 61 | @media only screen and (min-width:1920px) { 62 | .hidden-xl-only { 63 | display: none !important 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/java/controller/ask/MainController.java: -------------------------------------------------------------------------------- 1 | package com.java.controller.ask; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.java.service.AskService; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.web.bind.annotation.RequestMapping; 8 | import org.springframework.web.bind.annotation.ResponseBody; 9 | 10 | import javax.servlet.http.HttpServletRequest; 11 | import java.util.List; 12 | import java.util.Map; 13 | 14 | 15 | @Controller 16 | @RequestMapping("/ajax") 17 | public class MainController { 18 | 19 | @Autowired 20 | private AskService askService; 21 | @Autowired 22 | HttpServletRequest request; 23 | 24 | @RequestMapping("/test") 25 | public @ResponseBody 26 | String test() { 27 | return "123456"; 28 | } 29 | 30 | @RequestMapping("/test2") 31 | public @ResponseBody 32 | String test2() { 33 | //System.out.println(request.getSession().getAttribute("abc")); 34 | return "123456"; 35 | } 36 | 37 | @RequestMapping("/getAsks") 38 | public @ResponseBody 39 | List> getAskList(int num) { 40 | List> askList = askService.getAskList(num); 41 | for (Map map : askList) { 42 | Map asknameMap = askService.getAskClass((Integer) map.get("class")); 43 | map.put("classname", asknameMap.get("name")); 44 | map.put("classcolor", asknameMap.get("color")); 45 | } 46 | return askList; 47 | } 48 | 49 | 50 | 51 | } 52 | -------------------------------------------------------------------------------- /target/classes/springmvc.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/resources/springmvc.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/springmvc.xml: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/main/java/com/java/mapper/AskMapper.java: -------------------------------------------------------------------------------- 1 | package com.java.mapper; 2 | 3 | import org.apache.ibatis.annotations.*; 4 | 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | 10 | public interface AskMapper { 11 | @Select({" SELECT id,title,class,view FROM asklist LIMIT 0,${num}"}) 12 | List> selectAsklist(@Param("num") int num); 13 | 14 | @Select({"SELECT * FROM user WHERE username='${user}' and password='${pass}'"}) 15 | List> login(@Param("user") String user, @Param("pass") String pass); 16 | 17 | @Select({"SELECT * FROM askclass WHERE id=${id}"}) 18 | Map getAskClass(@Param("id") int id); 19 | 20 | @Select({"SELECT * FROM user WHERE id=${id}"}) 21 | Map getUserInfo(@Param("id") int id); 22 | 23 | @Select({"SELECT * FROM asklist WHERE id=${id}"}) 24 | Map getAsk(@Param("id") int id); 25 | 26 | 27 | @Insert({"INSERT INTO asklist(`title`, `content`, `class`,`creattime`,`view`,`userid`) VALUES ('${title}', '${content}', ${classid}, '${creattime}',0,${userid})"}) 28 | int addAsk(@Param("title") String title, @Param("content") String content, @Param("classid") int classid, @Param("creattime") String creattime, @Param("userid") int userid); 29 | 30 | @Select({"SELECT count(1) from asklist"}) 31 | int getTotalAsk(); 32 | 33 | @Select({"SELECT * FROM askclass"}) 34 | List> getAskClassJson(); 35 | 36 | 37 | @Update({"UPDATE asklist SET `view` = `view`+1 WHERE `id` = ${id}"}) 38 | int upDateView(@Param("id") int id); 39 | 40 | @Select({"UPDATE asklist SET `view` = `view`+1 WHERE `id` = ${id}"}) 41 | List> upDateAsk(@Param("id") int id); 42 | 43 | @Select({"SELECT id,title,class,view FROM asklist WHERE content LIKE '%${content}%' or title LIKE '%${content}%' "}) 44 | List> search(@Param("content") String content); 45 | 46 | @Delete({"DELETE FROM `asklist` WHERE `id` = ${id}"}) 47 | int deleteAsk(@Param("id") int id); 48 | } -------------------------------------------------------------------------------- /src/main/java/com/java/service/impl/AskServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.java.service.impl; 2 | 3 | import com.github.pagehelper.PageHelper; 4 | import com.java.mapper.AskMapper; 5 | import com.java.service.AskService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import java.util.List; 10 | import java.util.Map; 11 | 12 | 13 | @Service 14 | public class AskServiceImpl implements AskService { 15 | 16 | @Autowired 17 | private AskMapper askMapper; 18 | 19 | 20 | @Override 21 | public List> getAskList(int num){ 22 | return askMapper.selectAsklist(num); 23 | } 24 | 25 | @Override 26 | public List> login(String user, String pass) { 27 | return askMapper.login(user, pass); 28 | } 29 | 30 | @Override 31 | public Map getUserInfo(int id) { 32 | return askMapper.getUserInfo(id); 33 | } 34 | 35 | @Override 36 | public Map getAskClass(int id) { 37 | return askMapper.getAskClass(id); 38 | } 39 | 40 | @Override 41 | public Map getAsk(int id) { 42 | return askMapper.getAsk(id); 43 | } 44 | 45 | @Override 46 | public int addAsk(String title, String content, int classid, int userid, String creattime) { 47 | return askMapper.addAsk(title,content,classid,creattime,userid); 48 | } 49 | 50 | @Override 51 | public int getTotalAsk() { 52 | return askMapper.getTotalAsk(); 53 | } 54 | 55 | @Override 56 | public List> getAskClassJson() { 57 | return askMapper.getAskClassJson(); 58 | } 59 | 60 | @Override 61 | public List> search(String content) { 62 | return askMapper.search(content); 63 | } 64 | 65 | @Override 66 | public int upDateView(int id) { 67 | return askMapper.upDateView(id); 68 | } 69 | 70 | @Override 71 | public int delask(int id) { 72 | return askMapper.deleteAsk(id); 73 | } 74 | 75 | 76 | } 77 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | index.html 10 | 11 | 12 | 13 | 14 | characterEncodingFilter 15 | org.springframework.web.filter.CharacterEncodingFilter 16 | 17 | encoding 18 | UTF-8 19 | 20 | 21 | 22 | characterEncodingFilter 23 | /* 24 | 25 | 26 | 27 | 28 | contextConfigLocation 29 | classpath:applicationContext.xml 30 | 31 | 32 | org.springframework.web.context.ContextLoaderListener 33 | 34 | 35 | 36 | 37 | dispatcherServlet 38 | org.springframework.web.servlet.DispatcherServlet 39 | 40 | contextConfigLocation 41 | classpath:springmvc.xml 42 | 43 | 1 44 | 45 | 46 | dispatcherServlet 47 | *.do 48 | 49 | 50 | 51 | 52 | 404 53 | /pages/error/404.html 54 | 55 | 56 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | index.html 10 | 11 | 12 | 13 | 14 | characterEncodingFilter 15 | org.springframework.web.filter.CharacterEncodingFilter 16 | 17 | encoding 18 | UTF-8 19 | 20 | 21 | 22 | characterEncodingFilter 23 | /* 24 | 25 | 26 | 27 | 28 | contextConfigLocation 29 | classpath:applicationContext.xml 30 | 31 | 32 | org.springframework.web.context.ContextLoaderListener 33 | 34 | 35 | 36 | 37 | dispatcherServlet 38 | org.springframework.web.servlet.DispatcherServlet 39 | 40 | contextConfigLocation 41 | classpath:springmvc.xml 42 | 43 | 1 44 | 45 | 46 | dispatcherServlet 47 | *.do 48 | 49 | 50 | 51 | 52 | 404 53 | /pages/error/404.html 54 | 55 | 56 | -------------------------------------------------------------------------------- /src/main/webapp/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 方案解决系统 15 | 16 | 17 |
18 |
19 |
20 |

登录账户

21 | 23 |
24 |
25 |
26 | 34 |
35 | 65 |
66 | 67 | -------------------------------------------------------------------------------- /target/classes/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/main/resources/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 方案解决系统 15 | 16 | 17 |
18 |
19 |
20 |

登录账户

21 | 23 |
24 |
25 |
26 | 34 |
35 | 65 |
66 | 67 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/WEB-INF/classes/applicationContext.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/main/java/com/java/controller/ask/UserController.java: -------------------------------------------------------------------------------- 1 | package com.java.controller.ask; 2 | 3 | import com.java.service.AskService; 4 | import org.codehaus.jackson.map.ObjectMapper; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.web.bind.annotation.RequestMapping; 8 | import org.springframework.web.bind.annotation.ResponseBody; 9 | import org.springframework.web.context.request.RequestContextHolder; 10 | import org.springframework.web.context.request.ServletRequestAttributes; 11 | 12 | import javax.servlet.http.HttpServletRequest; 13 | import javax.servlet.http.HttpSession; 14 | import java.io.IOException; 15 | import java.util.HashMap; 16 | import java.util.List; 17 | import java.util.Map; 18 | 19 | 20 | @Controller 21 | @RequestMapping("/user") 22 | public class UserController { 23 | 24 | @Autowired 25 | private AskService askService; 26 | @Autowired 27 | HttpServletRequest request; 28 | 29 | @RequestMapping("/login") 30 | public @ResponseBody 31 | int login(String user, String pass) { 32 | List> list = askService.login(user, pass); 33 | if (list.size() != 0) { 34 | request.getSession().setAttribute("username", user); 35 | request.getSession().setAttribute("userid", list.get(0).get("id")); 36 | request.getSession().setAttribute("islogin", 1); 37 | return 1; 38 | } else { 39 | return 0; 40 | } 41 | } 42 | @RequestMapping("/exit") 43 | public @ResponseBody 44 | int exit() { 45 | request.getSession().invalidate(); 46 | return 1; 47 | } 48 | @RequestMapping("/loginInfo") 49 | public @ResponseBody 50 | String loginInfo() { 51 | 52 | int islogin = 0; 53 | 54 | if (request.getSession().getAttribute("islogin") != null) { 55 | islogin = 1; 56 | } 57 | if (islogin == 0) { 58 | return "0"; 59 | 60 | } else { 61 | Map loginInfo = new HashMap<>(); 62 | loginInfo.put("username", request.getSession().getAttribute("username")); 63 | ObjectMapper om = new ObjectMapper(); 64 | String jsonStr = ""; 65 | try { 66 | jsonStr = om.writeValueAsString(loginInfo); 67 | } catch (IOException e) { 68 | e.printStackTrace(); 69 | } 70 | return jsonStr; 71 | } 72 | } 73 | 74 | 75 | } 76 | -------------------------------------------------------------------------------- /src/main/webapp/css/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | 4 | } 5 | 6 | html, body, #app { 7 | height: 100%; 8 | } 9 | 10 | body > #app { 11 | height: auto; 12 | min-height: 100%; 13 | } 14 | 15 | 16 | 17 | a { 18 | color: inherit !important; 19 | text-decoration: none; 20 | transition: all .3s ease-out 0s; 21 | } 22 | 23 | a:visited { 24 | color: inherit !important; 25 | } 26 | 27 | a:hover { 28 | color: #409EFF !important; 29 | transition: all .3s ease-out 0s; 30 | } 31 | 32 | body { 33 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif; 34 | line-height: 1.8; 35 | background: #f5f5f5; 36 | -webkit-font-smoothing: antialiased; 37 | -moz-osx-font-smoothing: grayscale; 38 | word-wrap: break-word; 39 | } 40 | 41 | header { 42 | width: 100%; 43 | height: 60px; 44 | background: #fff; 45 | box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1); 46 | } 47 | 48 | .header { 49 | max-width: 1000px; 50 | display: flex; 51 | margin: auto; 52 | justify-content: space-between; 53 | line-height: 60px; 54 | 55 | } 56 | 57 | main { 58 | max-width: 1024px; 59 | margin: auto; 60 | box-sizing: content-box; 61 | padding-bottom: 140px; 62 | } 63 | 64 | .plane-view-box { 65 | display: flex; 66 | } 67 | 68 | .view-box { 69 | margin: 20px 16px; 70 | width: 33.333%; 71 | background: #fff; 72 | border-radius: 10px; 73 | height: 120px; 74 | padding: 16px; 75 | color: #fff; 76 | } 77 | 78 | .view-box h2 { 79 | font-size: 20px !important; 80 | } 81 | 82 | .view-box-red { 83 | background-image: linear-gradient(90deg, #9c4dff 0%, #f56c6c 100%); 84 | } 85 | 86 | .view-box-ye { 87 | background-image: linear-gradient(90deg, #f56c6c 0%, #e6a23c 100%); 88 | } 89 | 90 | .view-box-blue { 91 | background-image: linear-gradient(90deg, #e6a23c 0%, #67c23a 100%); 92 | } 93 | 94 | .view-box-total { 95 | text-align: center; 96 | font-size: 40px; 97 | } 98 | 99 | .plane { 100 | margin: 16px; 101 | background: #fff; 102 | padding: 16px; 103 | border-radius: 4px; 104 | } 105 | 106 | .plane-control { 107 | 108 | display: flex; 109 | justify-content: space-between; 110 | } 111 | 112 | .plane-note { 113 | display: flex; 114 | line-height: 46px; 115 | } 116 | 117 | .plane-item { 118 | margin: 16px; 119 | background: #fff; 120 | padding: 16px; 121 | border-radius: 4px; 122 | } 123 | 124 | .plane-control-btn { 125 | display: flex; 126 | } 127 | 128 | .ask-ltem { 129 | display: flex; 130 | justify-content: space-between; 131 | } 132 | 133 | .ask-left { 134 | display: flex; 135 | } 136 | 137 | .ask-class { 138 | margin-right: 16px; 139 | } 140 | 141 | .plane-login { 142 | display: flex; 143 | } 144 | 145 | .window-plane-login { 146 | position: absolute; 147 | justify-content: center; 148 | top: 0; 149 | left: 0; 150 | width: 100%; 151 | height: 100%; 152 | display: flex; 153 | z-index: 1040; 154 | } 155 | 156 | .box-login { 157 | opacity: 1; 158 | height: 300px; 159 | background: #fff; 160 | width: 400px; 161 | margin: auto; 162 | z-index: 1042; 163 | border-radius: 8px; 164 | padding: 16px; 165 | bottom: 20%; 166 | position: relative; 167 | } 168 | 169 | .box-mask { 170 | width: 100%; 171 | height: 100%; 172 | position: absolute; 173 | top: 0; 174 | left: 0; 175 | background-color: #000; 176 | z-index: 1041; 177 | opacity: 0.3; 178 | } 179 | 180 | .box-login-form { 181 | padding: 16px; 182 | } 183 | 184 | .form-item { 185 | margin-top: 16px; 186 | } 187 | 188 | .form-set-right { 189 | text-align: right; 190 | } 191 | 192 | .plane-login-title { 193 | display: flex; 194 | justify-content: space-between; 195 | } 196 | 197 | .close { 198 | color: #888888; 199 | cursor: pointer; 200 | } 201 | 202 | .nav-avatar { 203 | width: 40px; 204 | border-radius: 50%; 205 | margin-right: 16px; 206 | } 207 | 208 | .box-control { 209 | padding: 8px; 210 | background: #909399; 211 | color: #fff; 212 | border: 1px solid #888888; 213 | border-radius: 4px; 214 | margin-left: 8px; 215 | } 216 | footer { 217 | background: #2d3237; 218 | color: #fff; 219 | min-height: 100px; 220 | margin-top: -100px; 221 | } 222 | 223 | .fixed-bottom { 224 | position: fixed; 225 | bottom: 0; 226 | width: 100%; 227 | } 228 | 229 | .plane-footer { 230 | padding-top: 16px; 231 | text-align: center; 232 | } 233 | 234 | .img-logo { 235 | margin-top: 4px; 236 | width: 150px; 237 | } 238 | @media screen and (max-width: 768px) { 239 | footer { 240 | 241 | min-height: 60px; 242 | } 243 | .header{ 244 | padding: 0 10px; 245 | } 246 | } 247 | 248 | body{ 249 | min-width: 568px; 250 | } -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/css/index.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | 4 | } 5 | 6 | html, body, #app { 7 | height: 100%; 8 | } 9 | 10 | body > #app { 11 | height: auto; 12 | min-height: 100%; 13 | } 14 | 15 | 16 | 17 | a { 18 | color: inherit !important; 19 | text-decoration: none; 20 | transition: all .3s ease-out 0s; 21 | } 22 | 23 | a:visited { 24 | color: inherit !important; 25 | } 26 | 27 | a:hover { 28 | color: #409EFF !important; 29 | transition: all .3s ease-out 0s; 30 | } 31 | 32 | body { 33 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif; 34 | line-height: 1.8; 35 | background: #f5f5f5; 36 | -webkit-font-smoothing: antialiased; 37 | -moz-osx-font-smoothing: grayscale; 38 | word-wrap: break-word; 39 | } 40 | 41 | header { 42 | width: 100%; 43 | height: 60px; 44 | background: #fff; 45 | box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1); 46 | } 47 | 48 | .header { 49 | max-width: 1000px; 50 | display: flex; 51 | margin: auto; 52 | justify-content: space-between; 53 | line-height: 60px; 54 | 55 | } 56 | 57 | main { 58 | max-width: 1024px; 59 | margin: auto; 60 | box-sizing: content-box; 61 | padding-bottom: 140px; 62 | } 63 | 64 | .plane-view-box { 65 | display: flex; 66 | } 67 | 68 | .view-box { 69 | margin: 20px 16px; 70 | width: 33.333%; 71 | background: #fff; 72 | border-radius: 10px; 73 | height: 120px; 74 | padding: 16px; 75 | color: #fff; 76 | } 77 | 78 | .view-box h2 { 79 | font-size: 20px !important; 80 | } 81 | 82 | .view-box-red { 83 | background-image: linear-gradient(90deg, #9c4dff 0%, #f56c6c 100%); 84 | } 85 | 86 | .view-box-ye { 87 | background-image: linear-gradient(90deg, #f56c6c 0%, #e6a23c 100%); 88 | } 89 | 90 | .view-box-blue { 91 | background-image: linear-gradient(90deg, #e6a23c 0%, #67c23a 100%); 92 | } 93 | 94 | .view-box-total { 95 | text-align: center; 96 | font-size: 40px; 97 | } 98 | 99 | .plane { 100 | margin: 16px; 101 | background: #fff; 102 | padding: 16px; 103 | border-radius: 4px; 104 | } 105 | 106 | .plane-control { 107 | 108 | display: flex; 109 | justify-content: space-between; 110 | } 111 | 112 | .plane-note { 113 | display: flex; 114 | line-height: 46px; 115 | } 116 | 117 | .plane-item { 118 | margin: 16px; 119 | background: #fff; 120 | padding: 16px; 121 | border-radius: 4px; 122 | } 123 | 124 | .plane-control-btn { 125 | display: flex; 126 | } 127 | 128 | .ask-ltem { 129 | display: flex; 130 | justify-content: space-between; 131 | } 132 | 133 | .ask-left { 134 | display: flex; 135 | } 136 | 137 | .ask-class { 138 | margin-right: 16px; 139 | } 140 | 141 | .plane-login { 142 | display: flex; 143 | } 144 | 145 | .window-plane-login { 146 | position: absolute; 147 | justify-content: center; 148 | top: 0; 149 | left: 0; 150 | width: 100%; 151 | height: 100%; 152 | display: flex; 153 | z-index: 1040; 154 | } 155 | 156 | .box-login { 157 | opacity: 1; 158 | height: 300px; 159 | background: #fff; 160 | width: 400px; 161 | margin: auto; 162 | z-index: 1042; 163 | border-radius: 8px; 164 | padding: 16px; 165 | bottom: 20%; 166 | position: relative; 167 | } 168 | 169 | .box-mask { 170 | width: 100%; 171 | height: 100%; 172 | position: absolute; 173 | top: 0; 174 | left: 0; 175 | background-color: #000; 176 | z-index: 1041; 177 | opacity: 0.3; 178 | } 179 | 180 | .box-login-form { 181 | padding: 16px; 182 | } 183 | 184 | .form-item { 185 | margin-top: 16px; 186 | } 187 | 188 | .form-set-right { 189 | text-align: right; 190 | } 191 | 192 | .plane-login-title { 193 | display: flex; 194 | justify-content: space-between; 195 | } 196 | 197 | .close { 198 | color: #888888; 199 | cursor: pointer; 200 | } 201 | 202 | .nav-avatar { 203 | width: 40px; 204 | border-radius: 50%; 205 | margin-right: 16px; 206 | } 207 | 208 | .box-control { 209 | padding: 8px; 210 | background: #909399; 211 | color: #fff; 212 | border: 1px solid #888888; 213 | border-radius: 4px; 214 | margin-left: 8px; 215 | } 216 | footer { 217 | background: #2d3237; 218 | color: #fff; 219 | min-height: 100px; 220 | margin-top: -100px; 221 | } 222 | 223 | .fixed-bottom { 224 | position: fixed; 225 | bottom: 0; 226 | width: 100%; 227 | } 228 | 229 | .plane-footer { 230 | padding-top: 16px; 231 | text-align: center; 232 | } 233 | 234 | .img-logo { 235 | margin-top: 4px; 236 | width: 150px; 237 | } 238 | @media screen and (max-width: 768px) { 239 | footer { 240 | 241 | min-height: 60px; 242 | } 243 | .header{ 244 | padding: 0 10px; 245 | } 246 | } 247 | 248 | body{ 249 | min-width: 568px; 250 | } -------------------------------------------------------------------------------- /src/main/java/com/java/controller/ask/PostController.java: -------------------------------------------------------------------------------- 1 | package com.java.controller.ask; 2 | 3 | import com.java.pojo.postData; 4 | import com.java.service.AskService; 5 | import org.codehaus.jackson.map.ObjectMapper; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Controller; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.ResponseBody; 10 | 11 | import javax.servlet.http.HttpServletRequest; 12 | import java.io.IOException; 13 | import java.text.SimpleDateFormat; 14 | import java.util.Date; 15 | import java.util.HashMap; 16 | import java.util.List; 17 | import java.util.Map; 18 | 19 | 20 | @Controller 21 | @RequestMapping("/post") 22 | public class PostController { 23 | 24 | @Autowired 25 | private AskService askService; 26 | @Autowired 27 | HttpServletRequest request; 28 | 29 | public boolean isLogin() { 30 | if (request.getSession().getAttribute("islogin") != null) { 31 | return true; 32 | } 33 | return false; 34 | } 35 | 36 | public int getUserid() { 37 | if (request.getSession().getAttribute("userid") != null) { 38 | return (int) request.getSession().getAttribute("userid"); 39 | } 40 | return 0; 41 | } 42 | 43 | 44 | @RequestMapping("/newpost") 45 | public @ResponseBody 46 | Map newpost(String json) { 47 | Map map = new HashMap<>(); 48 | 49 | if (isLogin() == false) { 50 | map.put("msg", "需要登录"); 51 | map.put("code", "0"); 52 | return map; 53 | } 54 | 55 | ObjectMapper om = new ObjectMapper(); 56 | postData postData = null; 57 | try { 58 | postData = om.readValue(json, postData.class); 59 | 60 | 61 | } catch (IOException e) { 62 | e.printStackTrace(); 63 | map.put("msg", "数据错误"); 64 | map.put("code", "0"); 65 | return map; 66 | } 67 | Date date = new Date(); 68 | SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 69 | //System.out.println("新增数据"); 70 | if (askService.addAsk(postData.getTitle(), postData.getContent(), postData.getClassid(), getUserid(), formatter.format(date)) == 1) { 71 | map.put("msg", "发布成功!"); 72 | map.put("code", "1"); 73 | } else { 74 | map.put("msg", "未知错误"); 75 | map.put("code", "0"); 76 | } 77 | return map; 78 | } 79 | 80 | @RequestMapping("/gettotalask") 81 | public @ResponseBody 82 | int getTotalAsk() { 83 | return askService.getTotalAsk(); 84 | } 85 | 86 | 87 | @RequestMapping("/getaskclass") 88 | public @ResponseBody 89 | List> getAskClass() { 90 | return askService.getAskClassJson(); 91 | } 92 | 93 | 94 | /** 95 | * 获取方案详细信息 96 | * 97 | * @param id 98 | * @return 99 | */ 100 | @RequestMapping("/getAsk") 101 | public @ResponseBody 102 | Map getAsk(int id) { 103 | Map ask = askService.getAsk(id); 104 | askService.upDateView(id); 105 | 106 | System.out.println(ask); 107 | Map asknameMap = askService.getAskClass((Integer) ask.get("class")); 108 | Map userInfo = askService.getUserInfo((Integer) ask.get("userid")); 109 | 110 | ask.put("classname", asknameMap.get("name")); 111 | ask.put("classcolor", asknameMap.get("color")); 112 | ask.put("username", userInfo.get("name")); 113 | 114 | if (isLogin()) { 115 | if (getUserid() == (int) ask.get("userid")) { 116 | ask.put("own", 1); 117 | } else { 118 | ask.put("own", 0); 119 | } 120 | 121 | } 122 | return ask; 123 | } 124 | 125 | @RequestMapping("/search") 126 | public @ResponseBody 127 | List> search(String key) { 128 | 129 | 130 | List> asklist = askService.search(key); 131 | 132 | for (Map map : asklist) { 133 | Map asknameMap = askService.getAskClass((Integer) map.get("class")); 134 | map.put("classname", asknameMap.get("name")); 135 | map.put("classcolor", asknameMap.get("color")); 136 | } 137 | return asklist; 138 | } 139 | 140 | @RequestMapping("/delask") 141 | public @ResponseBody 142 | Map delask(int id) { 143 | 144 | Map map = new HashMap<>(); 145 | 146 | if (!isLogin()) { 147 | map.put("code", 0); 148 | map.put("msg", "请登录后操作"); 149 | }else { 150 | if (askService.delask(id) == 1) { 151 | map.put("code", 1); 152 | map.put("msg", "删除成功!"); 153 | }else { 154 | map.put("code", 0); 155 | map.put("msg", "删除失败!"); 156 | } 157 | 158 | } 159 | return map; 160 | } 161 | } 162 | -------------------------------------------------------------------------------- /ssm_maven_pure.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /src/main/webapp/search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 方案解决系统 16 | 17 | 18 |
19 |
20 |
21 |
22 | 41 |
42 |
43 |
44 |
45 |
46 |

搜索结果

47 |
48 |
49 |
50 | {{ask.classname}} 52 |
53 | {{ask.title}} 54 |
55 |
56 |
57 | {{ask.view}} 58 |
59 |
60 |
61 | 62 | 86 | 87 |
88 |
89 | 92 |
93 | 176 |
177 | 178 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/search.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 方案解决系统 16 | 17 | 18 |
19 |
20 |
21 |
22 | 41 |
42 |
43 |
44 |
45 |
46 |

搜索结果

47 |
48 |
49 |
50 | {{ask.classname}} 52 |
53 | {{ask.title}} 54 |
55 |
56 |
57 | {{ask.view}} 58 |
59 |
60 |
61 | 62 | 86 | 87 |
88 |
89 | 92 |
93 | 176 |
177 | 178 | -------------------------------------------------------------------------------- /src/main/webapp/register.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 方案解决系统 16 | 17 | 18 |
19 |
20 |
21 |
22 | 40 |
41 |
42 |
43 |
44 |
45 |

注册用户

46 |
47 |
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 注册 66 | 67 | 68 |
69 |
70 | 71 | 95 | 96 |
97 |
98 | 101 |
102 | 186 |
187 | 188 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/register.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 方案解决系统 16 | 17 | 18 |
19 |
20 |
21 |
22 | 40 |
41 |
42 |
43 |
44 |
45 |

注册用户

46 |
47 |
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 注册 66 | 67 | 68 |
69 |
70 | 71 | 95 | 96 |
97 |
98 | 101 |
102 | 186 |
187 | 188 | -------------------------------------------------------------------------------- /src/main/webapp/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 方案解决系统 15 | 16 | 17 |
18 |
19 |
20 |
21 | 40 |
41 |
42 |
43 |
44 |
45 |

方案总数

46 |
{{asktotal}}
47 |
48 |
49 |

用户总数

50 |
20
51 |
52 |
53 |

今日新增方案

54 |
2
55 |
56 |
57 |
58 |
59 |

系统开放注册中

● 60 |

常用搜索功能集合

61 |
62 |
63 |
64 | 搜索方案 65 |
66 |
67 | 发布方案 68 |
69 |
70 |
71 |
72 |

最新解决方案

73 |
74 |
75 | {{ask.classname}} 77 |
78 | {{ask.title}} 79 |
80 |
81 |
82 | {{ask.view}} 83 |
84 |
85 |
86 | 90 | 91 | 92 | 115 | 116 |
117 |
118 | 121 |
122 | 209 |
210 | 211 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 方案解决系统 15 | 16 | 17 |
18 |
19 |
20 |
21 | 40 |
41 |
42 |
43 |
44 |
45 |

方案总数

46 |
{{asktotal}}
47 |
48 |
49 |

用户总数

50 |
20
51 |
52 |
53 |

今日新增方案

54 |
2
55 |
56 |
57 |
58 |
59 |

系统开放注册中

● 60 |

常用搜索功能集合

61 |
62 |
63 |
64 | 搜索方案 65 |
66 |
67 | 发布方案 68 |
69 |
70 |
71 |
72 |

最新解决方案

73 |
74 |
75 | {{ask.classname}} 77 |
78 | {{ask.title}} 79 |
80 |
81 |
82 | {{ask.view}} 83 |
84 |
85 |
86 | 90 | 91 | 92 | 115 | 116 |
117 |
118 | 121 |
122 | 209 |
210 | 211 | -------------------------------------------------------------------------------- /src/main/webapp/lib/jquery.md5.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery MD5 hash algorithm function 3 | * 4 | * 5 | * Calculate the md5 hash of a String 6 | * String $.md5 ( String str ) 7 | * 8 | * 9 | * Calculates the MD5 hash of str using the 禄 RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. 10 | * MD5 (Message-Digest algorithm 5) is a widely-used cryptographic hash function with a 128-bit hash value. MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of data. The generated hash is also non-reversable. Data cannot be retrieved from the message digest, the digest uniquely identifies the data. 11 | * MD5 was developed by Professor Ronald L. Rivest in 1994. Its 128 bit (16 byte) message digest makes it a faster implementation than SHA-1. 12 | * This script is used to process a variable length message into a fixed-length output of 128 bits using the MD5 algorithm. It is fully compatible with UTF-8 encoding. It is very useful when u want to transfer encrypted passwords over the internet. If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag). 13 | * This function orginally get from the WebToolkit and rewrite for using as the jQuery plugin. 14 | * 15 | * Example 16 | * Code 17 | * 18 | * $.md5("I'm Persian."); 19 | * 20 | * Result 21 | * 22 | * "b8c901d0f02223f9761016cfff9d68df" 23 | * 24 | * 25 | * @alias Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com > 26 | * @link http://www.semnanweb.com/jquery-plugin/md5.html 27 | * @see http://www.webtoolkit.info/ 28 | * @license http://www.gnu.org/licenses/gpl.html [GNU General Public License] 29 | * @param {jQuery} {md5:function(string)) 30 | * @return string 31 | */ 32 | 33 | (function($){ 34 | 35 | var rotateLeft = function(lValue, iShiftBits) { 36 | return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); 37 | } 38 | 39 | var addUnsigned = function(lX, lY) { 40 | var lX4, lY4, lX8, lY8, lResult; 41 | lX8 = (lX & 0x80000000); 42 | lY8 = (lY & 0x80000000); 43 | lX4 = (lX & 0x40000000); 44 | lY4 = (lY & 0x40000000); 45 | lResult = (lX & 0x3FFFFFFF) + (lY & 0x3FFFFFFF); 46 | if (lX4 & lY4) return (lResult ^ 0x80000000 ^ lX8 ^ lY8); 47 | if (lX4 | lY4) { 48 | if (lResult & 0x40000000) return (lResult ^ 0xC0000000 ^ lX8 ^ lY8); 49 | else return (lResult ^ 0x40000000 ^ lX8 ^ lY8); 50 | } else { 51 | return (lResult ^ lX8 ^ lY8); 52 | } 53 | } 54 | 55 | var F = function(x, y, z) { 56 | return (x & y) | ((~ x) & z); 57 | } 58 | 59 | var G = function(x, y, z) { 60 | return (x & z) | (y & (~ z)); 61 | } 62 | 63 | var H = function(x, y, z) { 64 | return (x ^ y ^ z); 65 | } 66 | 67 | var I = function(x, y, z) { 68 | return (y ^ (x | (~ z))); 69 | } 70 | 71 | var FF = function(a, b, c, d, x, s, ac) { 72 | a = addUnsigned(a, addUnsigned(addUnsigned(F(b, c, d), x), ac)); 73 | return addUnsigned(rotateLeft(a, s), b); 74 | }; 75 | 76 | var GG = function(a, b, c, d, x, s, ac) { 77 | a = addUnsigned(a, addUnsigned(addUnsigned(G(b, c, d), x), ac)); 78 | return addUnsigned(rotateLeft(a, s), b); 79 | }; 80 | 81 | var HH = function(a, b, c, d, x, s, ac) { 82 | a = addUnsigned(a, addUnsigned(addUnsigned(H(b, c, d), x), ac)); 83 | return addUnsigned(rotateLeft(a, s), b); 84 | }; 85 | 86 | var II = function(a, b, c, d, x, s, ac) { 87 | a = addUnsigned(a, addUnsigned(addUnsigned(I(b, c, d), x), ac)); 88 | return addUnsigned(rotateLeft(a, s), b); 89 | }; 90 | 91 | var convertToWordArray = function(string) { 92 | var lWordCount; 93 | var lMessageLength = string.length; 94 | var lNumberOfWordsTempOne = lMessageLength + 8; 95 | var lNumberOfWordsTempTwo = (lNumberOfWordsTempOne - (lNumberOfWordsTempOne % 64)) / 64; 96 | var lNumberOfWords = (lNumberOfWordsTempTwo + 1) * 16; 97 | var lWordArray = Array(lNumberOfWords - 1); 98 | var lBytePosition = 0; 99 | var lByteCount = 0; 100 | while (lByteCount < lMessageLength) { 101 | lWordCount = (lByteCount - (lByteCount % 4)) / 4; 102 | lBytePosition = (lByteCount % 4) * 8; 103 | lWordArray[lWordCount] = (lWordArray[lWordCount] | (string.charCodeAt(lByteCount) << lBytePosition)); 104 | lByteCount++; 105 | } 106 | lWordCount = (lByteCount - (lByteCount % 4)) / 4; 107 | lBytePosition = (lByteCount % 4) * 8; 108 | lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80 << lBytePosition); 109 | lWordArray[lNumberOfWords - 2] = lMessageLength << 3; 110 | lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29; 111 | return lWordArray; 112 | }; 113 | 114 | var wordToHex = function(lValue) { 115 | var WordToHexValue = "", WordToHexValueTemp = "", lByte, lCount; 116 | for (lCount = 0; lCount <= 3; lCount++) { 117 | lByte = (lValue >>> (lCount * 8)) & 255; 118 | WordToHexValueTemp = "0" + lByte.toString(16); 119 | WordToHexValue = WordToHexValue + WordToHexValueTemp.substr(WordToHexValueTemp.length - 2, 2); 120 | } 121 | return WordToHexValue; 122 | }; 123 | 124 | var uTF8Encode = function(string) { 125 | string = string.replace(/\x0d\x0a/g, "\x0a"); 126 | var output = ""; 127 | for (var n = 0; n < string.length; n++) { 128 | var c = string.charCodeAt(n); 129 | if (c < 128) { 130 | output += String.fromCharCode(c); 131 | } else if ((c > 127) && (c < 2048)) { 132 | output += String.fromCharCode((c >> 6) | 192); 133 | output += String.fromCharCode((c & 63) | 128); 134 | } else { 135 | output += String.fromCharCode((c >> 12) | 224); 136 | output += String.fromCharCode(((c >> 6) & 63) | 128); 137 | output += String.fromCharCode((c & 63) | 128); 138 | } 139 | } 140 | return output; 141 | }; 142 | 143 | $.extend({ 144 | md5: function(string) { 145 | var x = Array(); 146 | var k, AA, BB, CC, DD, a, b, c, d; 147 | var S11=7, S12=12, S13=17, S14=22; 148 | var S21=5, S22=9 , S23=14, S24=20; 149 | var S31=4, S32=11, S33=16, S34=23; 150 | var S41=6, S42=10, S43=15, S44=21; 151 | string = uTF8Encode(string); 152 | x = convertToWordArray(string); 153 | a = 0x67452301; b = 0xEFCDAB89; c = 0x98BADCFE; d = 0x10325476; 154 | for (k = 0; k < x.length; k += 16) { 155 | AA = a; BB = b; CC = c; DD = d; 156 | a = FF(a, b, c, d, x[k+0], S11, 0xD76AA478); 157 | d = FF(d, a, b, c, x[k+1], S12, 0xE8C7B756); 158 | c = FF(c, d, a, b, x[k+2], S13, 0x242070DB); 159 | b = FF(b, c, d, a, x[k+3], S14, 0xC1BDCEEE); 160 | a = FF(a, b, c, d, x[k+4], S11, 0xF57C0FAF); 161 | d = FF(d, a, b, c, x[k+5], S12, 0x4787C62A); 162 | c = FF(c, d, a, b, x[k+6], S13, 0xA8304613); 163 | b = FF(b, c, d, a, x[k+7], S14, 0xFD469501); 164 | a = FF(a, b, c, d, x[k+8], S11, 0x698098D8); 165 | d = FF(d, a, b, c, x[k+9], S12, 0x8B44F7AF); 166 | c = FF(c, d, a, b, x[k+10], S13, 0xFFFF5BB1); 167 | b = FF(b, c, d, a, x[k+11], S14, 0x895CD7BE); 168 | a = FF(a, b, c, d, x[k+12], S11, 0x6B901122); 169 | d = FF(d, a, b, c, x[k+13], S12, 0xFD987193); 170 | c = FF(c, d, a, b, x[k+14], S13, 0xA679438E); 171 | b = FF(b, c, d, a, x[k+15], S14, 0x49B40821); 172 | a = GG(a, b, c, d, x[k+1], S21, 0xF61E2562); 173 | d = GG(d, a, b, c, x[k+6], S22, 0xC040B340); 174 | c = GG(c, d, a, b, x[k+11], S23, 0x265E5A51); 175 | b = GG(b, c, d, a, x[k+0], S24, 0xE9B6C7AA); 176 | a = GG(a, b, c, d, x[k+5], S21, 0xD62F105D); 177 | d = GG(d, a, b, c, x[k+10], S22, 0x2441453); 178 | c = GG(c, d, a, b, x[k+15], S23, 0xD8A1E681); 179 | b = GG(b, c, d, a, x[k+4], S24, 0xE7D3FBC8); 180 | a = GG(a, b, c, d, x[k+9], S21, 0x21E1CDE6); 181 | d = GG(d, a, b, c, x[k+14], S22, 0xC33707D6); 182 | c = GG(c, d, a, b, x[k+3], S23, 0xF4D50D87); 183 | b = GG(b, c, d, a, x[k+8], S24, 0x455A14ED); 184 | a = GG(a, b, c, d, x[k+13], S21, 0xA9E3E905); 185 | d = GG(d, a, b, c, x[k+2], S22, 0xFCEFA3F8); 186 | c = GG(c, d, a, b, x[k+7], S23, 0x676F02D9); 187 | b = GG(b, c, d, a, x[k+12], S24, 0x8D2A4C8A); 188 | a = HH(a, b, c, d, x[k+5], S31, 0xFFFA3942); 189 | d = HH(d, a, b, c, x[k+8], S32, 0x8771F681); 190 | c = HH(c, d, a, b, x[k+11], S33, 0x6D9D6122); 191 | b = HH(b, c, d, a, x[k+14], S34, 0xFDE5380C); 192 | a = HH(a, b, c, d, x[k+1], S31, 0xA4BEEA44); 193 | d = HH(d, a, b, c, x[k+4], S32, 0x4BDECFA9); 194 | c = HH(c, d, a, b, x[k+7], S33, 0xF6BB4B60); 195 | b = HH(b, c, d, a, x[k+10], S34, 0xBEBFBC70); 196 | a = HH(a, b, c, d, x[k+13], S31, 0x289B7EC6); 197 | d = HH(d, a, b, c, x[k+0], S32, 0xEAA127FA); 198 | c = HH(c, d, a, b, x[k+3], S33, 0xD4EF3085); 199 | b = HH(b, c, d, a, x[k+6], S34, 0x4881D05); 200 | a = HH(a, b, c, d, x[k+9], S31, 0xD9D4D039); 201 | d = HH(d, a, b, c, x[k+12], S32, 0xE6DB99E5); 202 | c = HH(c, d, a, b, x[k+15], S33, 0x1FA27CF8); 203 | b = HH(b, c, d, a, x[k+2], S34, 0xC4AC5665); 204 | a = II(a, b, c, d, x[k+0], S41, 0xF4292244); 205 | d = II(d, a, b, c, x[k+7], S42, 0x432AFF97); 206 | c = II(c, d, a, b, x[k+14], S43, 0xAB9423A7); 207 | b = II(b, c, d, a, x[k+5], S44, 0xFC93A039); 208 | a = II(a, b, c, d, x[k+12], S41, 0x655B59C3); 209 | d = II(d, a, b, c, x[k+3], S42, 0x8F0CCC92); 210 | c = II(c, d, a, b, x[k+10], S43, 0xFFEFF47D); 211 | b = II(b, c, d, a, x[k+1], S44, 0x85845DD1); 212 | a = II(a, b, c, d, x[k+8], S41, 0x6FA87E4F); 213 | d = II(d, a, b, c, x[k+15], S42, 0xFE2CE6E0); 214 | c = II(c, d, a, b, x[k+6], S43, 0xA3014314); 215 | b = II(b, c, d, a, x[k+13], S44, 0x4E0811A1); 216 | a = II(a, b, c, d, x[k+4], S41, 0xF7537E82); 217 | d = II(d, a, b, c, x[k+11], S42, 0xBD3AF235); 218 | c = II(c, d, a, b, x[k+2], S43, 0x2AD7D2BB); 219 | b = II(b, c, d, a, x[k+9], S44, 0xEB86D391); 220 | a = addUnsigned(a, AA); 221 | b = addUnsigned(b, BB); 222 | c = addUnsigned(c, CC); 223 | d = addUnsigned(d, DD); 224 | } 225 | var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d); 226 | return tempValue.toLowerCase(); 227 | } 228 | }); 229 | })(jQuery); 230 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/lib/jquery.md5.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery MD5 hash algorithm function 3 | * 4 | * 5 | * Calculate the md5 hash of a String 6 | * String $.md5 ( String str ) 7 | * 8 | * 9 | * Calculates the MD5 hash of str using the 禄 RSA Data Security, Inc. MD5 Message-Digest Algorithm, and returns that hash. 10 | * MD5 (Message-Digest algorithm 5) is a widely-used cryptographic hash function with a 128-bit hash value. MD5 has been employed in a wide variety of security applications, and is also commonly used to check the integrity of data. The generated hash is also non-reversable. Data cannot be retrieved from the message digest, the digest uniquely identifies the data. 11 | * MD5 was developed by Professor Ronald L. Rivest in 1994. Its 128 bit (16 byte) message digest makes it a faster implementation than SHA-1. 12 | * This script is used to process a variable length message into a fixed-length output of 128 bits using the MD5 algorithm. It is fully compatible with UTF-8 encoding. It is very useful when u want to transfer encrypted passwords over the internet. If you plan using UTF-8 encoding in your project don't forget to set the page encoding to UTF-8 (Content-Type meta tag). 13 | * This function orginally get from the WebToolkit and rewrite for using as the jQuery plugin. 14 | * 15 | * Example 16 | * Code 17 | * 18 | * $.md5("I'm Persian."); 19 | * 20 | * Result 21 | * 22 | * "b8c901d0f02223f9761016cfff9d68df" 23 | * 24 | * 25 | * @alias Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com > 26 | * @link http://www.semnanweb.com/jquery-plugin/md5.html 27 | * @see http://www.webtoolkit.info/ 28 | * @license http://www.gnu.org/licenses/gpl.html [GNU General Public License] 29 | * @param {jQuery} {md5:function(string)) 30 | * @return string 31 | */ 32 | 33 | (function($){ 34 | 35 | var rotateLeft = function(lValue, iShiftBits) { 36 | return (lValue << iShiftBits) | (lValue >>> (32 - iShiftBits)); 37 | } 38 | 39 | var addUnsigned = function(lX, lY) { 40 | var lX4, lY4, lX8, lY8, lResult; 41 | lX8 = (lX & 0x80000000); 42 | lY8 = (lY & 0x80000000); 43 | lX4 = (lX & 0x40000000); 44 | lY4 = (lY & 0x40000000); 45 | lResult = (lX & 0x3FFFFFFF) + (lY & 0x3FFFFFFF); 46 | if (lX4 & lY4) return (lResult ^ 0x80000000 ^ lX8 ^ lY8); 47 | if (lX4 | lY4) { 48 | if (lResult & 0x40000000) return (lResult ^ 0xC0000000 ^ lX8 ^ lY8); 49 | else return (lResult ^ 0x40000000 ^ lX8 ^ lY8); 50 | } else { 51 | return (lResult ^ lX8 ^ lY8); 52 | } 53 | } 54 | 55 | var F = function(x, y, z) { 56 | return (x & y) | ((~ x) & z); 57 | } 58 | 59 | var G = function(x, y, z) { 60 | return (x & z) | (y & (~ z)); 61 | } 62 | 63 | var H = function(x, y, z) { 64 | return (x ^ y ^ z); 65 | } 66 | 67 | var I = function(x, y, z) { 68 | return (y ^ (x | (~ z))); 69 | } 70 | 71 | var FF = function(a, b, c, d, x, s, ac) { 72 | a = addUnsigned(a, addUnsigned(addUnsigned(F(b, c, d), x), ac)); 73 | return addUnsigned(rotateLeft(a, s), b); 74 | }; 75 | 76 | var GG = function(a, b, c, d, x, s, ac) { 77 | a = addUnsigned(a, addUnsigned(addUnsigned(G(b, c, d), x), ac)); 78 | return addUnsigned(rotateLeft(a, s), b); 79 | }; 80 | 81 | var HH = function(a, b, c, d, x, s, ac) { 82 | a = addUnsigned(a, addUnsigned(addUnsigned(H(b, c, d), x), ac)); 83 | return addUnsigned(rotateLeft(a, s), b); 84 | }; 85 | 86 | var II = function(a, b, c, d, x, s, ac) { 87 | a = addUnsigned(a, addUnsigned(addUnsigned(I(b, c, d), x), ac)); 88 | return addUnsigned(rotateLeft(a, s), b); 89 | }; 90 | 91 | var convertToWordArray = function(string) { 92 | var lWordCount; 93 | var lMessageLength = string.length; 94 | var lNumberOfWordsTempOne = lMessageLength + 8; 95 | var lNumberOfWordsTempTwo = (lNumberOfWordsTempOne - (lNumberOfWordsTempOne % 64)) / 64; 96 | var lNumberOfWords = (lNumberOfWordsTempTwo + 1) * 16; 97 | var lWordArray = Array(lNumberOfWords - 1); 98 | var lBytePosition = 0; 99 | var lByteCount = 0; 100 | while (lByteCount < lMessageLength) { 101 | lWordCount = (lByteCount - (lByteCount % 4)) / 4; 102 | lBytePosition = (lByteCount % 4) * 8; 103 | lWordArray[lWordCount] = (lWordArray[lWordCount] | (string.charCodeAt(lByteCount) << lBytePosition)); 104 | lByteCount++; 105 | } 106 | lWordCount = (lByteCount - (lByteCount % 4)) / 4; 107 | lBytePosition = (lByteCount % 4) * 8; 108 | lWordArray[lWordCount] = lWordArray[lWordCount] | (0x80 << lBytePosition); 109 | lWordArray[lNumberOfWords - 2] = lMessageLength << 3; 110 | lWordArray[lNumberOfWords - 1] = lMessageLength >>> 29; 111 | return lWordArray; 112 | }; 113 | 114 | var wordToHex = function(lValue) { 115 | var WordToHexValue = "", WordToHexValueTemp = "", lByte, lCount; 116 | for (lCount = 0; lCount <= 3; lCount++) { 117 | lByte = (lValue >>> (lCount * 8)) & 255; 118 | WordToHexValueTemp = "0" + lByte.toString(16); 119 | WordToHexValue = WordToHexValue + WordToHexValueTemp.substr(WordToHexValueTemp.length - 2, 2); 120 | } 121 | return WordToHexValue; 122 | }; 123 | 124 | var uTF8Encode = function(string) { 125 | string = string.replace(/\x0d\x0a/g, "\x0a"); 126 | var output = ""; 127 | for (var n = 0; n < string.length; n++) { 128 | var c = string.charCodeAt(n); 129 | if (c < 128) { 130 | output += String.fromCharCode(c); 131 | } else if ((c > 127) && (c < 2048)) { 132 | output += String.fromCharCode((c >> 6) | 192); 133 | output += String.fromCharCode((c & 63) | 128); 134 | } else { 135 | output += String.fromCharCode((c >> 12) | 224); 136 | output += String.fromCharCode(((c >> 6) & 63) | 128); 137 | output += String.fromCharCode((c & 63) | 128); 138 | } 139 | } 140 | return output; 141 | }; 142 | 143 | $.extend({ 144 | md5: function(string) { 145 | var x = Array(); 146 | var k, AA, BB, CC, DD, a, b, c, d; 147 | var S11=7, S12=12, S13=17, S14=22; 148 | var S21=5, S22=9 , S23=14, S24=20; 149 | var S31=4, S32=11, S33=16, S34=23; 150 | var S41=6, S42=10, S43=15, S44=21; 151 | string = uTF8Encode(string); 152 | x = convertToWordArray(string); 153 | a = 0x67452301; b = 0xEFCDAB89; c = 0x98BADCFE; d = 0x10325476; 154 | for (k = 0; k < x.length; k += 16) { 155 | AA = a; BB = b; CC = c; DD = d; 156 | a = FF(a, b, c, d, x[k+0], S11, 0xD76AA478); 157 | d = FF(d, a, b, c, x[k+1], S12, 0xE8C7B756); 158 | c = FF(c, d, a, b, x[k+2], S13, 0x242070DB); 159 | b = FF(b, c, d, a, x[k+3], S14, 0xC1BDCEEE); 160 | a = FF(a, b, c, d, x[k+4], S11, 0xF57C0FAF); 161 | d = FF(d, a, b, c, x[k+5], S12, 0x4787C62A); 162 | c = FF(c, d, a, b, x[k+6], S13, 0xA8304613); 163 | b = FF(b, c, d, a, x[k+7], S14, 0xFD469501); 164 | a = FF(a, b, c, d, x[k+8], S11, 0x698098D8); 165 | d = FF(d, a, b, c, x[k+9], S12, 0x8B44F7AF); 166 | c = FF(c, d, a, b, x[k+10], S13, 0xFFFF5BB1); 167 | b = FF(b, c, d, a, x[k+11], S14, 0x895CD7BE); 168 | a = FF(a, b, c, d, x[k+12], S11, 0x6B901122); 169 | d = FF(d, a, b, c, x[k+13], S12, 0xFD987193); 170 | c = FF(c, d, a, b, x[k+14], S13, 0xA679438E); 171 | b = FF(b, c, d, a, x[k+15], S14, 0x49B40821); 172 | a = GG(a, b, c, d, x[k+1], S21, 0xF61E2562); 173 | d = GG(d, a, b, c, x[k+6], S22, 0xC040B340); 174 | c = GG(c, d, a, b, x[k+11], S23, 0x265E5A51); 175 | b = GG(b, c, d, a, x[k+0], S24, 0xE9B6C7AA); 176 | a = GG(a, b, c, d, x[k+5], S21, 0xD62F105D); 177 | d = GG(d, a, b, c, x[k+10], S22, 0x2441453); 178 | c = GG(c, d, a, b, x[k+15], S23, 0xD8A1E681); 179 | b = GG(b, c, d, a, x[k+4], S24, 0xE7D3FBC8); 180 | a = GG(a, b, c, d, x[k+9], S21, 0x21E1CDE6); 181 | d = GG(d, a, b, c, x[k+14], S22, 0xC33707D6); 182 | c = GG(c, d, a, b, x[k+3], S23, 0xF4D50D87); 183 | b = GG(b, c, d, a, x[k+8], S24, 0x455A14ED); 184 | a = GG(a, b, c, d, x[k+13], S21, 0xA9E3E905); 185 | d = GG(d, a, b, c, x[k+2], S22, 0xFCEFA3F8); 186 | c = GG(c, d, a, b, x[k+7], S23, 0x676F02D9); 187 | b = GG(b, c, d, a, x[k+12], S24, 0x8D2A4C8A); 188 | a = HH(a, b, c, d, x[k+5], S31, 0xFFFA3942); 189 | d = HH(d, a, b, c, x[k+8], S32, 0x8771F681); 190 | c = HH(c, d, a, b, x[k+11], S33, 0x6D9D6122); 191 | b = HH(b, c, d, a, x[k+14], S34, 0xFDE5380C); 192 | a = HH(a, b, c, d, x[k+1], S31, 0xA4BEEA44); 193 | d = HH(d, a, b, c, x[k+4], S32, 0x4BDECFA9); 194 | c = HH(c, d, a, b, x[k+7], S33, 0xF6BB4B60); 195 | b = HH(b, c, d, a, x[k+10], S34, 0xBEBFBC70); 196 | a = HH(a, b, c, d, x[k+13], S31, 0x289B7EC6); 197 | d = HH(d, a, b, c, x[k+0], S32, 0xEAA127FA); 198 | c = HH(c, d, a, b, x[k+3], S33, 0xD4EF3085); 199 | b = HH(b, c, d, a, x[k+6], S34, 0x4881D05); 200 | a = HH(a, b, c, d, x[k+9], S31, 0xD9D4D039); 201 | d = HH(d, a, b, c, x[k+12], S32, 0xE6DB99E5); 202 | c = HH(c, d, a, b, x[k+15], S33, 0x1FA27CF8); 203 | b = HH(b, c, d, a, x[k+2], S34, 0xC4AC5665); 204 | a = II(a, b, c, d, x[k+0], S41, 0xF4292244); 205 | d = II(d, a, b, c, x[k+7], S42, 0x432AFF97); 206 | c = II(c, d, a, b, x[k+14], S43, 0xAB9423A7); 207 | b = II(b, c, d, a, x[k+5], S44, 0xFC93A039); 208 | a = II(a, b, c, d, x[k+12], S41, 0x655B59C3); 209 | d = II(d, a, b, c, x[k+3], S42, 0x8F0CCC92); 210 | c = II(c, d, a, b, x[k+10], S43, 0xFFEFF47D); 211 | b = II(b, c, d, a, x[k+1], S44, 0x85845DD1); 212 | a = II(a, b, c, d, x[k+8], S41, 0x6FA87E4F); 213 | d = II(d, a, b, c, x[k+15], S42, 0xFE2CE6E0); 214 | c = II(c, d, a, b, x[k+6], S43, 0xA3014314); 215 | b = II(b, c, d, a, x[k+13], S44, 0x4E0811A1); 216 | a = II(a, b, c, d, x[k+4], S41, 0xF7537E82); 217 | d = II(d, a, b, c, x[k+11], S42, 0xBD3AF235); 218 | c = II(c, d, a, b, x[k+2], S43, 0x2AD7D2BB); 219 | b = II(b, c, d, a, x[k+9], S44, 0xEB86D391); 220 | a = addUnsigned(a, AA); 221 | b = addUnsigned(b, BB); 222 | c = addUnsigned(c, CC); 223 | d = addUnsigned(d, DD); 224 | } 225 | var tempValue = wordToHex(a) + wordToHex(b) + wordToHex(c) + wordToHex(d); 226 | return tempValue.toLowerCase(); 227 | } 228 | }); 229 | })(jQuery); 230 | -------------------------------------------------------------------------------- /src/main/webapp/newask.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 发布方案 18 | 19 | 20 |
21 |
22 |
23 |
24 | 43 |
44 |
45 |
46 |
47 |

发布方案

48 |
49 | 51 | 问题类型: 52 | 53 | 58 | 59 | 60 |
61 | 62 |
63 | 保存草稿 64 | 发布方案 65 |
66 |
67 | 68 |
69 | 70 | 94 | 95 |
96 | 213 |
214 | 215 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/newask.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 发布方案 18 | 19 | 20 |
21 |
22 |
23 |
24 | 43 |
44 |
45 |
46 |
47 |

发布方案

48 |
49 | 51 | 问题类型: 52 | 53 | 58 | 59 | 60 |
61 | 62 |
63 | 保存草稿 64 | 发布方案 65 |
66 |
67 | 68 |
69 | 70 | 94 | 95 |
96 | 213 |
214 | 215 | -------------------------------------------------------------------------------- /src/main/webapp/ask.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 方案解决系统 16 | 17 | 18 |
19 |
20 |
21 |
22 | 41 |
42 |
43 |
44 |
45 |
46 |

{{askData.title}}

47 |
48 |
49 |
50 | {{askData.classname}} 52 | 53 | {{askData.username}} 54 | {{askData.creattime}} 55 |
56 |
57 | 编辑 58 | 删除 59 |
60 |
61 |
62 | 63 |
64 |
65 | 66 | 90 | 91 |
92 |
93 | 96 |
97 | 230 |
231 | 232 | -------------------------------------------------------------------------------- /target/ssm_maven_pure-1.0-SNAPSHOT/ask.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 方案解决系统 16 | 17 | 18 |
19 |
20 |
21 |
22 | 41 |
42 |
43 |
44 |
45 |
46 |

{{askData.title}}

47 |
48 |
49 |
50 | {{askData.classname}} 52 | 53 | {{askData.username}} 54 | {{askData.creattime}} 55 |
56 |
57 | 编辑 58 | 删除 59 |
60 |
61 |
62 | 63 |
64 |
65 | 66 | 90 | 91 |
92 |
93 | 96 |
97 | 230 |
231 | 232 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | com.java.ssm_maven_pure 8 | ssm_maven_pure 9 | 1.0-SNAPSHOT 10 | war 11 | 12 | 13 | 14 | utf8 15 | utf8 16 | 3.2.2.RELEASE 17 | 2.1.4 18 | 19 | 20 | 21 | 22 | 23 | com.mangofactory 24 | swagger-springmvc 25 | 1.0.2 26 | 27 | 28 | 29 | org.springframework 30 | spring-context 31 | ${spring.version} 32 | 33 | 34 | 35 | commons-logging 36 | commons-logging 37 | 38 | 39 | 40 | 41 | org.springframework 42 | spring-webmvc 43 | ${spring.version} 44 | 45 | 46 | org.springframework 47 | spring-jdbc 48 | ${spring.version} 49 | 50 | 51 | org.springframework 52 | spring-tx 53 | ${spring.version} 54 | 55 | 56 | org.springframework 57 | spring-orm 58 | ${spring.version} 59 | 60 | 61 | org.springframework 62 | spring-context-support 63 | ${spring.version} 64 | 65 | 66 | org.springframework 67 | spring-aspects 68 | ${spring.version} 69 | 70 | 71 | commons-fileupload 72 | commons-fileupload 73 | 1.2.1 74 | 75 | 76 | commons-logging 77 | commons-logging 78 | 1.0.4 79 | 80 | 81 | commons-collections 82 | commons-collections 83 | 3.1 84 | 85 | 86 | commons-io 87 | commons-io 88 | 1.4 89 | 90 | 91 | commons-dbcp 92 | commons-dbcp 93 | 1.3 94 | 95 | 96 | commons-pool 97 | commons-pool 98 | 1.5.6 99 | 100 | 101 | commons-lang 102 | commons-lang 103 | 2.3 104 | 105 | 106 | commons-codec 107 | commons-codec 108 | 1.10 109 | 110 | 111 | commons-httpclient 112 | commons-httpclient 113 | 3.1 114 | 115 | 116 | 117 | org.apache.httpcomponents 118 | httpcore 119 | 4.0.1 120 | 121 | 122 | org.apache.httpcomponents 123 | httpclient 124 | 4.0.1 125 | 126 | 132 | 133 | 134 | c3p0 135 | c3p0 136 | 0.9.1.2 137 | 138 | 139 | 140 | 141 | mysql 142 | mysql-connector-java 143 | 5.1.46 144 | 145 | 146 | 147 | 148 | org.mybatis 149 | mybatis-spring 150 | 1.2.0 151 | 152 | 153 | org.mybatis 154 | mybatis 155 | 3.2.2 156 | 157 | 158 | 159 | cn.jpush.api 160 | jpush-client 161 | 3.1.3 162 | 163 | 174 | 175 | 176 | 177 | com.fasterxml.jackson.core 178 | jackson-annotations 179 | 2.9.0.pr2 180 | 181 | 182 | com.fasterxml.jackson.core 183 | jackson-core 184 | 2.9.0.pr2 185 | 186 | 187 | org.codehaus.jackson 188 | jackson-core-asl 189 | 1.9.13 190 | 191 | 192 | com.fasterxml.jackson.core 193 | jackson-databind 194 | 2.9.0.pr2 195 | 196 | 197 | org.codehaus.jackson 198 | jackson-mapper-asl 199 | 1.9.13 200 | 201 | 202 | 203 | log4j 204 | log4j 205 | 1.2.14 206 | 207 | 208 | 209 | org.apache.poi 210 | poi 211 | 3.9 212 | 213 | 214 | 215 | org.jdom 216 | jdom 217 | 1.1.3 218 | 219 | 220 | 221 | javax.servlet 222 | javax.servlet-api 223 | 3.0.1 224 | provided 225 | 226 | 227 | 235 | 236 | 237 | jstl 238 | jstl 239 | 1.2 240 | 241 | 242 | 243 | p6spy 244 | p6spy 245 | 2.1.4 246 | 247 | 248 | 249 | junit 250 | junit 251 | 3.8.1 252 | test 253 | 254 | 255 | 256 | 257 | org.hibernate 258 | hibernate-validator 259 | 5.4.1.Final 260 | 261 | 262 | 263 | com.github.pagehelper 264 | pagehelper 265 | 4.1.6 266 | 267 | 268 | com.github.jsqlparser 269 | jsqlparser 270 | 0.9.5 271 | 272 | 273 | 274 | org.projectlombok 275 | lombok 276 | 1.18.2 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | org.apache.maven.plugins 287 | maven-compiler-plugin 288 | 289 | 1.7 290 | 1.7 291 | 292 | 293 | 294 | 295 | 296 | src/main/java 297 | 298 | **/*.xml 299 | 300 | 301 | 302 | 303 | 304 | 305 | --------------------------------------------------------------------------------