├── .idea ├── .gitignore ├── compiler.xml ├── encodings.xml ├── jarRepositories.xml ├── libraries │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ ├── Maven__com_alibaba_fastjson_1_2_58.xml │ ├── Maven__com_auth0_java_jwt_3_2_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_3.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_11_3.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_11_3.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_3.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_3.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_3.xml │ ├── Maven__com_github_jsqlparser_jsqlparser_1_0.xml │ ├── Maven__com_github_pagehelper_pagehelper_5_1_4.xml │ ├── Maven__com_github_pagehelper_pagehelper_spring_boot_autoconfigure_1_2_5.xml │ ├── Maven__com_github_pagehelper_pagehelper_spring_boot_starter_1_2_5.xml │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ ├── Maven__com_zaxxer_HikariCP_3_4_5.xml │ ├── Maven__commons_beanutils_commons_beanutils_1_9_4.xml │ ├── Maven__commons_codec_commons_codec_1_15.xml │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ ├── Maven__commons_fileupload_commons_fileupload_1_3_3.xml │ ├── Maven__commons_io_commons_io_2_4.xml │ ├── Maven__io_lettuce_lettuce_core_6_0_1_RELEASE.xml │ ├── Maven__io_netty_netty_buffer_4_1_54_Final.xml │ ├── Maven__io_netty_netty_codec_4_1_54_Final.xml │ ├── Maven__io_netty_netty_common_4_1_54_Final.xml │ ├── Maven__io_netty_netty_handler_4_1_54_Final.xml │ ├── Maven__io_netty_netty_resolver_4_1_54_Final.xml │ ├── Maven__io_netty_netty_transport_4_1_54_Final.xml │ ├── Maven__io_projectreactor_reactor_core_3_4_0.xml │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ ├── Maven__junit_junit_4_13_1.xml │ ├── Maven__mysql_mysql_connector_java_8_0_13.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_10_18.xml │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_18.xml │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ ├── Maven__net_minidev_json_smart_2_3.xml │ ├── Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml │ ├── Maven__org_apache_shiro_shiro_cache_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_config_core_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_config_ogdl_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_core_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_cipher_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_core_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_hash_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_event_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_lang_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_spring_1_6_0.xml │ ├── Maven__org_apache_shiro_shiro_web_1_6_0.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_39.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_39.xml │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ ├── Maven__org_assertj_assertj_core_3_18_1.xml │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml │ ├── Maven__org_glassfish_jakarta_el_3_0_3.xml │ ├── Maven__org_hamcrest_hamcrest_2_2.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml │ ├── Maven__org_junit_platform_junit_platform_commons_1_7_0.xml │ ├── Maven__org_junit_platform_junit_platform_engine_1_7_0.xml │ ├── Maven__org_junit_vintage_junit_vintage_engine_5_7_0.xml │ ├── Maven__org_mockito_mockito_core_3_6_0.xml │ ├── Maven__org_mockito_mockito_junit_jupiter_3_6_0.xml │ ├── Maven__org_mybatis_mybatis_3_5_2.xml │ ├── Maven__org_mybatis_mybatis_spring_2_0_2.xml │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_2_1_0.xml │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_2_1_0.xml │ ├── Maven__org_objenesis_objenesis_3_1.xml │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__org_owasp_encoder_encoder_1_2_2.xml │ ├── Maven__org_reactivestreams_reactive_streams_1_0_3.xml │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ ├── Maven__org_springframework_boot_spring_boot_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_redis_2_1_5_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_3_5_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_3_5_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_test_2_4_0.xml │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_0.xml │ ├── Maven__org_springframework_data_spring_data_commons_2_4_1.xml │ ├── Maven__org_springframework_data_spring_data_keyvalue_2_4_1.xml │ ├── Maven__org_springframework_data_spring_data_redis_2_4_1.xml │ ├── Maven__org_springframework_spring_aop_5_3_1.xml │ ├── Maven__org_springframework_spring_beans_5_3_1.xml │ ├── Maven__org_springframework_spring_context_5_3_1.xml │ ├── Maven__org_springframework_spring_context_support_5_3_1.xml │ ├── Maven__org_springframework_spring_core_5_3_1.xml │ ├── Maven__org_springframework_spring_expression_5_3_1.xml │ ├── Maven__org_springframework_spring_jcl_5_3_1.xml │ ├── Maven__org_springframework_spring_jdbc_5_3_1.xml │ ├── Maven__org_springframework_spring_oxm_5_3_1.xml │ ├── Maven__org_springframework_spring_test_5_3_1.xml │ ├── Maven__org_springframework_spring_tx_5_3_1.xml │ ├── Maven__org_springframework_spring_web_5_3_1.xml │ ├── Maven__org_springframework_spring_webmvc_5_3_1.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_7_0.xml │ └── Maven__org_yaml_snakeyaml_1_27.xml ├── misc.xml ├── modules.xml ├── saveactions_settings.xml └── vcs.xml ├── README.md ├── 前端代码 └── treehole_front │ ├── .browserslistrc │ ├── .env │ ├── .env.development │ ├── .env.production │ ├── .gitignore │ ├── README.md │ ├── package-lock.json │ ├── package.json │ ├── public │ ├── favicon.ico │ └── index.html │ ├── src │ ├── App.vue │ ├── assets │ │ ├── icon │ │ │ └── hand-thumbs-up.svg │ │ ├── img │ │ │ ├── login_bg.jpg │ │ │ └── userhead.png │ │ └── logo.png │ ├── components │ │ ├── HelloWorld.vue │ │ ├── answer │ │ │ ├── AnswerForAnswer.vue │ │ │ └── MyAnswer.vue │ │ ├── article │ │ │ ├── MyArticle.vue │ │ │ └── QuestionList.vue │ │ ├── complain │ │ │ └── index.vue │ │ ├── grobal │ │ │ ├── EditorItem.vue │ │ │ ├── Head.vue │ │ │ └── Pagination.vue │ │ ├── notice │ │ │ └── ManageNotice.vue │ │ ├── question │ │ │ └── MyQuestion.vue │ │ └── user │ │ │ └── UserControl.vue │ ├── main.js │ ├── router │ │ └── index.js │ ├── store │ │ └── index.js │ ├── utils │ │ ├── EventBus.js │ │ ├── functionUtil.js │ │ └── request.js │ └── views │ │ ├── About.vue │ │ ├── Home.vue │ │ ├── Index.vue │ │ ├── Login.vue │ │ ├── Test.vue │ │ ├── admin │ │ ├── Index.vue │ │ └── Login.vue │ │ ├── complain │ │ └── Detail.vue │ │ ├── layout │ │ └── common.vue │ │ ├── question │ │ ├── AddQuestion.vue │ │ └── Detail.vue │ │ ├── search │ │ └── SearchPage.vue │ │ └── user │ │ ├── Center.vue │ │ ├── EditPersonalInfo.vue │ │ └── Register.vue │ ├── treehole_front │ ├── css │ │ ├── app.4b35b259.css │ │ ├── chunk-253997c2.b0fd25e5.css │ │ ├── chunk-2e29b554.182903cb.css │ │ ├── chunk-4a67175a.9d505173.css │ │ ├── chunk-6fedeada.f9733349.css │ │ ├── chunk-7b7a2ae4.c298da7d.css │ │ ├── chunk-d99844e6.b7ea853a.css │ │ ├── chunk-f47b7750.1ed0649f.css │ │ └── chunk-vendors.84bb20f7.css │ ├── favicon.ico │ ├── fonts │ │ ├── element-icons.535877f5.woff │ │ └── element-icons.732389de.ttf │ ├── img │ │ ├── 4x100亚军.96cf76b7.jpg │ │ ├── head.54395eb1.jpg │ │ ├── laochen.96cf76b7.jpg │ │ ├── login_bg.54395eb1.jpg │ │ └── logo.82b9c7a5.png │ ├── index.html │ └── js │ │ ├── about.1ee711cd.js │ │ ├── about.1ee711cd.js.map │ │ ├── app.f5fc7a2a.js │ │ ├── app.f5fc7a2a.js.map │ │ ├── chunk-253997c2.64238fdf.js │ │ ├── chunk-253997c2.64238fdf.js.map │ │ ├── chunk-2d0aa775.0e38a356.js │ │ ├── chunk-2d0aa775.0e38a356.js.map │ │ ├── chunk-2d0b5d4e.2d6abeb7.js │ │ ├── chunk-2d0b5d4e.2d6abeb7.js.map │ │ ├── chunk-2d0d0262.6cce8a55.js │ │ ├── chunk-2d0d0262.6cce8a55.js.map │ │ ├── chunk-2e29b554.30bd09dd.js │ │ ├── chunk-2e29b554.30bd09dd.js.map │ │ ├── chunk-4a67175a.dd067353.js │ │ ├── chunk-4a67175a.dd067353.js.map │ │ ├── chunk-6fedeada.e8f9b19b.js │ │ ├── chunk-6fedeada.e8f9b19b.js.map │ │ ├── chunk-7b7a2ae4.0e28e374.js │ │ ├── chunk-7b7a2ae4.0e28e374.js.map │ │ ├── chunk-d99844e6.97ae0a51.js │ │ ├── chunk-d99844e6.97ae0a51.js.map │ │ ├── chunk-f47b7750.c6d2ccfc.js │ │ ├── chunk-f47b7750.c6d2ccfc.js.map │ │ ├── chunk-vendors.13d3744c.js │ │ └── chunk-vendors.13d3744c.js.map │ └── vue.config.js ├── 后端源码 ├── treehole │ ├── .idea │ │ ├── .gitignore │ │ ├── artifacts │ │ │ ├── treehole_war.xml │ │ │ └── treehole_war_exploded.xml │ │ ├── compiler.xml │ │ ├── encodings.xml │ │ ├── jarRepositories.xml │ │ ├── libraries │ │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ │ ├── Maven__com_alibaba_fastjson_1_2_58.xml │ │ │ ├── Maven__com_auth0_java_jwt_3_2_0.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_3.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_11_3.xml │ │ │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_11_3.xml │ │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_3.xml │ │ │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_3.xml │ │ │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_3.xml │ │ │ ├── Maven__com_github_jsqlparser_jsqlparser_1_0.xml │ │ │ ├── Maven__com_github_pagehelper_pagehelper_5_1_4.xml │ │ │ ├── Maven__com_github_pagehelper_pagehelper_spring_boot_autoconfigure_1_2_5.xml │ │ │ ├── Maven__com_github_pagehelper_pagehelper_spring_boot_starter_1_2_5.xml │ │ │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ │ │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ │ │ ├── Maven__com_zaxxer_HikariCP_3_4_5.xml │ │ │ ├── Maven__commons_beanutils_commons_beanutils_1_9_4.xml │ │ │ ├── Maven__commons_codec_commons_codec_1_15.xml │ │ │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ │ │ ├── Maven__commons_fileupload_commons_fileupload_1_3_3.xml │ │ │ ├── Maven__commons_io_commons_io_2_4.xml │ │ │ ├── Maven__io_lettuce_lettuce_core_6_0_1_RELEASE.xml │ │ │ ├── Maven__io_netty_netty_buffer_4_1_54_Final.xml │ │ │ ├── Maven__io_netty_netty_codec_4_1_54_Final.xml │ │ │ ├── Maven__io_netty_netty_common_4_1_54_Final.xml │ │ │ ├── Maven__io_netty_netty_handler_4_1_54_Final.xml │ │ │ ├── Maven__io_netty_netty_resolver_4_1_54_Final.xml │ │ │ ├── Maven__io_netty_netty_transport_4_1_54_Final.xml │ │ │ ├── Maven__io_projectreactor_reactor_core_3_4_0.xml │ │ │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ │ │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ │ │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ │ │ ├── Maven__javax_servlet_javax_servlet_api_4_0_1.xml │ │ │ ├── Maven__mysql_mysql_connector_java_8_0_22.xml │ │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_18.xml │ │ │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_18.xml │ │ │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ │ │ ├── Maven__net_minidev_json_smart_2_3.xml │ │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml │ │ │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml │ │ │ ├── Maven__org_apache_shiro_shiro_cache_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_config_core_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_config_ogdl_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_core_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_crypto_cipher_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_crypto_core_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_crypto_hash_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_event_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_lang_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_spring_1_6_0.xml │ │ │ ├── Maven__org_apache_shiro_shiro_web_1_6_0.xml │ │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_39.xml │ │ │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_39.xml │ │ │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ │ │ ├── Maven__org_assertj_assertj_core_3_18_1.xml │ │ │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml │ │ │ ├── Maven__org_glassfish_jakarta_el_3_0_3.xml │ │ │ ├── Maven__org_hamcrest_hamcrest_2_2.xml │ │ │ ├── Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml │ │ │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml │ │ │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml │ │ │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml │ │ │ ├── Maven__org_junit_platform_junit_platform_commons_1_7_0.xml │ │ │ ├── Maven__org_junit_platform_junit_platform_engine_1_7_0.xml │ │ │ ├── Maven__org_mockito_mockito_core_3_6_0.xml │ │ │ ├── Maven__org_mockito_mockito_junit_jupiter_3_6_0.xml │ │ │ ├── Maven__org_mybatis_mybatis_3_5_2.xml │ │ │ ├── Maven__org_mybatis_mybatis_spring_2_0_2.xml │ │ │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_2_1_0.xml │ │ │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_2_1_0.xml │ │ │ ├── Maven__org_objenesis_objenesis_3_1.xml │ │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ │ │ ├── Maven__org_owasp_encoder_encoder_1_2_2.xml │ │ │ ├── Maven__org_reactivestreams_reactive_streams_1_0_3.xml │ │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_data_redis_2_1_5_RELEASE.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_test_2_4_0.xml │ │ │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_0.xml │ │ │ ├── Maven__org_springframework_data_spring_data_commons_2_4_1.xml │ │ │ ├── Maven__org_springframework_data_spring_data_keyvalue_2_4_1.xml │ │ │ ├── Maven__org_springframework_data_spring_data_redis_2_4_1.xml │ │ │ ├── Maven__org_springframework_spring_aop_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_beans_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_context_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_context_support_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_core_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_expression_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_jcl_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_jdbc_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_oxm_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_test_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_tx_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_web_5_3_1.xml │ │ │ ├── Maven__org_springframework_spring_webmvc_5_3_1.xml │ │ │ ├── Maven__org_xmlunit_xmlunit_core_2_7_0.xml │ │ │ └── Maven__org_yaml_snakeyaml_1_27.xml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── saveactions_settings.xml │ │ ├── uiDesigner.xml │ │ └── vcs.xml │ ├── .mvn │ │ └── wrapper │ │ │ ├── MavenWrapperDownloader.java │ │ │ ├── maven-wrapper.jar │ │ │ └── maven-wrapper.properties │ ├── pom.xml │ ├── src │ │ ├── main │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── xinshuo │ │ │ │ │ └── treehole │ │ │ │ │ ├── TreeholeApplication.java │ │ │ │ │ ├── config │ │ │ │ │ ├── RedisDao.java │ │ │ │ │ ├── ShiroConfig.java │ │ │ │ │ ├── UserRealm.java │ │ │ │ │ └── WebMvcConfig.java │ │ │ │ │ ├── controller │ │ │ │ │ ├── AdminController.java │ │ │ │ │ ├── AnswerController.java │ │ │ │ │ ├── ComplainController.java │ │ │ │ │ ├── LookCountController.java │ │ │ │ │ ├── NoticeController.java │ │ │ │ │ ├── QuestionController.java │ │ │ │ │ ├── RedisLikeController.java │ │ │ │ │ ├── UserController.java │ │ │ │ │ └── UserLikeController.java │ │ │ │ │ ├── entity │ │ │ │ │ ├── Admin.java │ │ │ │ │ ├── Answer.java │ │ │ │ │ ├── Complain.java │ │ │ │ │ ├── LookCount.java │ │ │ │ │ ├── Notice.java │ │ │ │ │ ├── Question.java │ │ │ │ │ ├── User.java │ │ │ │ │ └── UserLike.java │ │ │ │ │ ├── filter │ │ │ │ │ └── JWTFilter.java │ │ │ │ │ ├── mapper │ │ │ │ │ ├── AdminMapper.java │ │ │ │ │ ├── AdminMapper.xml │ │ │ │ │ ├── AnswerMapper.java │ │ │ │ │ ├── AnswerMapper.xml │ │ │ │ │ ├── ComplainMapper.java │ │ │ │ │ ├── ComplainMapper.xml │ │ │ │ │ ├── NoticeMapper.java │ │ │ │ │ ├── NoticeMapper.xml │ │ │ │ │ ├── QuestionMapper.java │ │ │ │ │ ├── QuestionMapper.xml │ │ │ │ │ ├── UserLikeMapper.java │ │ │ │ │ ├── UserLikeMapper.xml │ │ │ │ │ ├── UserMapper.java │ │ │ │ │ └── UserMapper.xml │ │ │ │ │ ├── service │ │ │ │ │ ├── AdminService.java │ │ │ │ │ ├── AnswerService.java │ │ │ │ │ ├── ComplainService.java │ │ │ │ │ ├── LookCountService.java │ │ │ │ │ ├── NoticeService.java │ │ │ │ │ ├── QuestionService.java │ │ │ │ │ ├── RedisService.java │ │ │ │ │ ├── UserLikeService.java │ │ │ │ │ ├── UserService.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── AdminServiceImpl.java │ │ │ │ │ │ ├── AnswerServiceImpl.java │ │ │ │ │ │ ├── ComplainServiceImpl.java │ │ │ │ │ │ ├── LookCountServiceImpl.java │ │ │ │ │ │ ├── NoticeServiceImpl.java │ │ │ │ │ │ ├── QuestionServiceImpl.java │ │ │ │ │ │ ├── RedisServiceImpl.java │ │ │ │ │ │ ├── UserLikeServiceImpl.java │ │ │ │ │ │ └── UserServiceImpl.java │ │ │ │ │ ├── shiro │ │ │ │ │ └── MySessionManager.java │ │ │ │ │ └── util │ │ │ │ │ ├── Constant.java │ │ │ │ │ ├── DateConverter.java │ │ │ │ │ ├── ExceptionController.java │ │ │ │ │ ├── JWTToken.java │ │ │ │ │ ├── JWTUtil.java │ │ │ │ │ ├── KeyWordFilter.java │ │ │ │ │ ├── RedisKeyUtils.java │ │ │ │ │ ├── ResponseJSON.java │ │ │ │ │ └── TestReadProperties.java │ │ │ ├── resources │ │ │ │ ├── application-dev.yml │ │ │ │ ├── application-prod.yml │ │ │ │ ├── application.properties │ │ │ │ ├── application.yml │ │ │ │ ├── db.properties │ │ │ │ ├── keywords.properties │ │ │ │ ├── springMVC.xml │ │ │ │ ├── sqlMapConfig.xml │ │ │ │ └── test.properties │ │ │ └── webapp │ │ │ │ └── WEB-INF │ │ │ │ └── web.xml │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── xinshuo │ │ │ └── treehole │ │ │ └── TreeholeApplicationTests.java │ ├── target │ │ ├── classes │ │ │ ├── application-dev.yml │ │ │ ├── application-prod.yml │ │ │ ├── application.properties │ │ │ ├── application.yml │ │ │ ├── com │ │ │ │ └── xinshuo │ │ │ │ │ └── treehole │ │ │ │ │ ├── TreeholeApplication.class │ │ │ │ │ ├── TreeholeApplication.java │ │ │ │ │ ├── config │ │ │ │ │ ├── RedisDao.class │ │ │ │ │ ├── RedisDao.java │ │ │ │ │ ├── ShiroConfig.class │ │ │ │ │ ├── ShiroConfig.java │ │ │ │ │ ├── UserRealm.class │ │ │ │ │ ├── UserRealm.java │ │ │ │ │ ├── WebMvcConfig.class │ │ │ │ │ └── WebMvcConfig.java │ │ │ │ │ ├── controller │ │ │ │ │ ├── AdminController.class │ │ │ │ │ ├── AdminController.java │ │ │ │ │ ├── AnswerController.class │ │ │ │ │ ├── AnswerController.java │ │ │ │ │ ├── ComplainController.class │ │ │ │ │ ├── ComplainController.java │ │ │ │ │ ├── LookCountController.class │ │ │ │ │ ├── LookCountController.java │ │ │ │ │ ├── NoticeController.class │ │ │ │ │ ├── NoticeController.java │ │ │ │ │ ├── QuestionController.class │ │ │ │ │ ├── QuestionController.java │ │ │ │ │ ├── RedisLikeController.class │ │ │ │ │ ├── RedisLikeController.java │ │ │ │ │ ├── UserController.class │ │ │ │ │ ├── UserController.java │ │ │ │ │ ├── UserLikeController.class │ │ │ │ │ └── UserLikeController.java │ │ │ │ │ ├── entity │ │ │ │ │ ├── Admin.class │ │ │ │ │ ├── Admin.java │ │ │ │ │ ├── Answer.class │ │ │ │ │ ├── Answer.java │ │ │ │ │ ├── Complain.class │ │ │ │ │ ├── Complain.java │ │ │ │ │ ├── LookCount.class │ │ │ │ │ ├── LookCount.java │ │ │ │ │ ├── Notice.class │ │ │ │ │ ├── Notice.java │ │ │ │ │ ├── Question.class │ │ │ │ │ ├── Question.java │ │ │ │ │ ├── User.class │ │ │ │ │ ├── User.java │ │ │ │ │ ├── UserLike.class │ │ │ │ │ └── UserLike.java │ │ │ │ │ ├── filter │ │ │ │ │ ├── JWTFilter.class │ │ │ │ │ └── JWTFilter.java │ │ │ │ │ ├── mapper │ │ │ │ │ ├── AdminMapper.class │ │ │ │ │ ├── AdminMapper.java │ │ │ │ │ ├── AdminMapper.xml │ │ │ │ │ ├── AnswerMapper.class │ │ │ │ │ ├── AnswerMapper.java │ │ │ │ │ ├── AnswerMapper.xml │ │ │ │ │ ├── ComplainMapper.class │ │ │ │ │ ├── ComplainMapper.java │ │ │ │ │ ├── ComplainMapper.xml │ │ │ │ │ ├── NoticeMapper.class │ │ │ │ │ ├── NoticeMapper.java │ │ │ │ │ ├── NoticeMapper.xml │ │ │ │ │ ├── QuestionMapper.class │ │ │ │ │ ├── QuestionMapper.java │ │ │ │ │ ├── QuestionMapper.xml │ │ │ │ │ ├── UserLikeMapper.class │ │ │ │ │ ├── UserLikeMapper.java │ │ │ │ │ ├── UserLikeMapper.xml │ │ │ │ │ ├── UserMapper.class │ │ │ │ │ ├── UserMapper.java │ │ │ │ │ └── UserMapper.xml │ │ │ │ │ ├── service │ │ │ │ │ ├── AdminService.class │ │ │ │ │ ├── AdminService.java │ │ │ │ │ ├── AnswerService.class │ │ │ │ │ ├── AnswerService.java │ │ │ │ │ ├── ComplainService.class │ │ │ │ │ ├── ComplainService.java │ │ │ │ │ ├── LookCountService.class │ │ │ │ │ ├── LookCountService.java │ │ │ │ │ ├── NoticeService.class │ │ │ │ │ ├── NoticeService.java │ │ │ │ │ ├── QuestionService.class │ │ │ │ │ ├── QuestionService.java │ │ │ │ │ ├── RedisService.class │ │ │ │ │ ├── RedisService.java │ │ │ │ │ ├── UserLikeService.class │ │ │ │ │ ├── UserLikeService.java │ │ │ │ │ ├── UserService.class │ │ │ │ │ ├── UserService.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── AdminServiceImpl.class │ │ │ │ │ │ ├── AdminServiceImpl.java │ │ │ │ │ │ ├── AnswerServiceImpl.class │ │ │ │ │ │ ├── AnswerServiceImpl.java │ │ │ │ │ │ ├── ComplainServiceImpl.class │ │ │ │ │ │ ├── ComplainServiceImpl.java │ │ │ │ │ │ ├── LookCountServiceImpl.class │ │ │ │ │ │ ├── LookCountServiceImpl.java │ │ │ │ │ │ ├── NoticeServiceImpl.class │ │ │ │ │ │ ├── NoticeServiceImpl.java │ │ │ │ │ │ ├── QuestionServiceImpl.class │ │ │ │ │ │ ├── QuestionServiceImpl.java │ │ │ │ │ │ ├── RedisServiceImpl.class │ │ │ │ │ │ ├── RedisServiceImpl.java │ │ │ │ │ │ ├── UserLikeServiceImpl.class │ │ │ │ │ │ ├── UserLikeServiceImpl.java │ │ │ │ │ │ ├── UserServiceImpl.class │ │ │ │ │ │ └── UserServiceImpl.java │ │ │ │ │ ├── shiro │ │ │ │ │ ├── MySessionManager.class │ │ │ │ │ └── MySessionManager.java │ │ │ │ │ └── util │ │ │ │ │ ├── Constant.class │ │ │ │ │ ├── Constant.java │ │ │ │ │ ├── DateConverter.class │ │ │ │ │ ├── DateConverter.java │ │ │ │ │ ├── ExceptionController.class │ │ │ │ │ ├── ExceptionController.java │ │ │ │ │ ├── JWTToken.class │ │ │ │ │ ├── JWTToken.java │ │ │ │ │ ├── JWTUtil.class │ │ │ │ │ ├── JWTUtil.java │ │ │ │ │ ├── KeyWordFilter.class │ │ │ │ │ ├── KeyWordFilter.java │ │ │ │ │ ├── RedisKeyUtils.class │ │ │ │ │ ├── RedisKeyUtils.java │ │ │ │ │ ├── ResponseJSON.class │ │ │ │ │ ├── ResponseJSON.java │ │ │ │ │ ├── TestReadProperties.class │ │ │ │ │ └── TestReadProperties.java │ │ │ ├── db.properties │ │ │ ├── keywords.properties │ │ │ ├── springMVC.xml │ │ │ ├── sqlMapConfig.xml │ │ │ └── test.properties │ │ ├── maven-archiver │ │ │ └── pom.properties │ │ ├── maven-status │ │ │ └── maven-compiler-plugin │ │ │ │ ├── compile │ │ │ │ └── default-compile │ │ │ │ │ ├── createdFiles.lst │ │ │ │ │ └── inputFiles.lst │ │ │ │ └── testCompile │ │ │ │ └── default-testCompile │ │ │ │ ├── createdFiles.lst │ │ │ │ └── inputFiles.lst │ │ ├── surefire-reports │ │ │ ├── TEST-com.xinshuo.treehole.TreeholeApplicationTests.xml │ │ │ └── com.xinshuo.treehole.TreeholeApplicationTests.txt │ │ ├── test-classes │ │ │ └── com │ │ │ │ └── xinshuo │ │ │ │ └── treehole │ │ │ │ └── TreeholeApplicationTests.class │ │ ├── treehole.war │ │ ├── treehole.war.original │ │ └── treehole │ │ │ └── WEB-INF │ │ │ ├── classes │ │ │ ├── application-dev.yml │ │ │ ├── application-prod.yml │ │ │ ├── application.properties │ │ │ ├── application.yml │ │ │ ├── com │ │ │ │ └── xinshuo │ │ │ │ │ └── treehole │ │ │ │ │ ├── TreeholeApplication.class │ │ │ │ │ ├── TreeholeApplication.java │ │ │ │ │ ├── config │ │ │ │ │ ├── RedisDao.class │ │ │ │ │ ├── RedisDao.java │ │ │ │ │ ├── ShiroConfig.class │ │ │ │ │ ├── ShiroConfig.java │ │ │ │ │ ├── UserRealm.class │ │ │ │ │ ├── UserRealm.java │ │ │ │ │ ├── WebMvcConfig.class │ │ │ │ │ └── WebMvcConfig.java │ │ │ │ │ ├── controller │ │ │ │ │ ├── AdminController.class │ │ │ │ │ ├── AdminController.java │ │ │ │ │ ├── AnswerController.class │ │ │ │ │ ├── AnswerController.java │ │ │ │ │ ├── ComplainController.class │ │ │ │ │ ├── ComplainController.java │ │ │ │ │ ├── LookCountController.class │ │ │ │ │ ├── LookCountController.java │ │ │ │ │ ├── NoticeController.class │ │ │ │ │ ├── NoticeController.java │ │ │ │ │ ├── QuestionController.class │ │ │ │ │ ├── QuestionController.java │ │ │ │ │ ├── RedisLikeController.class │ │ │ │ │ ├── RedisLikeController.java │ │ │ │ │ ├── UserController.class │ │ │ │ │ ├── UserController.java │ │ │ │ │ ├── UserLikeController.class │ │ │ │ │ └── UserLikeController.java │ │ │ │ │ ├── entity │ │ │ │ │ ├── Admin.class │ │ │ │ │ ├── Admin.java │ │ │ │ │ ├── Answer.class │ │ │ │ │ ├── Answer.java │ │ │ │ │ ├── Complain.class │ │ │ │ │ ├── Complain.java │ │ │ │ │ ├── LookCount.class │ │ │ │ │ ├── LookCount.java │ │ │ │ │ ├── Notice.class │ │ │ │ │ ├── Notice.java │ │ │ │ │ ├── Question.class │ │ │ │ │ ├── Question.java │ │ │ │ │ ├── User.class │ │ │ │ │ ├── User.java │ │ │ │ │ ├── UserLike.class │ │ │ │ │ └── UserLike.java │ │ │ │ │ ├── filter │ │ │ │ │ ├── JWTFilter.class │ │ │ │ │ └── JWTFilter.java │ │ │ │ │ ├── mapper │ │ │ │ │ ├── AdminMapper.class │ │ │ │ │ ├── AdminMapper.java │ │ │ │ │ ├── AdminMapper.xml │ │ │ │ │ ├── AnswerMapper.class │ │ │ │ │ ├── AnswerMapper.java │ │ │ │ │ ├── AnswerMapper.xml │ │ │ │ │ ├── ComplainMapper.class │ │ │ │ │ ├── ComplainMapper.java │ │ │ │ │ ├── ComplainMapper.xml │ │ │ │ │ ├── NoticeMapper.class │ │ │ │ │ ├── NoticeMapper.java │ │ │ │ │ ├── NoticeMapper.xml │ │ │ │ │ ├── QuestionMapper.class │ │ │ │ │ ├── QuestionMapper.java │ │ │ │ │ ├── QuestionMapper.xml │ │ │ │ │ ├── UserLikeMapper.class │ │ │ │ │ ├── UserLikeMapper.java │ │ │ │ │ ├── UserLikeMapper.xml │ │ │ │ │ ├── UserMapper.class │ │ │ │ │ ├── UserMapper.java │ │ │ │ │ └── UserMapper.xml │ │ │ │ │ ├── service │ │ │ │ │ ├── AdminService.class │ │ │ │ │ ├── AdminService.java │ │ │ │ │ ├── AnswerService.class │ │ │ │ │ ├── AnswerService.java │ │ │ │ │ ├── ComplainService.class │ │ │ │ │ ├── ComplainService.java │ │ │ │ │ ├── LookCountService.class │ │ │ │ │ ├── LookCountService.java │ │ │ │ │ ├── NoticeService.class │ │ │ │ │ ├── NoticeService.java │ │ │ │ │ ├── QuestionService.class │ │ │ │ │ ├── QuestionService.java │ │ │ │ │ ├── RedisService.class │ │ │ │ │ ├── RedisService.java │ │ │ │ │ ├── UserLikeService.class │ │ │ │ │ ├── UserLikeService.java │ │ │ │ │ ├── UserService.class │ │ │ │ │ ├── UserService.java │ │ │ │ │ └── impl │ │ │ │ │ │ ├── AdminServiceImpl.class │ │ │ │ │ │ ├── AdminServiceImpl.java │ │ │ │ │ │ ├── AnswerServiceImpl.class │ │ │ │ │ │ ├── AnswerServiceImpl.java │ │ │ │ │ │ ├── ComplainServiceImpl.class │ │ │ │ │ │ ├── ComplainServiceImpl.java │ │ │ │ │ │ ├── LookCountServiceImpl.class │ │ │ │ │ │ ├── LookCountServiceImpl.java │ │ │ │ │ │ ├── NoticeServiceImpl.class │ │ │ │ │ │ ├── NoticeServiceImpl.java │ │ │ │ │ │ ├── QuestionServiceImpl.class │ │ │ │ │ │ ├── QuestionServiceImpl.java │ │ │ │ │ │ ├── RedisServiceImpl.class │ │ │ │ │ │ ├── RedisServiceImpl.java │ │ │ │ │ │ ├── UserLikeServiceImpl.class │ │ │ │ │ │ ├── UserLikeServiceImpl.java │ │ │ │ │ │ ├── UserServiceImpl.class │ │ │ │ │ │ └── UserServiceImpl.java │ │ │ │ │ ├── shiro │ │ │ │ │ ├── MySessionManager.class │ │ │ │ │ └── MySessionManager.java │ │ │ │ │ └── util │ │ │ │ │ ├── Constant.class │ │ │ │ │ ├── Constant.java │ │ │ │ │ ├── DateConverter.class │ │ │ │ │ ├── DateConverter.java │ │ │ │ │ ├── ExceptionController.class │ │ │ │ │ ├── ExceptionController.java │ │ │ │ │ ├── JWTToken.class │ │ │ │ │ ├── JWTToken.java │ │ │ │ │ ├── JWTUtil.class │ │ │ │ │ ├── JWTUtil.java │ │ │ │ │ ├── KeyWordFilter.class │ │ │ │ │ ├── KeyWordFilter.java │ │ │ │ │ ├── RedisKeyUtils.class │ │ │ │ │ ├── RedisKeyUtils.java │ │ │ │ │ ├── ResponseJSON.class │ │ │ │ │ ├── ResponseJSON.java │ │ │ │ │ ├── TestReadProperties.class │ │ │ │ │ └── TestReadProperties.java │ │ │ ├── db.properties │ │ │ ├── keywords.properties │ │ │ ├── springMVC.xml │ │ │ ├── sqlMapConfig.xml │ │ │ └── test.properties │ │ │ ├── lib │ │ │ ├── HikariCP-3.4.5.jar │ │ │ ├── bcprov-jdk15on-1.55.jar │ │ │ ├── commons-beanutils-1.9.4.jar │ │ │ ├── commons-codec-1.15.jar │ │ │ ├── commons-collections-3.2.2.jar │ │ │ ├── commons-fileupload-1.3.3.jar │ │ │ ├── commons-io-2.4.jar │ │ │ ├── encoder-1.2.2.jar │ │ │ ├── fastjson-1.2.58.jar │ │ │ ├── jackson-annotations-2.11.3.jar │ │ │ ├── jackson-core-2.11.3.jar │ │ │ ├── jackson-databind-2.11.3.jar │ │ │ ├── jackson-datatype-jdk8-2.11.3.jar │ │ │ ├── jackson-datatype-jsr310-2.11.3.jar │ │ │ ├── jackson-module-parameter-names-2.11.3.jar │ │ │ ├── jakarta.annotation-api-1.3.5.jar │ │ │ ├── java-jwt-3.2.0.jar │ │ │ ├── jsqlparser-1.0.jar │ │ │ ├── jul-to-slf4j-1.7.30.jar │ │ │ ├── lettuce-core-6.0.1.RELEASE.jar │ │ │ ├── log4j-api-2.13.3.jar │ │ │ ├── log4j-to-slf4j-2.13.3.jar │ │ │ ├── logback-classic-1.2.3.jar │ │ │ ├── logback-core-1.2.3.jar │ │ │ ├── mybatis-3.5.2.jar │ │ │ ├── mybatis-spring-2.0.2.jar │ │ │ ├── mybatis-spring-boot-autoconfigure-2.1.0.jar │ │ │ ├── mybatis-spring-boot-starter-2.1.0.jar │ │ │ ├── mysql-connector-java-8.0.22.jar │ │ │ ├── netty-buffer-4.1.54.Final.jar │ │ │ ├── netty-codec-4.1.54.Final.jar │ │ │ ├── netty-common-4.1.54.Final.jar │ │ │ ├── netty-handler-4.1.54.Final.jar │ │ │ ├── netty-resolver-4.1.54.Final.jar │ │ │ ├── netty-transport-4.1.54.Final.jar │ │ │ ├── pagehelper-5.1.4.jar │ │ │ ├── pagehelper-spring-boot-autoconfigure-1.2.5.jar │ │ │ ├── pagehelper-spring-boot-starter-1.2.5.jar │ │ │ ├── reactive-streams-1.0.3.jar │ │ │ ├── reactor-core-3.4.0.jar │ │ │ ├── shiro-cache-1.6.0.jar │ │ │ ├── shiro-config-core-1.6.0.jar │ │ │ ├── shiro-config-ogdl-1.6.0.jar │ │ │ ├── shiro-core-1.6.0.jar │ │ │ ├── shiro-crypto-cipher-1.6.0.jar │ │ │ ├── shiro-crypto-core-1.6.0.jar │ │ │ ├── shiro-crypto-hash-1.6.0.jar │ │ │ ├── shiro-event-1.6.0.jar │ │ │ ├── shiro-lang-1.6.0.jar │ │ │ ├── shiro-spring-1.6.0.jar │ │ │ ├── shiro-web-1.6.0.jar │ │ │ ├── slf4j-api-1.7.30.jar │ │ │ ├── snakeyaml-1.27.jar │ │ │ ├── spring-aop-5.3.1.jar │ │ │ ├── spring-beans-5.3.1.jar │ │ │ ├── spring-boot-2.4.0.jar │ │ │ ├── spring-boot-autoconfigure-2.4.0.jar │ │ │ ├── spring-boot-starter-2.4.0.jar │ │ │ ├── spring-boot-starter-data-redis-2.1.5.RELEASE.jar │ │ │ ├── spring-boot-starter-jdbc-2.4.0.jar │ │ │ ├── spring-boot-starter-json-2.4.0.jar │ │ │ ├── spring-boot-starter-logging-2.4.0.jar │ │ │ ├── spring-boot-starter-web-2.4.0.jar │ │ │ ├── spring-context-5.3.1.jar │ │ │ ├── spring-context-support-5.3.1.jar │ │ │ ├── spring-core-5.3.1.jar │ │ │ ├── spring-data-commons-2.4.1.jar │ │ │ ├── spring-data-keyvalue-2.4.1.jar │ │ │ ├── spring-data-redis-2.4.1.jar │ │ │ ├── spring-expression-5.3.1.jar │ │ │ ├── spring-jcl-5.3.1.jar │ │ │ ├── spring-jdbc-5.3.1.jar │ │ │ ├── spring-oxm-5.3.1.jar │ │ │ ├── spring-tx-5.3.1.jar │ │ │ ├── spring-web-5.3.1.jar │ │ │ └── spring-webmvc-5.3.1.jar │ │ │ └── web.xml │ └── treehole.iml └── treehole_new │ ├── .idea │ ├── .gitignore │ ├── compiler.xml │ ├── dataSources.xml │ ├── jarRepositories.xml │ ├── misc.xml │ ├── saveactions_settings.xml │ ├── uiDesigner.xml │ └── vcs.xml │ ├── answer │ └── pom.xml │ ├── background │ ├── background.iml │ └── pom.xml │ ├── common │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── treehole │ │ │ ├── mapper │ │ │ └── base │ │ │ │ └── BaseMapper.java │ │ │ └── model │ │ │ └── base │ │ │ └── BaseModel.java │ │ └── resources │ │ └── com.treehole.mapper.base.BaseMapper.xml │ ├── complain │ └── pom.xml │ ├── like │ └── pom.xml │ ├── pom.xml │ ├── question │ └── pom.xml │ ├── treehole_new.iml │ └── user │ ├── pom.xml │ └── src │ └── main │ └── java │ └── com │ └── treehole │ └── model │ └── User.java ├── 数据库备份.sql ├── 更新记录.md └── 相关资料 ├── 接口参数规定.docx └── 接口文档.docx /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_fastjson_1_2_58.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_auth0_java_jwt_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_jsqlparser_jsqlparser_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_pagehelper_pagehelper_5_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_15.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_lettuce_lettuce_core_6_0_1_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_buffer_4_1_54_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_4_1_54_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_common_4_1_54_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_handler_4_1_54_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_resolver_4_1_54_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_projectreactor_reactor_core_3_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_13_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_8_0_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_18.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_18.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_cache_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_core_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_event_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_lang_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_spring_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_web_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_assertj_assertj_core_3_18_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_3_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_3_5_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_spring_2_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_owasp_encoder_encoder_1_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jcl_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_oxm_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_test_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/saveactions_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /前端代码/treehole_front/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | not dead 4 | -------------------------------------------------------------------------------- /前端代码/treehole_front/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/.env -------------------------------------------------------------------------------- /前端代码/treehole_front/.env.development: -------------------------------------------------------------------------------- 1 | NODE_ENV=development 2 | VUE_APP_BASE_URL=http://jsonplaceholder.typicode.com 3 | VUE_APP_PUBLIC_PATH=/treehole_front 4 | -------------------------------------------------------------------------------- /前端代码/treehole_front/.env.production: -------------------------------------------------------------------------------- 1 | NODE_ENV=production 2 | VUE_APP_BASE_URL=http://192.168.31.203 3 | VUE_APP_PUBLIC_PATH=/treehole_front -------------------------------------------------------------------------------- /前端代码/treehole_front/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | -------------------------------------------------------------------------------- /前端代码/treehole_front/README.md: -------------------------------------------------------------------------------- 1 | # treehole_front 2 | 3 | ## Project setup 4 | ``` 5 | npm install 6 | ``` 7 | 8 | ### Compiles and hot-reloads for development 9 | ``` 10 | npm run serve 11 | ``` 12 | 13 | ### Compiles and minifies for production 14 | ``` 15 | npm run build 16 | ``` 17 | 18 | ### Customize configuration 19 | See [Configuration Reference](https://cli.vuejs.org/config/). 20 | -------------------------------------------------------------------------------- /前端代码/treehole_front/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "treehole_front", 3 | "version": "0.1.0", 4 | "private": true, 5 | "scripts": { 6 | "serve": "vue-cli-service serve", 7 | "build": "vue-cli-service build" 8 | }, 9 | "dependencies": { 10 | "axios": "^0.21.1", 11 | "element-ui": "^2.14.1", 12 | "vue": "^2.6.11", 13 | "vue-router": "^3.2.0", 14 | "vuex": "^3.4.0", 15 | "wangeditor": "^4.6.8" 16 | }, 17 | "devDependencies": { 18 | "@vue/cli-plugin-router": "~4.5.0", 19 | "@vue/cli-plugin-vuex": "~4.5.0", 20 | "@vue/cli-service": "~4.5.0", 21 | "vue-template-compiler": "^2.6.11" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /前端代码/treehole_front/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/public/favicon.ico -------------------------------------------------------------------------------- /前端代码/treehole_front/src/assets/img/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/src/assets/img/login_bg.jpg -------------------------------------------------------------------------------- /前端代码/treehole_front/src/assets/img/userhead.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/src/assets/img/userhead.png -------------------------------------------------------------------------------- /前端代码/treehole_front/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/src/assets/logo.png -------------------------------------------------------------------------------- /前端代码/treehole_front/src/components/article/MyArticle.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 我的文章 4 | 5 | 6 | 7 | 9 | 10 | 12 | -------------------------------------------------------------------------------- /前端代码/treehole_front/src/components/grobal/Pagination.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 13 | 14 | 33 | 34 | 36 | -------------------------------------------------------------------------------- /前端代码/treehole_front/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | // import App from './App.vue' 3 | import App from './views/layout/common.vue' 4 | import router from './router' 5 | import store from './store' 6 | import ElementUI from 'element-ui' 7 | import 'element-ui/lib/theme-chalk/index.css' 8 | import axios from 'axios' 9 | 10 | axios.default.withCredentials = true //允许axiso携带cookie 11 | 12 | Vue.config.productionTip = false 13 | 14 | Vue.use(ElementUI) 15 | 16 | new Vue({ 17 | router, 18 | store, 19 | render: function (h) { return h(App) } 20 | // }).$mount('#app') 21 | }).$mount('#app') 22 | 23 | // console.log(process.env) 24 | // console.log(process.env.VUE_APP_PUBLIC_PATH) -------------------------------------------------------------------------------- /前端代码/treehole_front/src/store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | 4 | Vue.use(Vuex) 5 | 6 | export default new Vuex.Store({ 7 | state: { 8 | }, 9 | mutations: { 10 | }, 11 | actions: { 12 | }, 13 | modules: { 14 | } 15 | }) 16 | -------------------------------------------------------------------------------- /前端代码/treehole_front/src/utils/EventBus.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | export default new Vue -------------------------------------------------------------------------------- /前端代码/treehole_front/src/utils/functionUtil.js: -------------------------------------------------------------------------------- 1 | export function setCookie(name, value) { 2 | var Days = 30; 3 | var exp = new Date(); 4 | exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); 5 | document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString(); 6 | } 7 | 8 | 9 | export function getCookie(name) { 10 | var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)"); 11 | if (arr = document.cookie.match(reg)) 12 | return unescape(arr[2]); 13 | else 14 | return null; 15 | } 16 | 17 | export function delCookie(name) { 18 | var exp = new Date(); 19 | exp.setTime(exp.getTime() - 1); 20 | var cval = getCookie(name); 21 | if (cval != null) 22 | document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString(); 23 | } 24 | -------------------------------------------------------------------------------- /前端代码/treehole_front/src/views/About.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | This is an about page 4 | 5 | 6 | -------------------------------------------------------------------------------- /前端代码/treehole_front/src/views/Home.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 19 | -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-253997c2.b0fd25e5.css: -------------------------------------------------------------------------------- 1 | .fengexian1{margin-top:5px;margin-bottom:10px}h3{margin-top:0;margin-bottom:0}.fengexian{margin-top:20px;margin-bottom:10px}.bg{background:url(../img/login_bg.54395eb1.jpg) repeat fixed 50%;width:98.7%;height:100%;min-height:100vh;background-size:100%;padding:10px}.avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden;display:inline-block}.avatar-uploader .el-upload:hover{border-color:#409eff}.avatar-uploader-icon{font-size:28px;color:#8c939d;width:50px;height:50px;line-height:50px;text-align:center}.avatar{width:200px;height:200px;display:inline-block} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-2e29b554.182903cb.css: -------------------------------------------------------------------------------- 1 | .bg{background:url(../img/login_bg.54395eb1.jpg) repeat fixed 50%;width:100%;height:100%;position:fixed;background-size:100%;padding:10px} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-4a67175a.9d505173.css: -------------------------------------------------------------------------------- 1 | .w-e-menu{z-index:2!important}.w-e-text-container{z-index:1!important}.w-e-toolbar{z-index:2!important}.w-e-droplist{z-index:3!important} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-6fedeada.f9733349.css: -------------------------------------------------------------------------------- 1 | .login_bg{background:url(../img/login_bg.54395eb1.jpg) repeat fixed 50%;width:100%;height:100%;position:fixed;background-size:100%;text-align:center}.login_box{margin-top:180px} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-7b7a2ae4.c298da7d.css: -------------------------------------------------------------------------------- 1 | .bg{background:url(../img/login_bg.54395eb1.jpg) repeat fixed 50%;width:100%;height:100%;position:fixed;background-size:100%;padding:10px}.avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.avatar-uploader .el-upload:hover{border-color:#409eff}.avatar-uploader-icon{font-size:28px;color:#8c939d;width:50px;height:50px;line-height:50px;text-align:center}.avatar{width:50px;height:50px;display:block} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-d99844e6.b7ea853a.css: -------------------------------------------------------------------------------- 1 | .fengexian{margin:10px 0}.w-e-menu{z-index:2!important}.w-e-text-container{z-index:1!important}.w-e-toolbar{z-index:2!important}.w-e-droplist{z-index:3!important}.answer_username{font-weight:700}.time{color:grey;font-size:small}.el-dialog{width:1020px} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/css/chunk-f47b7750.1ed0649f.css: -------------------------------------------------------------------------------- 1 | .item{margin-top:10px;margin-right:40px} -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/favicon.ico -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/fonts/element-icons.535877f5.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/fonts/element-icons.535877f5.woff -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/fonts/element-icons.732389de.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/fonts/element-icons.732389de.ttf -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/img/4x100亚军.96cf76b7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/img/4x100亚军.96cf76b7.jpg -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/img/head.54395eb1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/img/head.54395eb1.jpg -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/img/laochen.96cf76b7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/img/laochen.96cf76b7.jpg -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/img/login_bg.54395eb1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/img/login_bg.54395eb1.jpg -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/img/logo.82b9c7a5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/前端代码/treehole_front/treehole_front/img/logo.82b9c7a5.png -------------------------------------------------------------------------------- /前端代码/treehole_front/treehole_front/js/about.1ee711cd.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{f820:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"about"},[n("h1",[t._v("This is an about page")])])}],u=n("2877"),c={},i=Object(u["a"])(c,a,s,!1,null,null,null);e["default"]=i.exports}}]); 2 | //# sourceMappingURL=about.1ee711cd.js.map -------------------------------------------------------------------------------- /前端代码/treehole_front/vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | publicPath: process.env.VUE_APP_PUBLIC_PATH, 3 | runtimeCompiler: true, 4 | 5 | } -------------------------------------------------------------------------------- /后端源码/treehole/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/artifacts/treehole_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/target 4 | 5 | 6 | treehole 7 | war 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__com_alibaba_fastjson_1_2_58.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__com_auth0_java_jwt_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__com_github_jsqlparser_jsqlparser_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__commons_codec_commons_codec_1_15.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__commons_io_commons_io_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__io_projectreactor_reactor_core_3_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_18.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_apache_shiro_shiro_cache_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_apache_shiro_shiro_core_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_apache_shiro_shiro_event_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_apache_shiro_shiro_lang_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_apache_shiro_shiro_spring_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_apache_shiro_shiro_web_1_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_assertj_assertj_core_3_18_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_mockito_mockito_core_3_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_mybatis_mybatis_3_5_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_mybatis_mybatis_spring_2_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_owasp_encoder_encoder_1_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_springframework_spring_aop_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_springframework_spring_core_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_springframework_spring_jcl_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_springframework_spring_oxm_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_springframework_spring_tx_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_springframework_spring_web_5_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/saveactions_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /后端源码/treehole/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /后端源码/treehole/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip 2 | wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar 3 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/config/WebMvcConfig.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.config; 2 | 3 | import com.xinshuo.treehole.util.DateConverter; 4 | import org.springframework.format.FormatterRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | public class WebMvcConfig implements WebMvcConfigurer { 8 | @Override 9 | public void addFormatters(FormatterRegistry registry) { 10 | registry.addConverter(new DateConverter()); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/entity/Notice.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.entity; 2 | 3 | public class Notice { 4 | private String notice; 5 | 6 | public Notice(String notice) { 7 | this.notice = notice; 8 | } 9 | 10 | public Notice() { 11 | } 12 | 13 | public String getNotice() { 14 | return notice; 15 | } 16 | 17 | public void setNotice(String notice) { 18 | this.notice = notice; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/mapper/AdminMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Admin; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Mapper 8 | @Repository 9 | public interface AdminMapper { 10 | Admin getAdminByUsernameAndPassword(Admin admin); 11 | } 12 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/mapper/AdminMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | select * from t_admin where name = #{name} and password = #{password} 8 | 9 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/mapper/AnswerMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Answer; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | @Repository 11 | public interface AnswerMapper { 12 | Answer getAnswerByID(int id); 13 | List getAnswerByAnswerID(int aid); 14 | List getAnswerByQuestionID(int qid); 15 | List getAnswerByUID(int uid); 16 | List getAnswers(); 17 | void addAnswer(Answer answer); 18 | void updateAnswer(Answer answer); 19 | void deleteAnswer(int id); 20 | int getTotalOfAnswerForAnswer(int aid); 21 | } 22 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/mapper/ComplainMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Complain; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | @Repository 11 | public interface ComplainMapper { 12 | void addComplain(Complain complain); 13 | void updateComplain(Complain complain); 14 | void deleteComplain(int id); 15 | List getComplainsOfNoDeal(); 16 | Complain getComplainByID(int id); 17 | } 18 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/mapper/NoticeMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Notice; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Mapper 8 | @Repository 9 | public interface NoticeMapper { 10 | Notice getNotice();//获取公告 11 | void updateNotice(Notice notice);//修改公告 12 | } 13 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/mapper/NoticeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | select * from t_notice 10 | 11 | 12 | update t_notice set notice = #{notice} 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/service/AdminService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.xinshuo.treehole.entity.Admin; 4 | import com.xinshuo.treehole.entity.Complain; 5 | import org.springframework.stereotype.Service; 6 | 7 | public interface AdminService { 8 | int login(Admin admin); 9 | } 10 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/service/AnswerService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.xinshuo.treehole.entity.Answer; 5 | 6 | import java.util.List; 7 | 8 | public interface AnswerService { 9 | Answer getAnswerByID(int id); 10 | PageInfo getAnswerByAnswerID(int aid, int pageNum, int pageSize); 11 | PageInfo getAnswerByQuestionID(int qid,int pageNum, int pageSize); 12 | PageInfo getAnswerByUID(int uid,int pageNum, int pageSize); 13 | List getAnswers(int pageNum, int pageSize); 14 | void addAnswer(Answer answer); 15 | void updateAnswer(Answer answer); 16 | void deleteAnswer(int id); 17 | int getTotalOfAnswerForAnswer(int aid); 18 | } 19 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/service/ComplainService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.xinshuo.treehole.entity.Complain; 5 | 6 | import java.util.List; 7 | 8 | public interface ComplainService { 9 | public void addComplain(Complain complain); 10 | public void dealComplain(Complain complain, String isDeleteThing); 11 | public void deleteComplain(int id); 12 | public PageInfo getComplainsOfNoDeal(int pageNum, int pageSize); 13 | public Complain getComplainByID(int id); 14 | } 15 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/service/LookCountService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | public interface LookCountService { 4 | 5 | void addLookCountRecords();//往数据库存redis中的任务记录,定时任务 6 | Long getLookCountOfQestion(int qid);//获取某篇帖子的浏览数 7 | } 8 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/service/NoticeService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.xinshuo.treehole.entity.Notice; 4 | 5 | public interface NoticeService { 6 | String getNotice();//获取公告 7 | void updateNotice(Notice notice);//修改公告 8 | } 9 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/util/DateConverter.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import org.springframework.core.convert.converter.Converter; 4 | 5 | import java.text.ParseException; 6 | import java.text.SimpleDateFormat; 7 | import java.util.Date; 8 | 9 | public class DateConverter implements Converter { 10 | @Override 11 | public Date convert(String s) { 12 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 13 | sdf.setLenient(false); 14 | try { 15 | return sdf.parse(s); 16 | } catch (ParseException e) { 17 | e.printStackTrace(); 18 | } 19 | return null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/util/JWTToken.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import org.apache.shiro.authc.AuthenticationToken; 4 | 5 | public class JWTToken implements AuthenticationToken { 6 | 7 | private String token; 8 | 9 | public JWTToken(String token) { 10 | this.token = token; 11 | } 12 | 13 | @Override 14 | public Object getPrincipal() { 15 | return token; 16 | } 17 | 18 | @Override 19 | public Object getCredentials() { 20 | return token; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/java/com/xinshuo/treehole/util/TestReadProperties.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.util.Properties; 6 | 7 | public class TestReadProperties { 8 | public static void main(String[] args) throws IOException { 9 | Properties properties = new Properties(); 10 | properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("test.properties")); 11 | String aaa = properties.getProperty("aaa"); 12 | System.out.println("aaa:"+aaa); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/resources/application-prod.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8080 3 | servlet: 4 | context-path: /treehole 5 | spring: 6 | 7 | jackson: 8 | date-format: yyyy-MM-dd HH:mm:ss 9 | time-zone: GMT+8 10 | redis: 11 | database: 0 12 | port: 6379 13 | host: localhost 14 | mybatis: 15 | type-aliases-package: com.xinshuo.treehole.entity 16 | mapper-locations: com.xinshuo.treehole.mapper/*Mapper.xml 17 | 18 | 19 | #指定数据库 20 | pagehelper: 21 | helper-dialect: mysql 22 | #是否启用分页合理化 23 | #启用:当pageNum<1时,会自动查询第一页的数据,当pageNum>pages时,自动查询最后一页数据 24 | #不启用:以上两种情况都返回空数据 25 | reasonable: true -------------------------------------------------------------------------------- /后端源码/treehole/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | file.uploadFolder=/root/treehole/upload 2 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: prod 4 | 5 | -------------------------------------------------------------------------------- /后端源码/treehole/src/main/resources/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.cj.jdbc.Driver 2 | jdbc.url=jdbc:mysql://localhost:3306/treehole?serverTimezone=Asia/Shanghai 3 | jdbc.username=root 4 | jdbc.password=88888888 -------------------------------------------------------------------------------- /后端源码/treehole/src/main/resources/test.properties: -------------------------------------------------------------------------------- 1 | aaa -------------------------------------------------------------------------------- /后端源码/treehole/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/application.properties: -------------------------------------------------------------------------------- 1 | file.uploadFolder=/root/treehole/upload 2 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: prod 4 | 5 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/TreeholeApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/TreeholeApplication.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/config/RedisDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/config/RedisDao.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/config/ShiroConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/config/ShiroConfig.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/config/UserRealm.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/config/UserRealm.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/config/WebMvcConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/config/WebMvcConfig.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/config/WebMvcConfig.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.config; 2 | 3 | import com.xinshuo.treehole.util.DateConverter; 4 | import org.springframework.format.FormatterRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | public class WebMvcConfig implements WebMvcConfigurer { 8 | @Override 9 | public void addFormatters(FormatterRegistry registry) { 10 | registry.addConverter(new DateConverter()); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/AdminController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/AdminController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/AnswerController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/AnswerController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/ComplainController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/ComplainController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/LookCountController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/LookCountController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/NoticeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/NoticeController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/QuestionController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/QuestionController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/RedisLikeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/RedisLikeController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/UserController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/controller/UserLikeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/controller/UserLikeController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Admin.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Admin.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Answer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Answer.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Complain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Complain.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/LookCount.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/LookCount.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Notice.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Notice.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Notice.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.entity; 2 | 3 | public class Notice { 4 | private String notice; 5 | 6 | public Notice(String notice) { 7 | this.notice = notice; 8 | } 9 | 10 | public Notice() { 11 | } 12 | 13 | public String getNotice() { 14 | return notice; 15 | } 16 | 17 | public void setNotice(String notice) { 18 | this.notice = notice; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Question.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/Question.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/User.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/entity/UserLike.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/entity/UserLike.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/filter/JWTFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/filter/JWTFilter.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AdminMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AdminMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AdminMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Admin; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Mapper 8 | @Repository 9 | public interface AdminMapper { 10 | Admin getAdminByUsernameAndPassword(Admin admin); 11 | } 12 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AdminMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | select * from t_admin where name = #{name} and password = #{password} 8 | 9 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AnswerMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AnswerMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/AnswerMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Answer; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | @Repository 11 | public interface AnswerMapper { 12 | Answer getAnswerByID(int id); 13 | List getAnswerByAnswerID(int aid); 14 | List getAnswerByQuestionID(int qid); 15 | List getAnswerByUID(int uid); 16 | List getAnswers(); 17 | void addAnswer(Answer answer); 18 | void updateAnswer(Answer answer); 19 | void deleteAnswer(int id); 20 | int getTotalOfAnswerForAnswer(int aid); 21 | } 22 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/ComplainMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/ComplainMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/ComplainMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Complain; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | @Repository 11 | public interface ComplainMapper { 12 | void addComplain(Complain complain); 13 | void updateComplain(Complain complain); 14 | void deleteComplain(int id); 15 | List getComplainsOfNoDeal(); 16 | Complain getComplainByID(int id); 17 | } 18 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/NoticeMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/NoticeMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/NoticeMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Notice; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Mapper 8 | @Repository 9 | public interface NoticeMapper { 10 | Notice getNotice();//获取公告 11 | void updateNotice(Notice notice);//修改公告 12 | } 13 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/NoticeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | select * from t_notice 10 | 11 | 12 | update t_notice set notice = #{notice} 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/QuestionMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/QuestionMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/UserLikeMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/UserLikeMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/UserMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/mapper/UserMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/AdminService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/AdminService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/AdminService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.xinshuo.treehole.entity.Admin; 4 | import com.xinshuo.treehole.entity.Complain; 5 | import org.springframework.stereotype.Service; 6 | 7 | public interface AdminService { 8 | int login(Admin admin); 9 | } 10 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/AnswerService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/AnswerService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/AnswerService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.xinshuo.treehole.entity.Answer; 5 | 6 | import java.util.List; 7 | 8 | public interface AnswerService { 9 | Answer getAnswerByID(int id); 10 | PageInfo getAnswerByAnswerID(int aid, int pageNum, int pageSize); 11 | PageInfo getAnswerByQuestionID(int qid,int pageNum, int pageSize); 12 | PageInfo getAnswerByUID(int uid,int pageNum, int pageSize); 13 | List getAnswers(int pageNum, int pageSize); 14 | void addAnswer(Answer answer); 15 | void updateAnswer(Answer answer); 16 | void deleteAnswer(int id); 17 | int getTotalOfAnswerForAnswer(int aid); 18 | } 19 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/ComplainService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/ComplainService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/ComplainService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.xinshuo.treehole.entity.Complain; 5 | 6 | import java.util.List; 7 | 8 | public interface ComplainService { 9 | public void addComplain(Complain complain); 10 | public void dealComplain(Complain complain, String isDeleteThing); 11 | public void deleteComplain(int id); 12 | public PageInfo getComplainsOfNoDeal(int pageNum, int pageSize); 13 | public Complain getComplainByID(int id); 14 | } 15 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/LookCountService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/LookCountService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/LookCountService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | public interface LookCountService { 4 | 5 | void addLookCountRecords();//往数据库存redis中的任务记录,定时任务 6 | Long getLookCountOfQestion(int qid);//获取某篇帖子的浏览数 7 | } 8 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/NoticeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/NoticeService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/NoticeService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.xinshuo.treehole.entity.Notice; 4 | 5 | public interface NoticeService { 6 | String getNotice();//获取公告 7 | void updateNotice(Notice notice);//修改公告 8 | } 9 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/QuestionService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/QuestionService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/RedisService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/RedisService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/UserLikeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/UserLikeService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/UserService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/AdminServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/AdminServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/AnswerServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/AnswerServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/ComplainServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/ComplainServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/LookCountServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/LookCountServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/NoticeServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/NoticeServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/QuestionServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/QuestionServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/RedisServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/RedisServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/UserLikeServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/UserLikeServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/service/impl/UserServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/shiro/MySessionManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/shiro/MySessionManager.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/Constant.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/Constant.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/DateConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/DateConverter.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/DateConverter.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import org.springframework.core.convert.converter.Converter; 4 | 5 | import java.text.ParseException; 6 | import java.text.SimpleDateFormat; 7 | import java.util.Date; 8 | 9 | public class DateConverter implements Converter { 10 | @Override 11 | public Date convert(String s) { 12 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 13 | sdf.setLenient(false); 14 | try { 15 | return sdf.parse(s); 16 | } catch (ParseException e) { 17 | e.printStackTrace(); 18 | } 19 | return null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/ExceptionController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/ExceptionController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/JWTToken.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/JWTToken.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/JWTToken.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import org.apache.shiro.authc.AuthenticationToken; 4 | 5 | public class JWTToken implements AuthenticationToken { 6 | 7 | private String token; 8 | 9 | public JWTToken(String token) { 10 | this.token = token; 11 | } 12 | 13 | @Override 14 | public Object getPrincipal() { 15 | return token; 16 | } 17 | 18 | @Override 19 | public Object getCredentials() { 20 | return token; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/JWTUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/JWTUtil.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/KeyWordFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/KeyWordFilter.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/RedisKeyUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/RedisKeyUtils.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/ResponseJSON.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/ResponseJSON.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/TestReadProperties.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/classes/com/xinshuo/treehole/util/TestReadProperties.class -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/com/xinshuo/treehole/util/TestReadProperties.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.util.Properties; 6 | 7 | public class TestReadProperties { 8 | public static void main(String[] args) throws IOException { 9 | Properties properties = new Properties(); 10 | properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("test.properties")); 11 | String aaa = properties.getProperty("aaa"); 12 | System.out.println("aaa:"+aaa); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.cj.jdbc.Driver 2 | jdbc.url=jdbc:mysql://localhost:3306/treehole?serverTimezone=Asia/Shanghai 3 | jdbc.username=root 4 | jdbc.password=88888888 -------------------------------------------------------------------------------- /后端源码/treehole/target/classes/test.properties: -------------------------------------------------------------------------------- 1 | aaa -------------------------------------------------------------------------------- /后端源码/treehole/target/maven-archiver/pom.properties: -------------------------------------------------------------------------------- 1 | artifactId=treehole 2 | groupId=com.xinshuo 3 | version=0.0.1-SNAPSHOT 4 | -------------------------------------------------------------------------------- /后端源码/treehole/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | com\xinshuo\treehole\TreeholeApplicationTests.class 2 | -------------------------------------------------------------------------------- /后端源码/treehole/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | E:\git\treehole\后端源码\treehole\src\test\java\com\xinshuo\treehole\TreeholeApplicationTests.java 2 | -------------------------------------------------------------------------------- /后端源码/treehole/target/surefire-reports/com.xinshuo.treehole.TreeholeApplicationTests.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | Test set: com.xinshuo.treehole.TreeholeApplicationTests 3 | ------------------------------------------------------------------------------- 4 | Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.294 s - in com.xinshuo.treehole.TreeholeApplicationTests 5 | -------------------------------------------------------------------------------- /后端源码/treehole/target/test-classes/com/xinshuo/treehole/TreeholeApplicationTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/test-classes/com/xinshuo/treehole/TreeholeApplicationTests.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole.war: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole.war -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole.war.original: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole.war.original -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/application.properties: -------------------------------------------------------------------------------- 1 | file.uploadFolder=/root/treehole/upload 2 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: prod 4 | 5 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/TreeholeApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/TreeholeApplication.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/RedisDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/RedisDao.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/ShiroConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/ShiroConfig.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/UserRealm.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/UserRealm.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/WebMvcConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/WebMvcConfig.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/config/WebMvcConfig.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.config; 2 | 3 | import com.xinshuo.treehole.util.DateConverter; 4 | import org.springframework.format.FormatterRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | public class WebMvcConfig implements WebMvcConfigurer { 8 | @Override 9 | public void addFormatters(FormatterRegistry registry) { 10 | registry.addConverter(new DateConverter()); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/AdminController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/AdminController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/AnswerController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/AnswerController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/ComplainController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/ComplainController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/LookCountController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/LookCountController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/NoticeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/NoticeController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/QuestionController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/QuestionController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/RedisLikeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/RedisLikeController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/UserController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/UserLikeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/controller/UserLikeController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Admin.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Admin.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Answer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Answer.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Complain.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Complain.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/LookCount.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/LookCount.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Notice.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Notice.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Notice.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.entity; 2 | 3 | public class Notice { 4 | private String notice; 5 | 6 | public Notice(String notice) { 7 | this.notice = notice; 8 | } 9 | 10 | public Notice() { 11 | } 12 | 13 | public String getNotice() { 14 | return notice; 15 | } 16 | 17 | public void setNotice(String notice) { 18 | this.notice = notice; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Question.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/Question.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/User.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/UserLike.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/entity/UserLike.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/filter/JWTFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/filter/JWTFilter.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/AdminMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/AdminMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/AdminMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Admin; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Mapper 8 | @Repository 9 | public interface AdminMapper { 10 | Admin getAdminByUsernameAndPassword(Admin admin); 11 | } 12 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/AdminMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | select * from t_admin where name = #{name} and password = #{password} 8 | 9 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/AnswerMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/AnswerMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/ComplainMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/ComplainMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/ComplainMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Complain; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | @Mapper 10 | @Repository 11 | public interface ComplainMapper { 12 | void addComplain(Complain complain); 13 | void updateComplain(Complain complain); 14 | void deleteComplain(int id); 15 | List getComplainsOfNoDeal(); 16 | Complain getComplainByID(int id); 17 | } 18 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/NoticeMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/NoticeMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/NoticeMapper.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.mapper; 2 | 3 | import com.xinshuo.treehole.entity.Notice; 4 | import org.apache.ibatis.annotations.Mapper; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Mapper 8 | @Repository 9 | public interface NoticeMapper { 10 | Notice getNotice();//获取公告 11 | void updateNotice(Notice notice);//修改公告 12 | } 13 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/NoticeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | select * from t_notice 10 | 11 | 12 | update t_notice set notice = #{notice} 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/QuestionMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/QuestionMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/UserLikeMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/UserLikeMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/UserMapper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/mapper/UserMapper.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/AdminService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/AdminService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/AdminService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.xinshuo.treehole.entity.Admin; 4 | import com.xinshuo.treehole.entity.Complain; 5 | import org.springframework.stereotype.Service; 6 | 7 | public interface AdminService { 8 | int login(Admin admin); 9 | } 10 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/AnswerService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/AnswerService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/ComplainService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/ComplainService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/ComplainService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.github.pagehelper.PageInfo; 4 | import com.xinshuo.treehole.entity.Complain; 5 | 6 | import java.util.List; 7 | 8 | public interface ComplainService { 9 | public void addComplain(Complain complain); 10 | public void dealComplain(Complain complain, String isDeleteThing); 11 | public void deleteComplain(int id); 12 | public PageInfo getComplainsOfNoDeal(int pageNum, int pageSize); 13 | public Complain getComplainByID(int id); 14 | } 15 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/LookCountService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/LookCountService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/LookCountService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | public interface LookCountService { 4 | 5 | void addLookCountRecords();//往数据库存redis中的任务记录,定时任务 6 | Long getLookCountOfQestion(int qid);//获取某篇帖子的浏览数 7 | } 8 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/NoticeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/NoticeService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/NoticeService.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.service; 2 | 3 | import com.xinshuo.treehole.entity.Notice; 4 | 5 | public interface NoticeService { 6 | String getNotice();//获取公告 7 | void updateNotice(Notice notice);//修改公告 8 | } 9 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/QuestionService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/QuestionService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/RedisService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/RedisService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/UserLikeService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/UserLikeService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/UserService.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/AdminServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/AdminServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/AnswerServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/AnswerServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/ComplainServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/ComplainServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/LookCountServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/LookCountServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/NoticeServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/NoticeServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/QuestionServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/QuestionServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/RedisServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/RedisServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/UserLikeServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/UserLikeServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/service/impl/UserServiceImpl.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/shiro/MySessionManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/shiro/MySessionManager.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/Constant.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/Constant.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/DateConverter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/DateConverter.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/DateConverter.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import org.springframework.core.convert.converter.Converter; 4 | 5 | import java.text.ParseException; 6 | import java.text.SimpleDateFormat; 7 | import java.util.Date; 8 | 9 | public class DateConverter implements Converter { 10 | @Override 11 | public Date convert(String s) { 12 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); 13 | sdf.setLenient(false); 14 | try { 15 | return sdf.parse(s); 16 | } catch (ParseException e) { 17 | e.printStackTrace(); 18 | } 19 | return null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/ExceptionController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/ExceptionController.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/JWTToken.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/JWTToken.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/JWTToken.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import org.apache.shiro.authc.AuthenticationToken; 4 | 5 | public class JWTToken implements AuthenticationToken { 6 | 7 | private String token; 8 | 9 | public JWTToken(String token) { 10 | this.token = token; 11 | } 12 | 13 | @Override 14 | public Object getPrincipal() { 15 | return token; 16 | } 17 | 18 | @Override 19 | public Object getCredentials() { 20 | return token; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/JWTUtil.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/JWTUtil.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/KeyWordFilter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/KeyWordFilter.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/RedisKeyUtils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/RedisKeyUtils.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/ResponseJSON.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/ResponseJSON.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/TestReadProperties.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/TestReadProperties.class -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/com/xinshuo/treehole/util/TestReadProperties.java: -------------------------------------------------------------------------------- 1 | package com.xinshuo.treehole.util; 2 | 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.util.Properties; 6 | 7 | public class TestReadProperties { 8 | public static void main(String[] args) throws IOException { 9 | Properties properties = new Properties(); 10 | properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("test.properties")); 11 | String aaa = properties.getProperty("aaa"); 12 | System.out.println("aaa:"+aaa); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/db.properties: -------------------------------------------------------------------------------- 1 | jdbc.driver=com.mysql.cj.jdbc.Driver 2 | jdbc.url=jdbc:mysql://localhost:3306/treehole?serverTimezone=Asia/Shanghai 3 | jdbc.username=root 4 | jdbc.password=88888888 -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/classes/test.properties: -------------------------------------------------------------------------------- 1 | aaa -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/HikariCP-3.4.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/HikariCP-3.4.5.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/bcprov-jdk15on-1.55.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/bcprov-jdk15on-1.55.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/commons-beanutils-1.9.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/commons-beanutils-1.9.4.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/commons-codec-1.15.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/commons-codec-1.15.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/commons-collections-3.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/commons-collections-3.2.2.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/commons-fileupload-1.3.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/commons-fileupload-1.3.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/commons-io-2.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/commons-io-2.4.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/encoder-1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/encoder-1.2.2.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/fastjson-1.2.58.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/fastjson-1.2.58.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jackson-annotations-2.11.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jackson-annotations-2.11.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jackson-core-2.11.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jackson-core-2.11.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jackson-databind-2.11.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jackson-databind-2.11.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jackson-datatype-jdk8-2.11.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jackson-datatype-jdk8-2.11.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jackson-datatype-jsr310-2.11.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jackson-datatype-jsr310-2.11.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jackson-module-parameter-names-2.11.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jackson-module-parameter-names-2.11.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jakarta.annotation-api-1.3.5.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/java-jwt-3.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/java-jwt-3.2.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jsqlparser-1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jsqlparser-1.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/jul-to-slf4j-1.7.30.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/jul-to-slf4j-1.7.30.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/lettuce-core-6.0.1.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/lettuce-core-6.0.1.RELEASE.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/log4j-api-2.13.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/log4j-api-2.13.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/log4j-to-slf4j-2.13.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/log4j-to-slf4j-2.13.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/logback-classic-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/logback-classic-1.2.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/logback-core-1.2.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/logback-core-1.2.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-3.5.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-3.5.2.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-spring-2.0.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-spring-2.0.2.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-spring-boot-autoconfigure-2.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-spring-boot-autoconfigure-2.1.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-spring-boot-starter-2.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/mybatis-spring-boot-starter-2.1.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/mysql-connector-java-8.0.22.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/mysql-connector-java-8.0.22.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/netty-buffer-4.1.54.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/netty-buffer-4.1.54.Final.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/netty-codec-4.1.54.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/netty-codec-4.1.54.Final.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/netty-common-4.1.54.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/netty-common-4.1.54.Final.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/netty-handler-4.1.54.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/netty-handler-4.1.54.Final.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/netty-resolver-4.1.54.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/netty-resolver-4.1.54.Final.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/netty-transport-4.1.54.Final.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/netty-transport-4.1.54.Final.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/pagehelper-5.1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/pagehelper-5.1.4.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/pagehelper-spring-boot-autoconfigure-1.2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/pagehelper-spring-boot-autoconfigure-1.2.5.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/pagehelper-spring-boot-starter-1.2.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/pagehelper-spring-boot-starter-1.2.5.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/reactive-streams-1.0.3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/reactive-streams-1.0.3.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/reactor-core-3.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/reactor-core-3.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-cache-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-cache-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-config-core-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-config-core-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-config-ogdl-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-config-ogdl-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-core-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-core-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-crypto-cipher-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-crypto-cipher-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-crypto-core-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-crypto-core-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-crypto-hash-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-crypto-hash-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-event-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-event-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-lang-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-lang-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-spring-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-spring-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/shiro-web-1.6.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/shiro-web-1.6.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/slf4j-api-1.7.30.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/slf4j-api-1.7.30.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/snakeyaml-1.27.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/snakeyaml-1.27.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-aop-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-aop-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-beans-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-beans-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-autoconfigure-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-autoconfigure-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-data-redis-2.1.5.RELEASE.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-data-redis-2.1.5.RELEASE.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-jdbc-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-jdbc-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-json-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-json-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-logging-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-logging-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-web-2.4.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-boot-starter-web-2.4.0.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-context-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-context-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-context-support-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-context-support-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-core-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-core-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-data-commons-2.4.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-data-commons-2.4.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-data-keyvalue-2.4.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-data-keyvalue-2.4.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-data-redis-2.4.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-data-redis-2.4.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-expression-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-expression-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-jcl-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-jcl-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-jdbc-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-jdbc-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-oxm-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-oxm-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-tx-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-tx-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-web-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-web-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/lib/spring-webmvc-5.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/后端源码/treehole/target/treehole/WEB-INF/lib/spring-webmvc-5.3.1.jar -------------------------------------------------------------------------------- /后端源码/treehole/target/treehole/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /后端源码/treehole_new/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /后端源码/treehole_new/.idea/dataSources.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | mysql.8 6 | true 7 | com.mysql.cj.jdbc.Driver 8 | jdbc:mysql://localhost:3306/treehole?serverTimezone=Asia/Shanghai 9 | 10 | 11 | -------------------------------------------------------------------------------- /后端源码/treehole_new/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole_new/.idea/saveactions_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /后端源码/treehole_new/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /后端源码/treehole_new/answer/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | treehole_new 7 | com.xinshuo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | answer 13 | 14 | 15 | -------------------------------------------------------------------------------- /后端源码/treehole_new/background/background.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /后端源码/treehole_new/background/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | treehole_new 7 | com.xinshuo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | background 13 | 14 | 15 | -------------------------------------------------------------------------------- /后端源码/treehole_new/common/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | treehole_new 7 | com.xinshuo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | common 13 | 14 | 15 | -------------------------------------------------------------------------------- /后端源码/treehole_new/common/src/main/java/com/treehole/mapper/base/BaseMapper.java: -------------------------------------------------------------------------------- 1 | package com.treehole.mapper.base; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * 通用mapper接口,封装一般的增删改查 7 | */ 8 | public interface BaseMapper { 9 | int insert(T model); 10 | 11 | int update(T model); 12 | 13 | int delete(T model); 14 | 15 | T getByID(Integer id); 16 | 17 | List getAll(); 18 | 19 | List search(T model);//做查询,非空都将作为查询条件 20 | } 21 | -------------------------------------------------------------------------------- /后端源码/treehole_new/common/src/main/resources/com.treehole.mapper.base.BaseMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /后端源码/treehole_new/complain/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | treehole_new 7 | com.xinshuo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | complain 13 | 14 | 15 | -------------------------------------------------------------------------------- /后端源码/treehole_new/like/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | treehole_new 7 | com.xinshuo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | like 13 | 14 | 15 | -------------------------------------------------------------------------------- /后端源码/treehole_new/question/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | treehole_new 7 | com.xinshuo 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | question 13 | 14 | 15 | -------------------------------------------------------------------------------- /后端源码/treehole_new/treehole_new.iml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /相关资料/接口参数规定.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/相关资料/接口参数规定.docx -------------------------------------------------------------------------------- /相关资料/接口文档.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shenxinshuo/treehole/73f226ff2bc4ba198f1f0da0baf6ae0854acb81f/相关资料/接口文档.docx --------------------------------------------------------------------------------