├── .gitignore ├── springboot-alibaba-yuezhi ├── .idea │ ├── .gitignore │ ├── vcs.xml │ ├── libraries │ │ ├── Maven__org_yaml_snakeyaml_1_26.xml │ │ ├── Maven__io_reactivex_rxjava_1_3_8.xml │ │ ├── Maven__commons_io_commons_io_2_2.xml │ │ ├── Maven__io_reactivex_rxnetty_0_4_9.xml │ │ ├── Maven__com_alibaba_fastjson_1_2_71.xml │ │ ├── Maven__javax_inject_javax_inject_1.xml │ │ ├── Maven__net_sf_ezmorph_ezmorph_1_0_6.xml │ │ ├── Maven__net_sf_json_lib_json_lib_2_4.xml │ │ ├── Maven__org_aspectj_aspectjrt_1_9_6.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ │ ├── Maven__com_google_code_gson_gson_2_8_6.xml │ │ ├── Maven__com_fasterxml_classmate_1_5_1.xml │ │ ├── Maven__javax_servlet_servlet_api_2_5.xml │ │ ├── Maven__javax_ws_rs_jsr311_api_1_1_1.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_2_3_0.xml │ │ ├── Maven__commons_lang_commons_lang_2_5.xml │ │ ├── Maven__commons_lang_commons_lang_2_6.xml │ │ ├── Maven__com_google_guava_guava_29_0_jre.xml │ │ ├── Maven__org_glassfish_jakarta_el_3_0_3.xml │ │ ├── Maven__org_projectlombok_lombok_1_18_12.xml │ │ ├── Maven__org_projectlombok_lombok_1_18_16.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ │ ├── Maven__com_alibaba_nacos_nacos_api_1_4_1.xml │ │ ├── Maven__com_sun_mail_jakarta_mail_1_6_5.xml │ │ ├── Maven__commons_codec_commons_codec_1_14.xml │ │ ├── Maven__io_prometheus_simpleclient_0_5_0.xml │ │ ├── Maven__org_aspectj_aspectjweaver_1_9_6.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ │ ├── Maven__com_sun_jersey_jersey_core_1_19_1.xml │ │ ├── Maven__io_reactivex_rxnetty_servo_0_4_9.xml │ │ ├── Maven__com_google_code_findbugs_jsr305_3_0_2.xml │ │ ├── Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml │ │ ├── Maven__org_latencyutils_LatencyUtils_2_0_3.xml │ │ ├── Maven__com_alibaba_csp_sentinel_core_1_8_0.xml │ │ ├── Maven__com_alibaba_nacos_nacos_client_1_4_1.xml │ │ ├── Maven__com_alibaba_nacos_nacos_common_1_4_1.xml │ │ ├── Maven__com_netflix_ribbon_ribbon_core_2_3_0.xml │ │ ├── Maven__com_netflix_servo_servo_core_0_12_21.xml │ │ ├── Maven__com_sun_jersey_jersey_client_1_19_1.xml │ │ ├── Maven__com_google_guava_failureaccess_1_0_1.xml │ │ ├── Maven__io_micrometer_micrometer_core_1_5_3.xml │ │ ├── Maven__io_netty_netty_codec_4_1_51_Final.xml │ │ ├── Maven__org_apache_commons_commons_lang3_3_10.xml │ │ ├── Maven__org_bouncycastle_bcpkix_jdk15on_1_64.xml │ │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_64.xml │ │ ├── Maven__org_hdrhistogram_HdrHistogram_2_1_12.xml │ │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ │ ├── Maven__io_github_openfeign_feign_core_10_10_1.xml │ │ ├── Maven__io_netty_netty_buffer_4_1_51_Final.xml │ │ ├── Maven__io_netty_netty_common_4_1_51_Final.xml │ │ ├── Maven__io_reactivex_rxnetty_contexts_0_4_9.xml │ │ ├── Maven__commons_logging_commons_logging_1_1_1.xml │ │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_13.xml │ │ ├── Maven__com_netflix_hystrix_hystrix_core_1_5_18.xml │ │ ├── Maven__io_github_openfeign_feign_slf4j_10_10_1.xml │ │ ├── Maven__io_github_openfeign_form_feign_form_3_8_0.xml │ │ ├── Maven__io_netty_netty_handler_4_1_51_Final.xml │ │ ├── Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml │ │ ├── Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml │ │ ├── Maven__com_netflix_archaius_archaius_core_0_7_6.xml │ │ ├── Maven__org_checkerframework_checker_qual_2_11_1.xml │ │ ├── Maven__io_netty_netty_resolver_4_1_51_Final.xml │ │ └── Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml │ └── artifacts │ │ ├── yuezhi_api_manager_war.xml │ │ └── yuezhi_service_business_war.xml ├── .DS_Store ├── doc │ ├── file │ │ ├── img │ │ │ └── 640 │ │ └── 编程规约.md │ └── yml config file │ │ └── local_yml.zip ├── yuezhi-service │ └── yuezhi-service-business │ │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── ruiyun │ │ │ ├── service │ │ │ └── IDiscoveryService.java │ │ │ └── ServiceBusinessApplication.java │ │ └── Dockerfile ├── yuezhi-basic │ ├── yuezhi-basic-gateway │ │ ├── Dockerfile │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── ruiyun │ │ │ │ └── GateWayApplication.java │ │ │ └── resources │ │ │ └── bootstrap.yml │ └── yuezhi-basic-monitor │ │ ├── Dockerfile │ │ └── src │ │ └── main │ │ ├── resources │ │ └── bootstrap.yml │ │ └── java │ │ └── com │ │ └── ruiyun │ │ └── AdminServerApplication.java ├── yuezhi-core │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── ruiyun │ │ └── yuezhi │ │ └── core │ │ └── util │ │ └── Dialect.java ├── yuezhi-api │ └── yuezhi-api-manager │ │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── ruiyun │ │ │ └── feign │ │ │ ├── FeignConfiguration.java │ │ │ └── ServiceFallback.java │ │ └── Dockerfile └── yuezhi-view │ └── pom.xml ├── sql └── REMIAN.md ├── springboot-kafka-demo ├── .gradle │ ├── 6.8 │ │ ├── gc.properties │ │ ├── fileChanges │ │ │ └── last-build.bin │ │ ├── fileHashes │ │ │ ├── fileHashes.bin │ │ │ └── fileHashes.lock │ │ └── executionHistory │ │ │ ├── executionHistory.bin │ │ │ └── executionHistory.lock │ ├── vcs-1 │ │ └── gc.properties │ ├── configuration-cache │ │ └── gc.properties │ ├── buildOutputCleanup │ │ ├── cache.properties │ │ ├── outputFiles.bin │ │ └── buildOutputCleanup.lock │ └── checksums │ │ ├── checksums.lock │ │ ├── md5-checksums.bin │ │ └── sha1-checksums.bin ├── .idea │ ├── .gitignore │ ├── compiler.xml │ ├── vcs.xml │ ├── misc.xml │ └── gradle.xml ├── settings.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties └── build.gradle ├── springboot_poi_demo_v3 ├── README.md └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_poi_demo_v3 │ │ └── SpringbootPoiDemoV3Application.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_poi_demo_v3 │ └── SpringbootPoiDemoV3ApplicationTests.java ├── springboot-miaosha-incr-demo ├── data ├── 秒杀流程图.jpg ├── cmd.sh └── src │ └── main │ └── java │ └── com │ └── example │ └── miaoshademo │ └── dao │ ├── CodeantProductLogDao.java │ └── CodeantProductDao.java ├── springboot_jjwt_demo └── src │ ├── main │ ├── resources │ │ ├── application.yml │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_jjwt_demo │ │ └── SpringbootJjwtDemoApplication.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_jjwt_demo │ └── SpringbootJjwtDemoApplicationTests.java ├── .idea ├── .gitignore ├── vcs.xml ├── modules.xml └── springboot.iml ├── springboot- example-https ├── .idea │ ├── .name │ ├── .gitignore │ ├── encodings.xml │ ├── modules.xml │ ├── misc.xml │ └── libraries │ │ ├── Maven__org_ow2_asm_asm_9_1.xml │ │ ├── Maven__org_yaml_snakeyaml_1_28.xml │ │ ├── Maven__org_hamcrest_hamcrest_2_2.xml │ │ ├── Maven__org_objenesis_objenesis_3_2.xml │ │ ├── Maven__org_slf4j_slf4j_api_1_7_32.xml │ │ ├── Maven__net_minidev_json_smart_2_4_7.xml │ │ ├── Maven__org_mockito_mockito_core_3_9_0.xml │ │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_32.xml │ │ ├── Maven__org_xmlunit_xmlunit_core_2_8_3.xml │ │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ │ ├── Maven__net_bytebuddy_byte_buddy_1_10_22.xml │ │ ├── Maven__org_assertj_assertj_core_3_19_0.xml │ │ ├── Maven__ch_qos_logback_logback_core_1_2_6.xml │ │ ├── Maven__com_jayway_jsonpath_json_path_2_5_0.xml │ │ └── Maven__net_minidev_accessors_smart_2_4_7.xml ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── example │ │ └── springbootexamplehttps │ │ ├── controller │ │ └── HelloController.java │ │ └── SpringbootExampleHttpsApplication.java └── .DS_Store ├── springboot-sync-demo ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── example │ │ └── codeant │ │ └── springbootsyncdemo │ │ ├── entity │ │ └── User.java │ │ ├── SpringbootSyncDemoApplication.java │ │ └── async │ │ └── Controller.java └── HELP.md ├── springboot_cache_guava_demo └── src │ ├── main │ └── resources │ │ └── application.yml │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_cache_guava_demo │ └── SpringbootCacheGuavaDemoApplicationTests.java ├── springboot_modle_demo ├── src │ ├── main │ │ ├── resources │ │ │ ├── application.properties │ │ │ └── templates │ │ │ │ └── insert1.html │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_modle_demo │ │ │ └── SpringbootModleDemoApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_modle_demo │ │ └── SpringbootModleDemoApplicationTests.java └── README.md ├── springboot_crawler_demo ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_crawler_demo │ │ │ └── SpringbootCrawlerDemoApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_crawler_demo │ │ └── SpringbootCrawlerDemoApplicationTests.java ├── .DS_Store └── img │ ├── 0.jpg │ ├── 00.jpg │ └── 1.jpg ├── springboot_docker_demo ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_docker_demo │ │ │ ├── SpringbootDockerDemoApplication.java │ │ │ └── HelloController.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_docker_demo │ │ └── SpringbootDockerDemoApplicationTests.java └── .idea │ ├── vcs.xml │ ├── .gitignore │ ├── encodings.xml │ └── misc.xml ├── springboot_mybatis_demo └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_mybatis_demo │ │ └── service │ │ └── IUserService.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_mybatis_demo │ └── SpringbootMybatisDemoApplicationTests.java ├── springboot_poi_demo_v2 ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_poi_demo_v2 │ │ │ ├── Application.java │ │ │ ├── service │ │ │ └── IDogService.java │ │ │ └── controller │ │ │ └── importExcel │ │ │ └── MapExcelImportController.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_poi_demo_v2 │ │ └── SpringbootPoiDemoV2ApplicationTests.java └── README.md ├── springboot_shiro_jwt_demo └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_shiro_jwt_demo │ │ ├── exception │ │ └── UnauthorizedException.java │ │ ├── SpringbootShiroJwtDemoApplication.java │ │ └── shiro │ │ └── JWTToken.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_shiro_jwt_demo │ └── SpringbootShiroJwtDemoApplicationTests.java ├── springboot_swagger_demo └── src │ ├── main │ ├── resources │ │ ├── application.properties │ │ └── application.yml │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_swagger_demo │ │ └── SpringbootSwaggerDemoApplication.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_swagger_demo │ └── SpringbootSwaggerDemoApplicationTests.java ├── springboot_websocket_demo ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_websocket_demo │ │ │ ├── entity │ │ │ ├── Greeting.java │ │ │ └── HelloMessage.java │ │ │ └── SpringbootWebsocketDemoApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_websocket_demo │ │ └── SpringbootWebsocketDemoApplicationTests.java └── 效果图.png ├── springboot_mybatis_shiro_demo └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_mybatis_shiro_demo │ │ ├── service │ │ └── IUserService.java │ │ └── redis │ │ └── MybatisRedisCacheTransfer.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_mybatis_shiro_demo │ └── SpringbootMybatisShiroDemoApplicationTests.java ├── springboot_rabbitmq_client_demo ├── src │ ├── main │ │ ├── resources │ │ │ └── application.properties │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_rabbitmq_client_demo │ │ │ └── SpringbootRabbitmqClientDemoApplication.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_rabbitmq_client_demo │ │ └── SpringbootRabbitmqClientDemoApplicationTests.java ├── .DS_Store └── assets │ ├── image-20190107103229408-6828349.png │ ├── image-20190107103258291-6828378.png │ ├── image-20190107103358744-6828438.png │ ├── image-20190107103429430-6828469.png │ ├── image-20190107103451240-6828491.png │ └── image-20190107103509943-6828509.png ├── springboot-hibernate-validation-demo └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── springboothibernatevalidationdemo │ │ ├── dto │ │ └── StudentDto.java │ │ └── SpringbootHibernateValidationDemoApplication.java │ └── test │ └── java │ └── com │ └── example │ └── springboothibernatevalidationdemo │ └── SpringbootHibernateValidationDemoApplicationTests.java ├── springboot_filter_interceptor_demo └── src │ ├── main │ ├── resources │ │ ├── application.properties │ │ ├── application.yml │ │ └── templates │ │ │ ├── errorpage │ │ │ └── error.html │ │ │ └── index.html │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_filter_interceptor_demo │ │ └── SpringbootFilterInterceptorDemoApplication.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_filter_interceptor_demo │ └── SpringbootFilterInterceptorDemoApplicationTests.java ├── springboot_websocket_simplechat_demo └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_websocket_simplechat_demo │ │ └── entity │ │ ├── Greeting.java │ │ └── HelloMessage.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_websocket_simplechat_demo │ └── SpringbootWebsocketSimplechatDemoApplicationTests.java ├── vxzf.png ├── wechat.gif ├── wechat.png ├── springboot-bean-life-demo ├── src │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── example │ │ └── springbootbeanlifedemo │ │ └── SpringbootBeanLifeDemoApplication.java ├── IOC.png ├── bean创建流程.png ├── bean销毁流程.png └── .idea │ ├── vcs.xml │ ├── .gitignore │ ├── encodings.xml │ └── misc.xml ├── springbt_security_jwt └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── cn │ │ └── codesheep │ │ └── springbt_security_jwt │ │ ├── service │ │ └── AuthService.java │ │ ├── comm │ │ └── Const.java │ │ └── SpringbtSecurityJwtApplication.java │ └── test │ └── java │ └── cn │ └── codesheep │ └── springbt_security_jwt │ └── SpringbtSecurityJwtApplicationTests.java ├── crawlerbyhttp2 ├── 说明.txt ├── QQ截图20191129171152.png ├── jdk9采用http2发送请求的demo.7z └── src │ ├── main │ └── java │ │ └── module-info.java │ └── README.md ├── springboot-es-demo └── src │ ├── main │ ├── resources │ │ └── application.yml │ └── java │ │ └── com │ │ └── example │ │ └── springbootesdemo │ │ └── SpringbootEsDemoApplication.java │ └── test │ └── java │ └── com │ └── example │ └── springbootesdemo │ └── SpringbootEsDemoApplicationTests.java ├── springboot_dubbo ├── springboot_dubbo_1_userservice_provider_demo │ ├── src │ │ ├── main │ │ │ └── resources │ │ │ │ └── application.properties │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_dubbo_1_userservice_provider_demo │ │ │ └── SpringbootDubbo1UserserviceProviderDemoApplicationTests.java │ ├── .mvn │ │ └── wrapper │ │ │ ├── maven-wrapper.properties │ │ │ └── maven-wrapper.jar │ └── .gitignore ├── .DS_Store ├── .idea │ ├── compiler.xml │ ├── vcs.xml │ ├── encodings.xml │ ├── modules.xml │ └── springboot_dubbo.iml ├── springboot_dubbo_2_orderservice_consumer_demo │ ├── .mvn │ │ └── wrapper │ │ │ ├── maven-wrapper.properties │ │ │ └── maven-wrapper.jar │ ├── .gitignore │ └── src │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_dubbo_2_orderservice_consumer_demo │ │ └── SpringbootDubbo2OrderserviceConsumerDemoApplicationTests.java └── springboot_dubbo_0_interface_demo │ ├── .idea │ ├── encodings.xml │ └── compiler.xml │ ├── src │ └── main │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_dubbo_0_interface_demo │ │ └── service │ │ ├── OrderService.java │ │ └── UserService.java │ └── pom.xml ├── voice └── jacob-1.18-x64.dll ├── springbt_sso_jwt ├── .DS_Store ├── codeant-server │ └── src │ │ └── main │ │ ├── resources │ │ └── application.yml │ │ └── java │ │ └── cn │ │ └── codeant │ │ └── ServerApplication.java ├── codeant-client1 │ └── src │ │ └── main │ │ ├── java │ │ └── cn │ │ │ └── codeant │ │ │ └── Client1Application.java │ │ └── resources │ │ └── application.yml ├── codeant-client2 │ └── src │ │ └── main │ │ └── java │ │ └── cn │ │ └── codeant │ │ └── Client2Application.java └── springbt_sso_jwt.iml ├── springboot-diy-starter-demo ├── 注解方式 │ └── springboot-codeant-start-demo │ │ ├── my-starter-demo │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── META-INF │ │ │ └── spring.factories │ │ └── springboot-test-starter-demo │ │ └── src │ │ └── main │ │ └── resources │ │ └── application.yml ├── .DS_Store ├── img │ ├── image-20210512111734551.png │ ├── image-20210512113741124.png │ ├── image-20210512113803071.png │ ├── image-20210512113806279.png │ ├── image-20210512114113367.png │ └── image-20210512114356355.png └── 自动配置方式 │ └── springboot-codeant-start-demo │ ├── springboot-test-starter-demo │ └── src │ │ └── main │ │ └── resources │ │ └── application.yml │ └── my-starter-demo │ └── src │ └── main │ └── resources │ └── META-INF │ └── spring.factories ├── springboot-package-optimize-demo ├── package-optimize-level1 │ ├── package-optimize-app2 │ │ └── src │ │ │ └── main │ │ │ ├── resources │ │ │ └── application.properties │ │ │ └── java │ │ │ └── com │ │ │ └── entdiy │ │ │ └── example │ │ │ └── demo │ │ │ └── DemoApplication.java │ ├── package-optimize-app1 │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ └── package-optimize-app3 │ │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── entdiy │ │ └── example │ │ └── demo │ │ └── DemoApplication.java ├── package-optimize-level0 │ ├── package-optimize-app1 │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── package-optimize-app2 │ │ └── src │ │ │ └── main │ │ │ ├── resources │ │ │ └── application.properties │ │ │ └── java │ │ │ └── com │ │ │ └── entdiy │ │ │ └── example │ │ │ └── demo │ │ │ └── DemoApplication.java │ └── package-optimize-app3 │ │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── entdiy │ │ └── example │ │ └── demo │ │ └── DemoApplication.java ├── package-optimize-level2 │ ├── package-optimize-app1 │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── package-optimize-app2 │ │ └── src │ │ │ └── main │ │ │ ├── resources │ │ │ └── application.properties │ │ │ └── java │ │ │ └── com │ │ │ └── entdiy │ │ │ └── example │ │ │ └── demo │ │ │ └── DemoApplication.java │ └── package-optimize-app3 │ │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── entdiy │ │ └── example │ │ └── demo │ │ └── DemoApplication.java ├── package-optimize-level3 │ ├── package-optimize-app1 │ │ └── src │ │ │ └── main │ │ │ └── resources │ │ │ └── application.properties │ ├── package-optimize-app2 │ │ └── src │ │ │ └── main │ │ │ ├── resources │ │ │ └── application.properties │ │ │ └── java │ │ │ └── com │ │ │ └── entdiy │ │ │ └── example │ │ │ └── demo │ │ │ └── DemoApplication.java │ └── package-optimize-app3 │ │ └── src │ │ └── main │ │ ├── resources │ │ └── application.properties │ │ └── java │ │ └── com │ │ └── entdiy │ │ └── example │ │ └── demo │ │ └── DemoApplication.java └── .DS_Store ├── springboot-pay-demo └── src │ └── main │ ├── resources │ └── application.yml │ └── java │ └── com │ └── example │ └── springbootpaydemo │ └── SpringbootPayDemoApplication.java ├── performance2tomcat_demo ├── img │ └── img.png ├── src │ ├── main │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── performance2tomcat_demo │ │ │ │ ├── service │ │ │ │ └── impl │ │ │ │ │ └── TomcatPerformanceImpl.java │ │ │ │ └── Performance2tomcatDemoApplication.java │ │ └── resources │ │ │ └── application.yml │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── performance2tomcat_demo │ │ └── Performance2tomcatDemoApplicationTests.java └── Dockerfile ├── springboot_rabbitmq_demo ├── .DS_Store ├── README.md ├── rabbitmq-demo(延时队列) │ ├── 延时重试 │ │ ├── img │ │ │ ├── 延时重试.png │ │ │ └── 延时重试实际流程图.png │ │ ├── springboot-rabbitmq-delay-message │ │ │ └── src │ │ │ │ └── main │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── codeant │ │ │ │ │ └── spring_boot │ │ │ │ │ └── rabbitmq │ │ │ │ │ └── delay │ │ │ │ │ └── queue │ │ │ │ │ └── Application.java │ │ │ │ └── resources │ │ │ │ └── application.yml │ │ └── springboot-rabbitmq-delay-queue │ │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── codeant │ │ │ │ └── spring_boot │ │ │ │ └── rabbitmq │ │ │ │ └── delay │ │ │ │ └── queue │ │ │ │ └── Application.java │ │ │ └── resources │ │ │ └── application.yml │ └── 延时消费 │ │ ├── img │ │ ├── 1延时消费.png │ │ └── 2延时消费实际流程图.png │ │ ├── springboot-rabbitmq-delay-queue │ │ └── src │ │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── codeant │ │ │ │ └── spring_boot │ │ │ │ └── rabbitmq │ │ │ │ └── delay │ │ │ │ └── queue │ │ │ │ └── Application.java │ │ │ └── resources │ │ │ └── application.yml │ │ └── springboot-rabbitmq-delay-message │ │ └── src │ │ └── main │ │ ├── resources │ │ └── application.yml │ │ └── java │ │ └── com │ │ └── codeant │ │ └── spring_boot │ │ └── rabbitmq │ │ └── delay │ │ └── queue │ │ └── Application.java └── rabbitmq-demo(单播、广播) │ ├── img │ ├── fanout - 1.png │ ├── fanout - 2.png │ ├── fanout - 3.png │ ├── fanout - 4.png │ ├── bind - fanout.png │ ├── create-queue.png │ ├── sendMsgD - 1.png │ ├── sendMsgD - 2.png │ ├── binds - direct.png │ └── create-exchanges.png │ ├── provider-demo │ └── src │ │ ├── main │ │ ├── resources │ │ │ └── application.yml │ │ └── java │ │ │ └── com │ │ │ └── provider │ │ │ └── providerdemo │ │ │ └── config │ │ │ └── MyAMQPConfig.java │ │ └── test │ │ └── java │ │ └── com │ │ └── provider │ │ └── providerdemo │ │ └── ProviderDemoApplicationTests.java │ └── consumer-demo │ └── src │ ├── main │ ├── resources │ │ └── application.yml │ └── java │ │ └── com │ │ └── consumer │ │ └── consumerdemo │ │ └── config │ │ └── MyAMQPConfig.java │ └── test │ └── java │ └── com │ └── consumer │ └── consumerdemo │ └── ConsumerDemoApplicationTests.java ├── springboot_idempotence_demo ├── .DS_Store ├── README.md ├── img │ └── image-20210111145616963.png └── src │ └── main │ ├── resources │ └── application.yml │ └── java │ └── com │ └── example │ └── springboot_idempotence_demo │ └── Application.java ├── springboot_poi_excel-operate-demo ├── src │ └── main │ │ ├── resources │ │ ├── application.yml │ │ └── static │ │ │ ├── xls │ │ │ ├── 学生信息汇总表.xls │ │ │ └── 导入学生信息汇总表.xls │ │ │ └── upload.html │ │ └── java │ │ └── com │ │ └── example │ │ └── exceloperatedemo │ │ └── ExcelOperateDemoApplication.java ├── image-20200612094704997.png ├── image-20200612095157230.png ├── image-20200612110823803.png ├── image-20200612111220292.png └── image-20200612112222420.png ├── springboot-jiezhang-setnx-demo ├── .DS_Store ├── README │ ├── image-20200807081912043.png │ ├── image-20200807081956092.png │ └── image-20200807084026899.png └── src │ └── main │ ├── java │ └── com │ │ └── example │ │ └── miaoshademo │ │ ├── lock │ │ └── anno │ │ │ └── SyncAnnotation.java │ │ └── SpringbootRedisDemoApplication.java │ └── resources │ └── application.yml ├── springboot_neo4j_example-master ├── .DS_Store ├── img │ └── sdn.png └── src │ └── main │ ├── resources │ └── application.properties │ └── java │ └── org │ └── neo4jdemo │ ├── service │ └── MovieService.java │ ├── Neo4jDemoApplication.java │ ├── repository │ └── MovieRepository.java │ └── model │ └── result │ └── PersonMovie.java ├── springboot_poi_demo ├── src │ ├── main │ │ ├── resources │ │ │ └── static │ │ │ │ ├── user1-128x128.jpg │ │ │ │ └── index.html │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_poi_demo │ │ │ └── Application.java │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_poi_demo │ │ └── SpringbootPoiDemoApplicationTests.java └── README.md ├── spring-boot-demo-task ├── src │ └── main │ │ ├── resources │ │ └── application.yml │ │ └── java │ │ └── com │ │ └── cqut │ │ └── task │ │ └── SpringBootDemoTaskApplication.java └── README.md ├── springboot_justauth_demo └── src │ ├── main │ └── resources │ │ ├── application.properties │ │ └── logback-spring.xml │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_justauth_demo │ └── SpringbootJustauthDemoApplicationTests.java ├── springboot_junit_demo ├── src │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── li │ │ │ └── springboot_junit_demo │ │ │ ├── service │ │ │ └── Impl │ │ │ │ └── UserServiceImplTest.java │ │ │ └── SpringbootJunitDemoApplicationTests.java │ └── main │ │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_junit_demo │ │ ├── service │ │ └── IUserService.java │ │ └── SpringbootJunitDemoApplication.java └── README.md ├── springboot_fastdfs_demo └── src │ ├── main │ ├── resources │ │ ├── application.yml │ │ ├── fdfs_client.conf │ │ └── templates │ │ │ └── fileupload.html │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_fastdfs_demo │ │ ├── SpringbootFastdfsDemoApplication.java │ │ └── controller │ │ └── PageController.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_fastdfs_demo │ └── SpringbootFastdfsDemoApplicationTests.java ├── springboot-multi-datasource-demo └── src │ └── main │ ├── java │ └── com │ │ └── codeant │ │ └── ocean │ │ ├── NoWarnMapper.java │ │ └── mapper │ │ ├── ocean │ │ └── TotalMapper.java │ │ ├── account │ │ └── UserMapper.java │ │ └── iceberg │ │ └── ItemOrderMapper.java │ └── resources │ └── mapper │ ├── ocean │ └── ocean.xml │ ├── account │ └── account.xml │ └── iceberg │ └── item_order.xml ├── springboot_mail_demo └── src │ ├── main │ ├── resources │ │ └── application.properties │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_mail_demo │ │ ├── Application.java │ │ └── service │ │ └── MailService.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_mail_demo │ └── SpringbootMailDemoApplicationTests.java ├── springboot-redis-demo └── src │ ├── test │ └── java │ │ └── com │ │ └── example │ │ └── springbootredisdemo │ │ └── SpringbootRedisDemoApplicationTests.java │ └── main │ └── java │ └── com │ └── example │ └── springbootredisdemo │ └── SpringbootRedisDemoApplication.java ├── springboot-git-commit-id-demo └── src │ └── test │ └── java │ └── com │ └── example │ └── springbootgitcommitiddemo │ └── SpringbootGitCommitIdDemoApplicationTests.java ├── springboot_logging_demo └── src │ ├── main │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_logging_demo │ │ └── SpringbootLoggingDemoApplication.java │ └── test │ └── java │ └── com │ └── example │ └── li │ └── springboot_logging_demo │ └── SpringbootLoggingDemoApplicationTests.java ├── springboot_cache_caffeine_demo └── src │ ├── test │ └── java │ │ └── com │ │ └── example │ │ └── li │ │ └── springboot_cache_caffeine_demo │ │ └── SpringbootCacheCaffeineDemoApplicationTests.java │ └── main │ └── resources │ └── application.yml └── springboot_cache_redis_demo └── src └── main └── resources └── application.yml /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/.gitignore 2 | 3 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sql/REMIAN.md: -------------------------------------------------------------------------------- 1 | # 说明 2 | 3 | 改数据库是所有例子使用的数据库 -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/6.8/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot_poi_demo_v3/README.md: -------------------------------------------------------------------------------- 1 | easypoi模板导出--未完成 -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/vcs-1/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot-miaosha-incr-demo/data: -------------------------------------------------------------------------------- 1 | key=1&num=1 2 | -------------------------------------------------------------------------------- /springboot_jjwt_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # 默认忽略的文件 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/.name: -------------------------------------------------------------------------------- 1 | springboot-example-https -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/6.8/fileChanges/last-build.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/configuration-cache/gc.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot-sync-demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_cache_guava_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_jjwt_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_modle_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_crawler_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_docker_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_mybatis_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_poi_demo_v2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_poi_demo_v3/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_shiro_jwt_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_swagger_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_websocket_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_mybatis_shiro_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_poi_demo_v2/README.md: -------------------------------------------------------------------------------- 1 | 本例子实现了excel的简单导出入、excel的不定对象导出入、excel大数据量的导出入 -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-hibernate-validation-demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # 默认忽略的文件 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /springboot_filter_interceptor_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot_websocket_simplechat_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vxzf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/vxzf.png -------------------------------------------------------------------------------- /wechat.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/wechat.gif -------------------------------------------------------------------------------- /wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/wechat.png -------------------------------------------------------------------------------- /springboot-bean-life-demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8080 2 | -------------------------------------------------------------------------------- /springbt_security_jwt/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9991 2 | -------------------------------------------------------------------------------- /springboot-kafka-demo/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'springboot-kafka-demo' 2 | 3 | -------------------------------------------------------------------------------- /springboot_modle_demo/README.md: -------------------------------------------------------------------------------- 1 | **Model、ModelMap、ModelAndView的简单用法** 2 | **Ajax局部刷新** 3 | 4 | -------------------------------------------------------------------------------- /crawlerbyhttp2/说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/crawlerbyhttp2/说明.txt -------------------------------------------------------------------------------- /springboot-es-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | elasticsearch: 3 | password: '' 4 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_1_userservice_provider_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /voice/jacob-1.18-x64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/voice/jacob-1.18-x64.dll -------------------------------------------------------------------------------- /springboot_dubbo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_dubbo/.DS_Store -------------------------------------------------------------------------------- /springbt_sso_jwt/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springbt_sso_jwt/.DS_Store -------------------------------------------------------------------------------- /springboot-diy-starter-demo/注解方式/springboot-codeant-start-demo/my-starter-demo/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/buildOutputCleanup/cache.properties: -------------------------------------------------------------------------------- 1 | #Wed May 18 11:31:18 CST 2022 2 | gradle.version=6.8 3 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level1/package-optimize-app2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /springboot- example-https/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=9999 2 | server.servlet.context-path=/example -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level0/package-optimize-app1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level0/package-optimize-app2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level0/package-optimize-app3/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level1/package-optimize-app1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level1/package-optimize-app3/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level2/package-optimize-app1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level2/package-optimize-app2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level2/package-optimize-app3/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level3/package-optimize-app1/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level3/package-optimize-app2/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level3/package-optimize-app3/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /springboot-pay-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8080 3 | servlet: 4 | context-path: /aliyun 5 | -------------------------------------------------------------------------------- /performance2tomcat_demo/img/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/performance2tomcat_demo/img/img.png -------------------------------------------------------------------------------- /springboot- example-https/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot- example-https/.DS_Store -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-alibaba-yuezhi/.DS_Store -------------------------------------------------------------------------------- /springboot-bean-life-demo/IOC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-bean-life-demo/IOC.png -------------------------------------------------------------------------------- /springboot_crawler_demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_crawler_demo/.DS_Store -------------------------------------------------------------------------------- /springboot_crawler_demo/img/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_crawler_demo/img/0.jpg -------------------------------------------------------------------------------- /springboot_crawler_demo/img/00.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_crawler_demo/img/00.jpg -------------------------------------------------------------------------------- /springboot_crawler_demo/img/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_crawler_demo/img/1.jpg -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/.DS_Store -------------------------------------------------------------------------------- /springboot_websocket_demo/效果图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_websocket_demo/效果图.png -------------------------------------------------------------------------------- /crawlerbyhttp2/QQ截图20191129171152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/crawlerbyhttp2/QQ截图20191129171152.png -------------------------------------------------------------------------------- /springboot-diy-starter-demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/.DS_Store -------------------------------------------------------------------------------- /springboot_idempotence_demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_idempotence_demo/.DS_Store -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server.port: 8082 2 | server.servlet.context-path: /codeAntExcel 3 | -------------------------------------------------------------------------------- /springbt_sso_jwt/codeant-server/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8085 3 | servlet: 4 | context-path: /uac 5 | -------------------------------------------------------------------------------- /crawlerbyhttp2/jdk9采用http2发送请求的demo.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/crawlerbyhttp2/jdk9采用http2发送请求的demo.7z -------------------------------------------------------------------------------- /springboot-bean-life-demo/bean创建流程.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-bean-life-demo/bean创建流程.png -------------------------------------------------------------------------------- /springboot-bean-life-demo/bean销毁流程.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-bean-life-demo/bean销毁流程.png -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-jiezhang-setnx-demo/.DS_Store -------------------------------------------------------------------------------- /springboot-miaosha-incr-demo/秒杀流程图.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-miaosha-incr-demo/秒杀流程图.jpg -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/doc/file/img/640: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-alibaba-yuezhi/doc/file/img/640 -------------------------------------------------------------------------------- /springboot-package-optimize-demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-package-optimize-demo/.DS_Store -------------------------------------------------------------------------------- /springboot_neo4j_example-master/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_neo4j_example-master/.DS_Store -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/.DS_Store -------------------------------------------------------------------------------- /springboot_neo4j_example-master/img/sdn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_neo4j_example-master/img/sdn.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | 阅读该部分的代码以及文章,必须了解的知识有: 4 | 5 | - 搭建安装好rabbitmq - server 6 | - rabbitmq 四种路由规则中的三种(direct、topic、fanout) -------------------------------------------------------------------------------- /springboot_filter_interceptor_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8080 3 | servlet: 4 | context-path: /springboot_filter_interceptor_demo -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/checksums/checksums.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/checksums/checksums.lock -------------------------------------------------------------------------------- /springboot-kafka-demo/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /springboot_idempotence_demo/README.md: -------------------------------------------------------------------------------- 1 | ## 幂等性 2 | 幂等性的具体含义自行百度,这里的demo采用的是token机制实现幂等性。流程图如下: 3 | 4 | ![image-20210111145616963](img/image-20210111145616963.png) 5 | 6 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/checksums/md5-checksums.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/checksums/md5-checksums.bin -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/doc/yml config file/local_yml.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-alibaba-yuezhi/doc/yml config file/local_yml.zip -------------------------------------------------------------------------------- /springboot-diy-starter-demo/img/image-20210512111734551.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/img/image-20210512111734551.png -------------------------------------------------------------------------------- /springboot-diy-starter-demo/img/image-20210512113741124.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/img/image-20210512113741124.png -------------------------------------------------------------------------------- /springboot-diy-starter-demo/img/image-20210512113803071.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/img/image-20210512113803071.png -------------------------------------------------------------------------------- /springboot-diy-starter-demo/img/image-20210512113806279.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/img/image-20210512113806279.png -------------------------------------------------------------------------------- /springboot-diy-starter-demo/img/image-20210512114113367.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/img/image-20210512114113367.png -------------------------------------------------------------------------------- /springboot-diy-starter-demo/img/image-20210512114356355.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-diy-starter-demo/img/image-20210512114356355.png -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/6.8/fileHashes/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/6.8/fileHashes/fileHashes.bin -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/6.8/fileHashes/fileHashes.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/6.8/fileHashes/fileHashes.lock -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/checksums/sha1-checksums.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/checksums/sha1-checksums.bin -------------------------------------------------------------------------------- /springboot_idempotence_demo/img/image-20210111145616963.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_idempotence_demo/img/image-20210111145616963.png -------------------------------------------------------------------------------- /springboot_idempotence_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_idempotence_demo/src/main/resources/application.yml -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/image-20200612094704997.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/image-20200612094704997.png -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/image-20200612095157230.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/image-20200612095157230.png -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/image-20200612110823803.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/image-20200612110823803.png -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/image-20200612111220292.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/image-20200612111220292.png -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/image-20200612112222420.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/image-20200612112222420.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/img/延时重试.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/img/延时重试.png -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/README/image-20200807081912043.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-jiezhang-setnx-demo/README/image-20200807081912043.png -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/README/image-20200807081956092.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-jiezhang-setnx-demo/README/image-20200807081956092.png -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/README/image-20200807084026899.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-jiezhang-setnx-demo/README/image-20200807084026899.png -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/buildOutputCleanup/outputFiles.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/buildOutputCleanup/outputFiles.bin -------------------------------------------------------------------------------- /springboot_poi_demo/src/main/resources/static/user1-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_demo/src/main/resources/static/user1-128x128.jpg -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 1.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 2.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 3.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/fanout - 4.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/img/1延时消费.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/img/1延时消费.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/bind - fanout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/bind - fanout.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/create-queue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/create-queue.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/sendMsgD - 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/sendMsgD - 1.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/sendMsgD - 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/sendMsgD - 2.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/img/延时重试实际流程图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/img/延时重试实际流程图.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/binds - direct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/binds - direct.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/create-exchanges.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/img/create-exchanges.png -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/img/2延时消费实际流程图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/img/2延时消费实际流程图.png -------------------------------------------------------------------------------- /spring-boot-demo-task/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | # 下面的配置等同于 TaskConfig 2 | #spring: 3 | # task: 4 | # scheduling: 5 | # pool: 6 | # size: 20 7 | # thread-name-prefix: Job-Thread- -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/6.8/executionHistory/executionHistory.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/6.8/executionHistory/executionHistory.bin -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/6.8/executionHistory/executionHistory.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/6.8/executionHistory/executionHistory.lock -------------------------------------------------------------------------------- /springboot-kafka-demo/.gradle/buildOutputCleanup/buildOutputCleanup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot-kafka-demo/.gradle/buildOutputCleanup/buildOutputCleanup.lock -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/src/main/resources/static/xls/学生信息汇总表.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/src/main/resources/static/xls/学生信息汇总表.xls -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/assets/image-20190107103229408-6828349.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/assets/image-20190107103229408-6828349.png -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/assets/image-20190107103258291-6828378.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/assets/image-20190107103258291-6828378.png -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/assets/image-20190107103358744-6828438.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/assets/image-20190107103358744-6828438.png -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/assets/image-20190107103429430-6828469.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/assets/image-20190107103429430-6828469.png -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/assets/image-20190107103451240-6828491.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/assets/image-20190107103451240-6828491.png -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/assets/image-20190107103509943-6828509.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_rabbitmq_client_demo/assets/image-20190107103509943-6828509.png -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/src/main/resources/static/xls/导入学生信息汇总表.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_poi_excel-operate-demo/src/main/resources/static/xls/导入学生信息汇总表.xls -------------------------------------------------------------------------------- /springboot_dubbo/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_1_userservice_provider_demo/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_2_orderservice_consumer_demo/.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.0/apache-maven-3.6.0-bin.zip 2 | -------------------------------------------------------------------------------- /springboot-diy-starter-demo/注解方式/springboot-codeant-start-demo/springboot-test-starter-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | my: 2 | bean: 3 | name: codea_bean 4 | packageStr: com.example.mystarterdemo.bean 5 | 6 | -------------------------------------------------------------------------------- /springboot-diy-starter-demo/自动配置方式/springboot-codeant-start-demo/springboot-test-starter-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | my: 2 | bean: 3 | name: codea_bean 4 | packageStr: com.example.mystarterdemo.bean 5 | 6 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_dubbo/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /crawlerbyhttp2/src/main/java/module-info.java: -------------------------------------------------------------------------------- 1 | //jdk9的模块化,需要该文件,否则无法正常运行 2 | module crawlerbyhttp2{ 3 | requires jdk.incubator.httpclient; 4 | requires slf4j.api; 5 | requires tomcat.coyote; 6 | requires http.request; 7 | } 8 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-bean-life-demo/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-diy-starter-demo/自动配置方式/springboot-codeant-start-demo/my-starter-demo/src/main/resources/META-INF/spring.factories: -------------------------------------------------------------------------------- 1 | org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ 2 | com.example.mystarterdemo.config.MyBeanConfig -------------------------------------------------------------------------------- /springboot_docker_demo/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_docker_demo/.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 | -------------------------------------------------------------------------------- /springboot_docker_demo/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_1_userservice_provider_demo/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_dubbo/springboot_dubbo_1_userservice_provider_demo/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /springboot- example-https/.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 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot-bean-life-demo/.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 | -------------------------------------------------------------------------------- /springboot-bean-life-demo/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_2_orderservice_consumer_demo/.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_dubbo/springboot_dubbo_2_orderservice_consumer_demo/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /spring-boot-demo-task/README.md: -------------------------------------------------------------------------------- 1 | # spring-boot-demo-task 2 | 3 | > 此 demo 主要演示了 Spring Boot 如何快速实现定时任务。 4 | 5 | ## 参考 6 | 7 | - Spring Boot官方文档:https://docs.spring.io/spring-boot/docs/2.1.0.RELEASE/reference/htmlsingle/#boot-features-task-execution-scheduling -------------------------------------------------------------------------------- /springboot_justauth_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | server.port=8443 2 | 3 | spring.thymeleaf.cache=false 4 | 5 | # spring.devtools 6 | spring.devtools.restart.additional-paths=src/main/java 7 | spring.devtools.restart.exclude=static/**,public/** 8 | -------------------------------------------------------------------------------- /performance2tomcat_demo/src/main/java/com/example/performance2tomcat_demo/service/impl/TomcatPerformanceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.performance2tomcat_demo.service.impl; 2 | 3 | public interface TomcatPerformanceImpl { 4 | public String create100NumWait1s(); 5 | } 6 | -------------------------------------------------------------------------------- /springboot-kafka-demo/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /springboot_filter_interceptor_demo/src/main/resources/templates/errorpage/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 错误提示 6 | 7 | 8 |

您已经被列入黑名单中,请及时和管理员联系,接触黑名单限制

9 | 10 | -------------------------------------------------------------------------------- /springboot_junit_demo/src/test/java/com/example/li/springboot_junit_demo/service/Impl/UserServiceImplTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJinHongPassion/springboot/HEAD/springboot_junit_demo/src/test/java/com/example/li/springboot_junit_demo/service/Impl/UserServiceImplTest.java -------------------------------------------------------------------------------- /springboot_fastdfs_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | # multipart.maxFileSize=10Mb是设置单个文件的大小, multipart.maxRequestSize=100Mb是设置单次请求的文件的总大小 2 | # 3 | #如果是想要不限制文件上传的大小,那么就把两个值都设置为-1就行啦 4 | spring.servlet.multipart.max-file-size: 10MB 5 | spring.servlet.multipart.max-request-size: 100MB -------------------------------------------------------------------------------- /springboot_dubbo/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_junit_demo/README.md: -------------------------------------------------------------------------------- 1 | 安装配置junit插件:https://blog.csdn.net/qq_26115733/article/details/70340243 2 | 3 | org.junit.Assert.* 判断工具类,里面全是静态方法 4 | 5 | junit测试ssm:https://www.cnblogs.com/libin6505/p/8383837.html 6 | junit测试springboot:https://blog.csdn.net/bobo_12138/article/details/77609109 -------------------------------------------------------------------------------- /crawlerbyhttp2/src/README.md: -------------------------------------------------------------------------------- 1 | ## 简述 2 | 该程序是针对于图片网站(https://foter.com/)所编写的爬虫程序. 3 | 4 | ## 运行条件 5 | 6 | | 名称 | 版本 | 7 | | ---- | ---- | 8 | | JDK | 9 | 9 | | HTTP | 2 | 10 | 11 | 这里网站因为是采用的http2协议,然而jdk支持http2的版本为jdk9. 12 | 13 | 14 | 15 | 16 | 17 | 存包 18 | 19 | 餐厅 20 | 21 | 练习场 -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/java/com/codeant/ocean/NoWarnMapper.java: -------------------------------------------------------------------------------- 1 | package com.codeant.ocean; 2 | 3 | import org.apache.ibatis.annotations.Mapper; 4 | 5 | /** 6 | * 用于去除 o.m.s.mapper.ClassPathMapperScanner 警告信息 7 | */ 8 | @Mapper 9 | public interface NoWarnMapper { 10 | } 11 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_0_interface_demo/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /springboot_modle_demo/src/main/resources/templates/insert1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Title 6 | 7 | 8 |

这是插入的html片段

9 |

10 | 11 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-service/yuezhi-service-business/src/main/java/com/ruiyun/service/IDiscoveryService.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun.service; 2 | 3 | /** 4 | * 描述: 服务接口 5 | * 6 | * @author lijinhong 7 | * @date 2021年01月29日 08:36 8 | */ 9 | public interface IDiscoveryService { 10 | String echo(String str); 11 | } -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/java/com/codeant/ocean/mapper/ocean/TotalMapper.java: -------------------------------------------------------------------------------- 1 | package com.codeant.ocean.mapper.ocean; 2 | 3 | import org.apache.ibatis.annotations.Param; 4 | 5 | import java.time.LocalDateTime; 6 | 7 | public interface TotalMapper { 8 | 9 | Integer selectAllCount(); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-basic/yuezhi-basic-gateway/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM java:8 2 | 3 | MAINTAINER 18315107186@189.cn 4 | 5 | 6 | ADD ./target/yuezhi-basic-gateway-1.0-SNAPSHOT.jar ./yuezhi-basic-gateway-1.0-SNAPSHOT.jar 7 | 8 | ENTRYPOINT ["java","-jar","yuezhi-basic-gateway-1.0-SNAPSHOT.jar"] 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-basic/yuezhi-basic-monitor/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM java:8 2 | 3 | MAINTAINER 18315107186@189.cn 4 | 5 | 6 | ADD ./target/yuezhi-basic-monitor-1.0-SNAPSHOT.jar ./yuezhi-basic-monitor-1.0-SNAPSHOT.jar 7 | 8 | ENTRYPOINT ["java","-jar","yuezhi-basic-monitor-1.0-SNAPSHOT.jar"] 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-sync-demo/HELP.md: -------------------------------------------------------------------------------- 1 | ## `springboot`异步任务(有返回值的) 2 | 3 | >本`demo`的业务是:`Controller.test()`方法调用`SyncService.testSync()`方法,在该方法中异步调用`jobService.hasReturnValue()`,同时`SyncService.testSync()`继续执行本身的业务逻辑,在`testSync`方法最后通过自旋的方式来判断异步调用是否完成,自旋方法里面有个阈值,自旋达到阈值后就退出阻塞状态 4 | 5 | ## 拓展 6 | [伪命题 - 多线程事务](https://segmentfault.com/a/1190000037770701) -------------------------------------------------------------------------------- /springboot_dubbo/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /springboot_neo4j_example-master/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | # \u914D\u7F6E\u94FE\u63A5neo4j\uFF0C\u8FD9\u91CC\u4F7F\u7528\u7684\u662Fbolt\u9A71\u52A8 2 | spring.data.neo4j.username=neo4j 3 | spring.data.neo4j.password=codeant 4 | #spring.data.neo4j.uri=bolt://116.62.48.220:7687 5 | spring.data.neo4j.uri=bolt://127.0.0.1:7687 6 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /springboot_neo4j_example-master/src/main/java/org/neo4jdemo/service/MovieService.java: -------------------------------------------------------------------------------- 1 | package org.neo4jdemo.service; 2 | 3 | import org.springframework.stereotype.Service; 4 | 5 | /** 6 | * 描述:Movie服务类 7 | * 8 | * @author LJH 9 | * @date 2019/11/14-14:54 10 | * @QQ 1755497577 11 | */ 12 | @Service 13 | public class MovieService { 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-service/yuezhi-service-business/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM java:8 2 | 3 | MAINTAINER 18315107186@189.cn 4 | 5 | #EXPOSE 8010 6 | 7 | ADD ./target/yuezhi-service-business-1.0-SNAPSHOT.jar ./yuezhi-service-business-1.0-SNAPSHOT.jar 8 | 9 | ENTRYPOINT ["java","-jar","yuezhi-service-business-1.0-SNAPSHOT.jar"] 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/springboot.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /springboot_mail_demo/src/main/resources/application.properties: -------------------------------------------------------------------------------- 1 | 2 | # 163\u90AE\u7BB1\u5F00\u901Asmtp\u670D\u52A1\uFF1Ahttps://jingyan.baidu.com/article/c275f6ba33a95de33d7567d9.html 3 | spring.mail.host=smtp.163.com 4 | spring.mail.username=yang13260906172@163.com 5 | spring.mail.password=yang13260906172 6 | spring.mail.default-encoding=UTF-8 7 | 8 | mail.fromMail.addr=yang13260906172@163.com -------------------------------------------------------------------------------- /springboot-es-demo/src/test/java/com/example/springbootesdemo/SpringbootEsDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootesdemo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootEsDemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /springboot-kafka-demo/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'java' 3 | } 4 | 5 | group 'org.example' 6 | version '1.0-SNAPSHOT' 7 | 8 | repositories { 9 | maven {url 'https://maven.aliyun.com/nexus/content/groups/public/'} 10 | mavenCentral() 11 | } 12 | dependencies { 13 | implementation 'org.apache.kafka:kafka-clients:2.0.0' 14 | } 15 | 16 | test { 17 | useJUnitPlatform() 18 | } -------------------------------------------------------------------------------- /springboot-miaosha-incr-demo/cmd.sh: -------------------------------------------------------------------------------- 1 | 2 | #开启tomcat 3 | java -jar ./springboot-miaosha-demo-0.0.1-SNAPSHOT.jar > ./tomcat_my_hot_list.log 2>&1 & 4 | 5 | # 测试常规的秒杀接口 6 | ab -n 4000 -c 2000 -T application/x-www-form-urlencoded -p ./data http://127.0.0.1:9090/ms/buy 7 | 8 | # 测试redis秒杀接口 9 | ab -n 4000 -c 2000 -T application/x-www-form-urlencoded -p ./data http://127.0.0.1:9090/ms/buy1 10 | 11 | -------------------------------------------------------------------------------- /springboot_dubbo/.idea/springboot_dubbo.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /springboot-redis-demo/src/test/java/com/example/springbootredisdemo/SpringbootRedisDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootredisdemo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootRedisDemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_fastdfs_demo/src/main/resources/fdfs_client.conf: -------------------------------------------------------------------------------- 1 | #连接tracker服务器超时时长 2 | connect_timeout = 2 3 | #socket连接超时时长 4 | network_timeout = 30 5 | #文件内容编码 6 | charset = UTF-8 7 | #tracker服务器端口 8 | http.tracker_http_port = 8080 9 | #http.anti_steal_token = no 10 | http.anti_steal.check_token=true 11 | http.secret_key = FastDFS1234567890 12 | #tracker服务器IP和端口(可以写多个) 13 | tracker_server = 192.168.26.101:22122 14 | -------------------------------------------------------------------------------- /springboot_shiro_jwt_demo/src/main/java/com/example/li/springboot_shiro_jwt_demo/exception/UnauthorizedException.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_shiro_jwt_demo.exception; 2 | 3 | public class UnauthorizedException extends RuntimeException { 4 | public UnauthorizedException(String msg) { 5 | super(msg); 6 | } 7 | 8 | public UnauthorizedException() { 9 | super(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /performance2tomcat_demo/src/test/java/com/example/performance2tomcat_demo/Performance2tomcatDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.performance2tomcat_demo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class Performance2tomcatDemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-core/src/main/java/com/ruiyun/yuezhi/core/util/Dialect.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun.yuezhi.core.util; 2 | 3 | /** 4 | * Copyright © 2016 重庆锐云科技有限公司 All rights reserved 5 | * 6 | * 分页方言 7 | * @author HKCHEN 8 | * @version 1.0 9 | */ 10 | public abstract class Dialect { 11 | 12 | public abstract String getLimitString(String sql, int skipResults, int maxResults); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-miaosha-incr-demo/src/main/java/com/example/miaoshademo/dao/CodeantProductLogDao.java: -------------------------------------------------------------------------------- 1 | package com.example.miaoshademo.dao; 2 | 3 | import com.example.miaoshademo.entity.CodeantProductLog; 4 | import org.springframework.stereotype.Repository; 5 | 6 | @Repository 7 | public interface CodeantProductLogDao { 8 | int insert(CodeantProductLog record); 9 | 10 | CodeantProductLog selectByPrimaryKey(Integer id); 11 | } -------------------------------------------------------------------------------- /springboot_poi_demo/README.md: -------------------------------------------------------------------------------- 1 | 最简单的poi操作 2 | - 导出(可导出本地图片/网络图片 + 内容) 3 | - 导入(例子中给出的是将图片能够上传至fastdfs的思路,如果不需要上传至fastdfs,则将MyExcelImportService.java删除,并将ExcelUtils中的new MyExcelImportService(),更换为new ExcelImportService()) 4 | 5 | 简单讲一下导入,easypoi只有两种保存图片方式:一种保存到服务器目录下,一种保存到数据库,这也对应了@Excel里面的注释描述; 6 | 如需要将文件上传至文件服务器? 7 | 解决方法:自己重写ExcelImportService.java(实际上是重写他的saveImage里面保存图片的方法)。 8 | 然后直接使用这个自定义的ExcelImportService进行导入,不能在使用之前easypoi提供的导入入口。 -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/resources/mapper/ocean/ocean.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /springboot-git-commit-id-demo/src/test/java/com/example/springbootgitcommitiddemo/SpringbootGitCommitIdDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootgitcommitiddemo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootGitCommitIdDemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/src/main/resources/static/upload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 上传导入 6 | 7 | 8 | 请选择项目路径下的resources/static/导入学生信息汇总表.xls 9 |
10 | 11 | 12 |
13 | 14 | -------------------------------------------------------------------------------- /springbt_sso_jwt/codeant-client1/src/main/java/cn/codeant/Client1Application.java: -------------------------------------------------------------------------------- 1 | package cn.codeant; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Client1Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Client1Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springbt_sso_jwt/codeant-client2/src/main/java/cn/codeant/Client2Application.java: -------------------------------------------------------------------------------- 1 | package cn.codeant; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Client2Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Client2Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/provider-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #spring.rabbitmq.host=118.24.44.169 2 | #spring.rabbitmq.username=guest 3 | #spring.rabbitmq.password=guest 4 | ##spring.rabbitmq.virtual-host= 5 | 6 | spring: 7 | rabbitmq: 8 | host: 116.62.48.220 9 | username: admin 10 | password: admin 11 | virtual-host: /java_mmr # 斜杠必须写上,该虚拟主机需要手动创建,在rabbit管理界面admin->virtual-host 12 | port: 5672 -------------------------------------------------------------------------------- /springbt_sso_jwt/codeant-client1/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | auth-server: http://localhost:8085/uac 2 | server: 3 | port: 8086 4 | 5 | security: 6 | oauth2: 7 | client: 8 | client-id: ant1 9 | client-secret: 123456 10 | user-authorization-uri: ${auth-server}/oauth/authorize 11 | access-token-uri: ${auth-server}/oauth/token 12 | resource: 13 | jwt: 14 | key-uri: ${auth-server}/oauth/token_key -------------------------------------------------------------------------------- /springboot_mybatis_shiro_demo/src/main/java/com/example/li/springboot_mybatis_shiro_demo/service/IUserService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mybatis_shiro_demo.service; 2 | 3 | import java.util.Map; 4 | 5 | /** 6 | * @author Li 7 | * @date 2018/10/23-11:59 8 | */ 9 | public interface IUserService { 10 | 11 | Map add(Map properties); 12 | 13 | Map getById(String user_id); 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot_neo4j_example-master/src/main/java/org/neo4jdemo/Neo4jDemoApplication.java: -------------------------------------------------------------------------------- 1 | package org.neo4jdemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Neo4jDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Neo4jDemoApplication.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot_poi_demo/src/main/resources/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 文件上传 4 | 5 | 6 | 7 | 8 | 9 |

下载文件

10 | 下载1 11 | 12 |

上传文件

13 |
14 | 15 | 16 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /springbt_security_jwt/src/main/java/cn/codesheep/springbt_security_jwt/service/AuthService.java: -------------------------------------------------------------------------------- 1 | package cn.codesheep.springbt_security_jwt.service; 2 | 3 | import cn.codesheep.springbt_security_jwt.model.entity.User; 4 | 5 | /** 6 | * @author LJH 7 | * @date 2019/8/23-10:35 8 | * @QQ 1755497577 9 | */ 10 | public interface AuthService { 11 | 12 | User register( User userToAdd ); 13 | String login( String username, String password ); 14 | } 15 | -------------------------------------------------------------------------------- /springboot_poi_demo/src/main/java/com/example/li/springboot_poi_demo/Application.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /performance2tomcat_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | # ????????????????????????????????docker run???-e???maven package???????????mvn test 3 | port: ${tomcatSeverPort} 4 | servlet: 5 | context-path: /tomcat 6 | tomcat: 7 | # ????????????????????????????????docker run???-e?? 8 | accept-count: ${maxTomcatAcceptCount} 9 | threads: 10 | # ????????????????????????????????docker run???-e?? 11 | max: ${maxTomcatThreadNum} -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-api/yuezhi-api-manager/src/main/java/com/ruiyun/feign/FeignConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun.feign; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | 5 | /** 6 | * 描述: 注册服务测试 7 | * 8 | * @author lijinhong 9 | * @date 2021年01月29日 08:36 10 | */ 11 | public class FeignConfiguration { 12 | @Bean 13 | public ServiceFallback echoServiceFallback() { 14 | return new ServiceFallback(); 15 | } 16 | } -------------------------------------------------------------------------------- /springboot_mail_demo/src/main/java/com/example/li/springboot_mail_demo/Application.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mail_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/consumer-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #spring.rabbitmq.host=118.24.44.169 2 | #spring.rabbitmq.username=guest 3 | #spring.rabbitmq.password=guest 4 | ##spring.rabbitmq.virtual-host= 5 | 6 | spring: 7 | rabbitmq: 8 | host: 116.62.48.220 9 | username: admin 10 | password: admin 11 | virtual-host: /java_mmr # \u659C\u6760\u5FC5\u987B\u8981\u5199 12 | port: 5672 13 | server: 14 | port: 8081 -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-api/yuezhi-api-manager/src/main/java/com/ruiyun/feign/ServiceFallback.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun.feign; 2 | 3 | import com.ruiyun.service.IDiscoveryService; 4 | 5 | /** 6 | * 描述: 服务消费类 7 | * 8 | * @author lijinhong 9 | * @date 2021年01月29日 08:36 10 | */ 11 | public class ServiceFallback implements IDiscoveryService { 12 | 13 | @Override 14 | public String echo(String str) { 15 | return "echo fallback"; 16 | } 17 | } -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/src/main/java/com/example/miaoshademo/lock/anno/SyncAnnotation.java: -------------------------------------------------------------------------------- 1 | package com.example.miaoshademo.lock.anno; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | @Target(ElementType.METHOD) 9 | @Retention(RetentionPolicy.RUNTIME) 10 | public @interface SyncAnnotation { 11 | SyncEnum value(); 12 | } 13 | -------------------------------------------------------------------------------- /springboot_poi_demo_v2/src/main/java/com/example/li/springboot_poi_demo_v2/Application.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo_v2; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot- example-https/src/main/java/com/example/springbootexamplehttps/controller/HelloController.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootexamplehttps.controller; 2 | 3 | import org.springframework.web.bind.annotation.GetMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | @RestController 7 | public class HelloController { 8 | 9 | @GetMapping("/hello") 10 | public String hello(){ 11 | return "hello ssl/tsl"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /springboot-hibernate-validation-demo/src/test/java/com/example/springboothibernatevalidationdemo/SpringbootHibernateValidationDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.springboothibernatevalidationdemo; 2 | 3 | import org.junit.jupiter.api.Test; 4 | import org.springframework.boot.test.context.SpringBootTest; 5 | 6 | @SpringBootTest 7 | class SpringbootHibernateValidationDemoApplicationTests { 8 | 9 | @Test 10 | void contextLoads() { 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-sync-demo/src/main/java/com/example/codeant/springbootsyncdemo/entity/User.java: -------------------------------------------------------------------------------- 1 | package com.example.codeant.springbootsyncdemo.entity; 2 | 3 | import lombok.*; 4 | 5 | /** 6 | * 描述: 7 | * 8 | * @author lijinhong 9 | * @date 20.12.22 10 | */ 11 | @Data 12 | @AllArgsConstructor 13 | @NoArgsConstructor 14 | @Setter 15 | @Getter 16 | @ToString 17 | public class User { 18 | private String name; 19 | private String age; 20 | private String sex; 21 | } 22 | -------------------------------------------------------------------------------- /springboot_idempotence_demo/src/main/java/com/example/springboot_idempotence_demo/Application.java: -------------------------------------------------------------------------------- 1 | package com.example.springboot_idempotence_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-miaosha-incr-demo/src/main/java/com/example/miaoshademo/dao/CodeantProductDao.java: -------------------------------------------------------------------------------- 1 | package com.example.miaoshademo.dao; 2 | 3 | import com.example.miaoshademo.entity.CodeantProduct; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | @Repository 8 | public interface CodeantProductDao { 9 | CodeantProduct selectByPrimaryKey(Integer id); 10 | 11 | int update(@Param("num") int num, @Param("key") int key); 12 | } -------------------------------------------------------------------------------- /springboot_neo4j_example-master/src/main/java/org/neo4jdemo/repository/MovieRepository.java: -------------------------------------------------------------------------------- 1 | package org.neo4jdemo.repository; 2 | 3 | import org.neo4jdemo.model.node.Movie; 4 | import org.springframework.data.neo4j.repository.Neo4jRepository; 5 | 6 | 7 | /** 8 | * 描述:Movie的dao层,继承Neo4jRepository,就自带crud 9 | * 10 | * @author LJH 11 | * @date 2019/11/14-14:37 12 | * @QQ 1755497577 13 | */ 14 | public interface MovieRepository extends Neo4jRepository { 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-es-demo/src/main/java/com/example/springbootesdemo/SpringbootEsDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootesdemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootEsDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootEsDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_0_interface_demo/src/main/java/com/example/li/springboot_dubbo_0_interface_demo/service/OrderService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_dubbo_0_interface_demo.service; 2 | 3 | 4 | import com.example.li.springboot_dubbo_0_interface_demo.bean.UserAddress; 5 | 6 | import java.util.List; 7 | 8 | public interface OrderService { 9 | 10 | /** 11 | * 初始化订单 12 | * @param userId 13 | */ 14 | public List initOrder(String userId); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level0/package-optimize-app2/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level0/package-optimize-app3/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level1/package-optimize-app2/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level1/package-optimize-app3/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level2/package-optimize-app2/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level2/package-optimize-app3/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level3/package-optimize-app2/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-package-optimize-demo/package-optimize-level3/package-optimize-app3/src/main/java/com/entdiy/example/demo/DemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.entdiy.example.demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class DemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(DemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_1_userservice_provider_demo/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | /target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | 5 | ### STS ### 6 | .apt_generated 7 | .classpath 8 | .factorypath 9 | .project 10 | .settings 11 | .springBeans 12 | .sts4-cache 13 | 14 | ### IntelliJ IDEA ### 15 | .idea 16 | *.iws 17 | *.iml 18 | *.ipr 19 | 20 | ### NetBeans ### 21 | /nbproject/private/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ 26 | /build/ 27 | 28 | ### VS Code ### 29 | .vscode/ 30 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_2_orderservice_consumer_demo/.gitignore: -------------------------------------------------------------------------------- 1 | HELP.md 2 | /target/ 3 | !.mvn/wrapper/maven-wrapper.jar 4 | 5 | ### STS ### 6 | .apt_generated 7 | .classpath 8 | .factorypath 9 | .project 10 | .settings 11 | .springBeans 12 | .sts4-cache 13 | 14 | ### IntelliJ IDEA ### 15 | .idea 16 | *.iws 17 | *.iml 18 | *.ipr 19 | 20 | ### NetBeans ### 21 | /nbproject/private/ 22 | /nbbuild/ 23 | /dist/ 24 | /nbdist/ 25 | /.nb-gradle/ 26 | /build/ 27 | 28 | ### VS Code ### 29 | .vscode/ 30 | -------------------------------------------------------------------------------- /springboot-hibernate-validation-demo/src/main/java/com/example/springboothibernatevalidationdemo/dto/StudentDto.java: -------------------------------------------------------------------------------- 1 | package com.example.springboothibernatevalidationdemo.dto; 2 | 3 | import javax.validation.constraints.NotEmpty; 4 | import javax.validation.constraints.Null; 5 | import java.util.List; 6 | 7 | public class StudentDto { 8 | 9 | @Null 10 | @NotEmpty 11 | private String name; 12 | private Integer age; 13 | private String address; 14 | private List score; 15 | } 16 | -------------------------------------------------------------------------------- /spring-boot-demo-task/src/main/java/com/cqut/task/SpringBootDemoTaskApplication.java: -------------------------------------------------------------------------------- 1 | package com.cqut.task; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | /** 7 | * @description: 启动器 8 | */ 9 | @SpringBootApplication 10 | public class SpringBootDemoTaskApplication { 11 | 12 | public static void main(String[] args) { 13 | SpringApplication.run(SpringBootDemoTaskApplication.class, args); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /springboot-redis-demo/src/main/java/com/example/springbootredisdemo/SpringbootRedisDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootredisdemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootRedisDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootRedisDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_jjwt_demo/src/main/java/com/example/li/springboot_jjwt_demo/SpringbootJjwtDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_jjwt_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootJjwtDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootJjwtDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_swagger_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8080 3 | #指定访问项目路径的项目名 4 | #SpringBoot版本 配置 5 | #1.x server.context-path=/demo 6 | #2.x server.servlet.context-path=/demo 7 | servlet.context-path: /swagger 8 | 9 | swagger: 10 | #项目标题 11 | title: SpringBoot学习 12 | #项目描述 13 | description: SpringBoot快速入门 14 | #版本 15 | version: 1.0.0 16 | #开发者名字 17 | name: codeAnt 18 | #开发者个人主页 19 | url: https://lijinhongpassion.github.io/ 20 | #开发者邮箱 21 | email: 1755497577@qq.com -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-api/yuezhi-api-manager/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM java:8 2 | # 基础镜像,没有任何其他的依赖 3 | #FROM scratch 4 | #FROM alpine 5 | #FROM openjdk:9-jre-alpine 6 | 7 | MAINTAINER lijinhong<18315107186@189.cn> 8 | 9 | # 参考https://blog.csdn.net/cuiyaoqiang/article/details/100193220 10 | # 映射宿主机的JDK 11 | 12 | EXPOSE 8081 13 | 14 | ADD ./target/yuezhi-api-manager-1.0-SNAPSHOT.jar ./yuezhi-api-manager-1.0-SNAPSHOT.jar 15 | 16 | ENTRYPOINT ["java","-jar","yuezhi-api-manager-1.0-SNAPSHOT.jar"] 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /springboot_modle_demo/src/main/java/com/example/li/springboot_modle_demo/SpringbootModleDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_modle_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootModleDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootModleDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_docker_demo/src/main/java/com/example/li/springboot_docker_demo/SpringbootDockerDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_docker_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootDockerDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootDockerDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_poi_demo_v3/src/main/java/com/example/li/springboot_poi_demo_v3/SpringbootPoiDemoV3Application.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo_v3; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootPoiDemoV3Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootPoiDemoV3Application.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /performance2tomcat_demo/src/main/java/com/example/performance2tomcat_demo/Performance2tomcatDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.performance2tomcat_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Performance2tomcatDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Performance2tomcatDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_crawler_demo/src/main/java/com/example/li/springboot_crawler_demo/SpringbootCrawlerDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_crawler_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootCrawlerDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootCrawlerDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_fastdfs_demo/src/main/java/com/example/li/springboot_fastdfs_demo/SpringbootFastdfsDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_fastdfs_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootFastdfsDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootFastdfsDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_logging_demo/src/main/java/com/example/li/springboot_logging_demo/SpringbootLoggingDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_logging_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootLoggingDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootLoggingDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_websocket_demo/src/main/java/com/example/li/springboot_websocket_demo/entity/Greeting.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_demo.entity; 2 | 3 | /** 4 | * @author Li 5 | * @date 2019/5/17-13:20 6 | */ 7 | 8 | public class Greeting { 9 | 10 | private String content; 11 | 12 | public Greeting() { 13 | } 14 | 15 | public Greeting(String content) { 16 | this.content = content; 17 | } 18 | 19 | public String getContent() { 20 | return content; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/java/com/codeant/ocean/mapper/account/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.codeant.ocean.mapper.account; 2 | 3 | import org.apache.ibatis.annotations.Param; 4 | 5 | import java.time.LocalDateTime; 6 | 7 | public interface UserMapper { 8 | 9 | /** 10 | * 查看总用户数 11 | * 12 | * @param start start 13 | * @param end end 14 | * @return count 15 | */ 16 | Integer selectCountUser(@Param("start") LocalDateTime start, @Param("end") LocalDateTime end); 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/springboot-rabbitmq-delay-queue/src/main/java/com/codeant/spring_boot/rabbitmq/delay/queue/Application.java: -------------------------------------------------------------------------------- 1 | package com.codeant.spring_boot.rabbitmq.delay.queue; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/springboot-rabbitmq-delay-message/src/main/java/com/codeant/spring_boot/rabbitmq/delay/queue/Application.java: -------------------------------------------------------------------------------- 1 | package com.codeant.spring_boot.rabbitmq.delay.queue; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/springboot-rabbitmq-delay-queue/src/main/java/com/codeant/spring_boot/rabbitmq/delay/queue/Application.java: -------------------------------------------------------------------------------- 1 | package com.codeant.spring_boot.rabbitmq.delay.queue; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class Application { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(Application.class, args); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /springboot_docker_demo/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /springboot_filter_interceptor_demo/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | Hello World 10 | 11 | 12 |

Hello World

13 | 14 | -------------------------------------------------------------------------------- /springboot_poi_demo/src/test/java/com/example/li/springboot_poi_demo/SpringbootPoiDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootPoiDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_poi_demo_v2/src/main/java/com/example/li/springboot_poi_demo_v2/service/IDogService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo_v2.service; 2 | 3 | import com.example.li.springboot_poi_demo_v2.pojo.Dog; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * @author LJH 10 | * @date 2019/8/2-18:59 11 | * @QQ 1755497577 12 | */ 13 | public interface IDogService { 14 | 15 | List getDogsList(); 16 | 17 | List> getDogsListMap(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /springboot_shiro_jwt_demo/src/main/java/com/example/li/springboot_shiro_jwt_demo/SpringbootShiroJwtDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_shiro_jwt_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootShiroJwtDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootShiroJwtDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot-bean-life-demo/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_0_interface_demo/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | 7 | com.example.li 8 | springboot_dubbo_0_interface_demo 9 | 1.0-SNAPSHOT 10 | 11 | 12 | -------------------------------------------------------------------------------- /springboot_jjwt_demo/src/test/java/com/example/li/springboot_jjwt_demo/SpringbootJjwtDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_jjwt_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootJjwtDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_mail_demo/src/test/java/com/example/li/springboot_mail_demo/SpringbootMailDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mail_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMailDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_poi_demo_v2/src/main/java/com/example/li/springboot_poi_demo_v2/controller/importExcel/MapExcelImportController.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo_v2.controller.importExcel; 2 | 3 | 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | /** 8 | * @author LJH 9 | * @date 2019/8/2-23:10 10 | * @QQ 1755497577 11 | */ 12 | @Controller 13 | @RequestMapping("/MapExcelImportController") 14 | public class MapExcelImportController { 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springbt_security_jwt/src/test/java/cn/codesheep/springbt_security_jwt/SpringbtSecurityJwtApplicationTests.java: -------------------------------------------------------------------------------- 1 | package cn.codesheep.springbt_security_jwt; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbtSecurityJwtApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /performance2tomcat_demo/Dockerfile: -------------------------------------------------------------------------------- 1 | # https://juejin.cn/post/6844903983392243720 2 | FROM openjdk:8u201-jre-alpine3.9 3 | 4 | # 时区 5 | ENV TZ=Asia/Shanghai 6 | 7 | #这里的 /tmp 目录就会在运行时自动挂载为匿名卷,任何向 /tmp 中写入的信息都不会记录进容器存储层 8 | VOLUME /tmp 9 | 10 | #复制上下文目录下的target/demo-0.0.1-SNAPSHOT.jar 到容器里;maven中配置JAR_FILE 11 | #COPY ${JAR_FILE} performance2tomcat_demo-0.0.1-SNAPSHOT.jar 12 | COPY /target/performance2tomcat_demo-0.0.1-SNAPSHOT.jar app.jar 13 | 14 | #指定容器启动程序及参数 "" 15 | ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar app.jar ${0} ${@}"] -------------------------------------------------------------------------------- /springboot_junit_demo/src/test/java/com/example/li/springboot_junit_demo/SpringbootJunitDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_junit_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootJunitDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_modle_demo/src/test/java/com/example/li/springboot_modle_demo/SpringbootModleDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_modle_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootModleDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_poi_demo_v2/src/test/java/com/example/li/springboot_poi_demo_v2/SpringbootPoiDemoV2ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo_v2; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootPoiDemoV2ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_poi_demo_v3/src/test/java/com/example/li/springboot_poi_demo_v3/SpringbootPoiDemoV3ApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_poi_demo_v3; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootPoiDemoV3ApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/consumer-demo/src/test/java/com/consumer/consumerdemo/ConsumerDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.consumer.consumerdemo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ConsumerDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/provider-demo/src/test/java/com/provider/providerdemo/ProviderDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.provider.providerdemo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class ProviderDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_websocket_demo/src/main/java/com/example/li/springboot_websocket_demo/SpringbootWebsocketDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_demo; 2 | 3 | 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication 8 | public class SpringbootWebsocketDemoApplication { 9 | 10 | public static void main(String[] args) { 11 | SpringApplication.run(SpringbootWebsocketDemoApplication.class, args); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/java/com/codeant/ocean/mapper/iceberg/ItemOrderMapper.java: -------------------------------------------------------------------------------- 1 | package com.codeant.ocean.mapper.iceberg; 2 | 3 | import org.apache.ibatis.annotations.Param; 4 | 5 | import java.time.LocalDateTime; 6 | 7 | public interface ItemOrderMapper { 8 | 9 | /** 10 | * 权益购买数(包含兑换,领取,兑换) 11 | * 12 | * @param start start 13 | * @param end end 14 | * @return count 15 | */ 16 | Integer selectCountSuccessOrder(@Param("start") LocalDateTime start, @Param("end") LocalDateTime end); 17 | 18 | } 19 | -------------------------------------------------------------------------------- /springboot_docker_demo/src/test/java/com/example/li/springboot_docker_demo/SpringbootDockerDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_docker_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootDockerDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_crawler_demo/src/test/java/com/example/li/springboot_crawler_demo/SpringbootCrawlerDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_crawler_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootCrawlerDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_fastdfs_demo/src/test/java/com/example/li/springboot_fastdfs_demo/SpringbootFastdfsDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_fastdfs_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootFastdfsDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_logging_demo/src/test/java/com/example/li/springboot_logging_demo/SpringbootLoggingDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_logging_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootLoggingDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_mybatis_demo/src/test/java/com/example/li/springboot_mybatis_demo/SpringbootMybatisDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mybatis_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMybatisDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_swagger_demo/src/test/java/com/example/li/springboot_swagger_demo/SpringbootSwaggerDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_swagger_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootSwaggerDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-basic/yuezhi-basic-gateway/src/main/java/com/ruiyun/GateWayApplication.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | 7 | 8 | @SpringBootApplication 9 | @EnableDiscoveryClient 10 | public class GateWayApplication { 11 | public static void main(String[] args) { 12 | SpringApplication.run(GateWayApplication.class, args); 13 | } 14 | } -------------------------------------------------------------------------------- /springboot_justauth_demo/src/test/java/com/example/li/springboot_justauth_demo/SpringbootJustauthDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_justauth_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootJustauthDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_shiro_jwt_demo/src/test/java/com/example/li/springboot_shiro_jwt_demo/SpringbootShiroJwtDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_shiro_jwt_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootShiroJwtDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_websocket_simplechat_demo/src/main/java/com/example/li/springboot_websocket_simplechat_demo/entity/Greeting.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_simplechat_demo.entity; 2 | 3 | /** 4 | * @author Li 5 | * @date 2019/5/17-13:20 6 | */ 7 | 8 | public class Greeting { 9 | 10 | private String content; 11 | 12 | public Greeting() { 13 | } 14 | 15 | public Greeting(String content) { 16 | this.content = content; 17 | } 18 | 19 | public String getContent() { 20 | return content; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /springbt_sso_jwt/codeant-server/src/main/java/cn/codeant/ServerApplication.java: -------------------------------------------------------------------------------- 1 | package cn.codeant; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; 6 | 7 | @SpringBootApplication(exclude={DataSourceAutoConfiguration.class}) 8 | public class ServerApplication { 9 | 10 | public static void main(String[] args) { 11 | SpringApplication.run(ServerApplication.class, args); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/resources/mapper/account/account.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_fastdfs_demo/src/main/java/com/example/li/springboot_fastdfs_demo/controller/PageController.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_fastdfs_demo.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | 6 | /** 7 | * @author LJH 8 | * @date 2019/7/25-17:06 9 | * @QQ 1755497577 10 | */ 11 | @Controller 12 | public class PageController { 13 | 14 | @RequestMapping("/fileupload.html") 15 | public String fileupload(){ 16 | return "fileupload"; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /springboot_mail_demo/src/main/java/com/example/li/springboot_mail_demo/service/MailService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mail_demo.service; 2 | 3 | /** 4 | * 描述: 邮件服务接口类 5 | * 6 | * @author LJH-1755497577 2019/8/24 21:39 7 | */ 8 | public interface MailService { 9 | /** 10 | * 描述: 发送邮件 11 | * 12 | * @author LJH-1755497577 2019/8/24 21:40 13 | * @param to 发送给谁 14 | * @param subject 标题 15 | * @param content 内容 16 | * @return void 17 | */ 18 | void sendSimpleMail(String to, String subject, String content); 19 | } 20 | -------------------------------------------------------------------------------- /springboot_websocket_demo/src/test/java/com/example/li/springboot_websocket_demo/SpringbootWebsocketDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootWebsocketDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-pay-demo/src/main/java/com/example/springbootpaydemo/SpringbootPayDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootpaydemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootPayDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootPayDemoApplication.class, args); 11 | System.out.println("访问支付接口:http://127.0.0.1:8080/aliyun/alipay"); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot_cache_guava_demo/src/test/java/com/example/li/springboot_cache_guava_demo/SpringbootCacheGuavaDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_cache_guava_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootCacheGuavaDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/src/main/java/com/example/li/springboot_rabbitmq_client_demo/SpringbootRabbitmqClientDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_rabbitmq_client_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootRabbitmqClientDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootRabbitmqClientDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_0_interface_demo/src/main/java/com/example/li/springboot_dubbo_0_interface_demo/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_dubbo_0_interface_demo.service; 2 | 3 | import com.example.li.springboot_dubbo_0_interface_demo.bean.UserAddress; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * 用户服务 9 | * @author lfy 10 | * 11 | */ 12 | public interface UserService { 13 | 14 | /** 15 | * 按照用户id返回所有的收货地址 16 | * @param userId 17 | * @return 18 | */ 19 | public List getUserAddressList(String userId); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/springboot-rabbitmq-delay-queue/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #spring.rabbitmq.host=118.24.44.169 2 | #spring.rabbitmq.username=guest 3 | #spring.rabbitmq.password=guest 4 | ##spring.rabbitmq.virtual-host= 5 | 6 | spring: 7 | rabbitmq: 8 | host: 116.62.48.220 9 | username: admin 10 | password: admin 11 | virtual-host: /java_mmr # \u659C\u6760\u5FC5\u987B\u5199\u4E0A\uFF0C\u8BE5\u865A\u62DF\u4E3B\u673A\u9700\u8981\u624B\u52A8\u521B\u5EFA\uFF0C\u5728rabbit\u7BA1\u7406\u754C\u9762admin->virtual-host 12 | port: 5672 -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/springboot-rabbitmq-delay-queue/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #spring.rabbitmq.host=118.24.44.169 2 | #spring.rabbitmq.username=guest 3 | #spring.rabbitmq.password=guest 4 | ##spring.rabbitmq.virtual-host= 5 | 6 | spring: 7 | rabbitmq: 8 | host: 116.62.48.220 9 | username: admin 10 | password: admin 11 | virtual-host: /java_mmr # \u659C\u6760\u5FC5\u987B\u5199\u4E0A\uFF0C\u8BE5\u865A\u62DF\u4E3B\u673A\u9700\u8981\u624B\u52A8\u521B\u5EFA\uFF0C\u5728rabbit\u7BA1\u7406\u754C\u9762admin->virtual-host 12 | port: 5672 -------------------------------------------------------------------------------- /springboot_mybatis_shiro_demo/src/test/java/com/example/li/springboot_mybatis_shiro_demo/SpringbootMybatisShiroDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mybatis_shiro_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootMybatisShiroDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/springboot-rabbitmq-delay-message/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #spring.rabbitmq.host=118.24.44.169 2 | #spring.rabbitmq.username=guest 3 | #spring.rabbitmq.password=guest 4 | ##spring.rabbitmq.virtual-host= 5 | 6 | spring: 7 | rabbitmq: 8 | host: 116.62.48.220 9 | username: admin 10 | password: admin 11 | virtual-host: /java_mmr # \u659C\u6760\u5FC5\u987B\u5199\u4E0A\uFF0C\u8BE5\u865A\u62DF\u4E3B\u673A\u9700\u8981\u624B\u52A8\u521B\u5EFA\uFF0C\u5728rabbit\u7BA1\u7406\u754C\u9762admin->virtual-host 12 | port: 5672 -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时重试/springboot-rabbitmq-delay-message/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | #spring.rabbitmq.host=118.24.44.169 2 | #spring.rabbitmq.username=guest 3 | #spring.rabbitmq.password=guest 4 | ##spring.rabbitmq.virtual-host= 5 | 6 | spring: 7 | rabbitmq: 8 | host: 116.62.48.220 9 | username: admin 10 | password: admin 11 | virtual-host: /java_mmr # \u659C\u6760\u5FC5\u987B\u5199\u4E0A\uFF0C\u8BE5\u865A\u62DF\u4E3B\u673A\u9700\u8981\u624B\u52A8\u521B\u5EFA\uFF0C\u5728rabbit\u7BA1\u7406\u754C\u9762admin->virtual-host 12 | port: 5672 -------------------------------------------------------------------------------- /springbt_security_jwt/src/main/java/cn/codesheep/springbt_security_jwt/comm/Const.java: -------------------------------------------------------------------------------- 1 | package cn.codesheep.springbt_security_jwt.comm; 2 | 3 | /** 4 | * @author LJH 5 | * @date 2019/8/23-10:35 6 | * @QQ 1755497577 7 | */ 8 | public class Const { 9 | 10 | public static final long EXPIRATION_TIME = 432_000_000; // 5天(以毫秒ms计) 11 | public static final String SECRET = "CodeAntSecret"; // JWT密钥 12 | public static final String TOKEN_PREFIX = "Bearer"; // Token前缀 13 | public static final String HEADER_STRING = "authorization"; // 存放Token的Header Key 14 | } 15 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-basic/yuezhi-basic-gateway/src/main/resources/bootstrap.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: dev 4 | application: 5 | name: yuezhi-basic-gateway 6 | cloud: 7 | nacos: 8 | discovery: 9 | server-addr: 123.56.129.198:8848 10 | # 配置中心 11 | config: 12 | # 地址 13 | server-addr: ${spring.cloud.nacos.discovery.server-addr} 14 | # 配置文件格式 15 | file-extension: yml 16 | sharedConfigs: 17 | - application-monitor-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} 18 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-basic/yuezhi-basic-monitor/src/main/resources/bootstrap.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | profiles: 3 | active: dev 4 | application: 5 | name: yuezhi-basic-monitor 6 | cloud: 7 | nacos: 8 | discovery: 9 | server-addr: 123.56.129.198:8848 10 | # 配置中心 11 | config: 12 | # 地址 13 | server-addr: ${spring.cloud.nacos.discovery.server-addr} 14 | # 配置文件格式 15 | file-extension: yml 16 | sharedConfigs: 17 | - application-monitor-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} 18 | -------------------------------------------------------------------------------- /springboot_cache_caffeine_demo/src/test/java/com/example/li/springboot_cache_caffeine_demo/SpringbootCacheCaffeineDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_cache_caffeine_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootCacheCaffeineDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_ow2_asm_asm_9_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/doc/file/编程规约.md: -------------------------------------------------------------------------------- 1 | ## 注释 2 | ### Java文件注释 3 | 4 | 在idea中设置`setting`->`file and code template`->`includes`->`file header`中填写一下内容: 5 | 6 | > ```java 7 | > /** 8 | > * 描述: 类描述 9 | > * 10 | > * @author 作者名 11 | > * @date ${YEAR}年${MONTH}月${DAY}日 ${TIME} 12 | > */ 13 | > ``` 14 | 15 | 生成示例: 16 | 17 | > ```java 18 | > /** 19 | > * 描述: 测试注释生成 20 | > * 21 | > * @author lijinhong 22 | > * @date 2021年01月29日 08:36 23 | > */ 24 | > public class Test { 25 | > } 26 | > ``` 27 | 28 | ### Java方法注释 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | ## 日志 37 | 38 | > 日志框架输出采用的`slf4j` -------------------------------------------------------------------------------- /springboot-hibernate-validation-demo/src/main/java/com/example/springboothibernatevalidationdemo/SpringbootHibernateValidationDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.springboothibernatevalidationdemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootHibernateValidationDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootHibernateValidationDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_filter_interceptor_demo/src/main/java/com/example/li/springboot_filter_interceptor_demo/SpringbootFilterInterceptorDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_filter_interceptor_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootFilterInterceptorDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootFilterInterceptorDemoApplication.class, args); 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /springboot_neo4j_example-master/src/main/java/org/neo4jdemo/model/result/PersonMovie.java: -------------------------------------------------------------------------------- 1 | package org.neo4jdemo.model.result; 2 | 3 | import lombok.Getter; 4 | import lombok.NoArgsConstructor; 5 | import lombok.Setter; 6 | import org.neo4jdemo.model.node.Movie; 7 | import org.neo4jdemo.model.node.Person; 8 | import org.springframework.data.neo4j.annotation.QueryResult; 9 | 10 | import java.util.Set; 11 | 12 | @Getter 13 | @Setter 14 | @NoArgsConstructor 15 | @QueryResult 16 | public class PersonMovie { 17 | private Person person; 18 | 19 | private Set movies; 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /springboot_rabbitmq_client_demo/src/test/java/com/example/li/springboot_rabbitmq_client_demo/SpringbootRabbitmqClientDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_rabbitmq_client_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootRabbitmqClientDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot- example-https/src/main/java/com/example/springbootexamplehttps/SpringbootExampleHttpsApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootexamplehttps; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootExampleHttpsApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootExampleHttpsApplication.class, args); 11 | System.out.println("http://127.0.0.1:9999/example/hello"); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_yaml_snakeyaml_1_26.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_docker_demo/src/main/java/com/example/li/springboot_docker_demo/HelloController.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_docker_demo; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.bind.annotation.ResponseBody; 6 | 7 | /** 8 | * @author Li 9 | * @date 2019/5/20-21:54 10 | */ 11 | @Controller 12 | public class HelloController { 13 | 14 | @RequestMapping("/hello") 15 | @ResponseBody 16 | public String Hello(){ 17 | return "hello docker!"; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /springboot_junit_demo/src/main/java/com/example/li/springboot_junit_demo/service/IUserService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_junit_demo.service; 2 | 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | public interface IUserService { 8 | 9 | public List> login(String user_id, String user_password); 10 | 11 | public Map register(String user_id, String user_password); 12 | 13 | public Map updateUser(Map properties); 14 | 15 | public Map getUserById(String user_id); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springbt_security_jwt/src/main/java/cn/codesheep/springbt_security_jwt/SpringbtSecurityJwtApplication.java: -------------------------------------------------------------------------------- 1 | package cn.codesheep.springbt_security_jwt; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | /** 7 | * @author LJH 8 | * @date 2019/8/23-10:35 9 | * @QQ 1755497577 10 | */ 11 | @SpringBootApplication 12 | public class SpringbtSecurityJwtApplication { 13 | 14 | public static void main(String[] args) { 15 | SpringApplication.run(SpringbtSecurityJwtApplication.class, args); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_reactivex_rxjava_1_3_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-multi-datasource-demo/src/main/resources/mapper/iceberg/item_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | -------------------------------------------------------------------------------- /springboot-sync-demo/src/main/java/com/example/codeant/springbootsyncdemo/SpringbootSyncDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.codeant.springbootsyncdemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.scheduling.annotation.EnableAsync; 6 | 7 | @EnableAsync 8 | @SpringBootApplication 9 | public class SpringbootSyncDemoApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringbootSyncDemoApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot_mybatis_demo/src/main/java/com/example/li/springboot_mybatis_demo/service/IUserService.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mybatis_demo.service; 2 | 3 | 4 | import java.util.List; 5 | import java.util.Map; 6 | 7 | public interface IUserService { 8 | 9 | public List> login(String user_id, String user_password); 10 | 11 | public Map register(String user_id, String user_password); 12 | 13 | public Map updateUser(Map properties); 14 | 15 | public Map getUserById(String user_id); 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__commons_io_commons_io_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-bean-life-demo/src/main/java/com/example/springbootbeanlifedemo/SpringbootBeanLifeDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.springbootbeanlifedemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | import javax.naming.Context; 7 | 8 | @SpringBootApplication 9 | public class SpringbootBeanLifeDemoApplication { 10 | 11 | public static void main(String[] args) throws InterruptedException { 12 | SpringApplication.run(SpringbootBeanLifeDemoApplication.class, args); 13 | 14 | } 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /springboot_filter_interceptor_demo/src/test/java/com/example/li/springboot_filter_interceptor_demo/SpringbootFilterInterceptorDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_filter_interceptor_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootFilterInterceptorDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_websocket_demo/src/main/java/com/example/li/springboot_websocket_demo/entity/HelloMessage.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_demo.entity; 2 | 3 | /** 4 | * @author Li 5 | * @date 2019/5/17-13:18 6 | */ 7 | 8 | public class HelloMessage { 9 | 10 | private String name; 11 | 12 | public HelloMessage() { 13 | } 14 | 15 | public HelloMessage(String name) { 16 | this.name = name; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | } -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-view/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | springboot-alibaba-yuezhi 7 | com.ruiyun 8 | 1.0-SNAPSHOT 9 | 10 | 4.0.0 11 | 12 | yuezhi-view 13 | 14 | 15 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_alibaba_fastjson_1_2_71.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__javax_inject_javax_inject_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__net_sf_ezmorph_ezmorph_1_0_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__net_sf_json_lib_json_lib_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_aspectj_aspectjrt_1_9_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_mybatis_shiro_demo/src/main/java/com/example/li/springboot_mybatis_shiro_demo/redis/MybatisRedisCacheTransfer.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_mybatis_shiro_demo.redis; 2 | 3 | 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.data.redis.core.RedisTemplate; 6 | import org.springframework.stereotype.Component; 7 | 8 | @Component 9 | public class MybatisRedisCacheTransfer { 10 | 11 | @Autowired 12 | public void setRedisTemplate(RedisTemplate redisTemplate) { 13 | MybatisRedisCache.setRedisTemplate(redisTemplate); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_websocket_simplechat_demo/src/test/java/com/example/li/springboot_websocket_simplechat_demo/SpringbootWebsocketSimplechatDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_simplechat_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootWebsocketSimplechatDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_google_code_gson_gson_2_8_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_cache_caffeine_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | cache: 3 | caffeine: 4 | spec: initialCapacity=50,maximumSize=500,expireAfterAccess=5s,expireAfterWrite=10s,refreshAfterWrite=5s 5 | 6 | 7 | # initialCapacity=[integer]: 初始的缓存空间大小 8 | # maximumSize=[long]: 缓存的最大条数 9 | # maximumWeight=[long]: 缓存的最大权重 10 | # expireAfterAccess=[duration]: 最后一次写入或访问后经过固定时间过期 11 | # expireAfterWrite=[duration]: 最后一次写入后经过固定时间过期 12 | # refreshAfterWrite=[duration]: 创建缓存或者最近一次更新缓存后经过固定的时间间隔,刷新缓存 13 | # weakKeys: 打开key的弱引用 14 | # weakValues:打开value的弱引用 15 | # softValues:打开value的软引用 16 | # recordStats:开发统计功能 -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(延时队列)/延时消费/springboot-rabbitmq-delay-message/src/main/java/com/codeant/spring_boot/rabbitmq/delay/queue/Application.java: -------------------------------------------------------------------------------- 1 | package com.codeant.spring_boot.rabbitmq.delay.queue; 2 | 3 | import org.springframework.amqp.rabbit.annotation.EnableRabbit; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @EnableRabbit 8 | @SpringBootApplication 9 | public class Application { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(Application.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /springboot_shiro_jwt_demo/src/main/java/com/example/li/springboot_shiro_jwt_demo/shiro/JWTToken.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_shiro_jwt_demo.shiro; 2 | 3 | import org.apache.shiro.authc.AuthenticationToken; 4 | 5 | public class JWTToken implements AuthenticationToken { 6 | 7 | // 密钥 8 | private String token; 9 | 10 | public JWTToken(String token) { 11 | this.token = token; 12 | } 13 | 14 | @Override 15 | public Object getPrincipal() { 16 | return token; 17 | } 18 | 19 | @Override 20 | public Object getCredentials() { 21 | return token; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_fasterxml_classmate_1_5_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__javax_ws_rs_jsr311_api_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_yaml_snakeyaml_1_28.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__commons_lang_commons_lang_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/src/main/java/com/example/miaoshademo/SpringbootRedisDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.miaoshademo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class SpringbootRedisDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(SpringbootRedisDemoApplication.class, args); 11 | System.out.println("http://localhost:9090/jz/pay?id=1"); 12 | System.out.println("该示例能够正常加锁, 但解锁功能有问题, 无法解锁"); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot_swagger_demo/src/main/java/com/example/li/springboot_swagger_demo/SpringbootSwaggerDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_swagger_demo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.web.servlet.config.annotation.EnableWebMvc; 6 | 7 | @SpringBootApplication 8 | @EnableWebMvc//开启MVC 9 | public class SpringbootSwaggerDemoApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringbootSwaggerDemoApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/artifacts/yuezhi_api_manager_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/yuezhi-api/yuezhi-api-manager/target 4 | 5 | 6 | yuezhi-api-manager 7 | war 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_google_guava_guava_29_0_jre.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_websocket_simplechat_demo/src/main/java/com/example/li/springboot_websocket_simplechat_demo/entity/HelloMessage.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_websocket_simplechat_demo.entity; 2 | 3 | /** 4 | * @author Li 5 | * @date 2019/5/17-13:18 6 | */ 7 | 8 | public class HelloMessage { 9 | 10 | private String name; 11 | 12 | public HelloMessage() { 13 | } 14 | 15 | public HelloMessage(String name) { 16 | this.name = name; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | } -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_projectlombok_lombok_1_18_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_projectlombok_lombok_1_18_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.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 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/consumer-demo/src/main/java/com/consumer/consumerdemo/config/MyAMQPConfig.java: -------------------------------------------------------------------------------- 1 | package com.consumer.consumerdemo.config; 2 | 3 | import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter; 4 | import org.springframework.amqp.support.converter.MessageConverter; 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | 8 | @Configuration 9 | public class MyAMQPConfig { 10 | 11 | @Bean 12 | public MessageConverter messageConverter(){ 13 | return new Jackson2JsonMessageConverter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /springboot_rabbitmq_demo/rabbitmq-demo(单播、广播)/provider-demo/src/main/java/com/provider/providerdemo/config/MyAMQPConfig.java: -------------------------------------------------------------------------------- 1 | package com.provider.providerdemo.config; 2 | 3 | import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter; 4 | import org.springframework.amqp.support.converter.MessageConverter; 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | 8 | @Configuration 9 | public class MyAMQPConfig { 10 | 11 | @Bean 12 | public MessageConverter messageConverter(){ 13 | return new Jackson2JsonMessageConverter(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /springbt_sso_jwt/springbt_sso_jwt.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_objenesis_objenesis_3_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_alibaba_nacos_nacos_api_1_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_sun_mail_jakarta_mail_1_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-jiezhang-setnx-demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | 2 | spring: 3 | redis: 4 | host: 47.103.202.12 5 | port: 6379 6 | password: codeAnt.+AAredis 7 | # 连接超时时间(记得添加单位,Duration) 8 | timeout: 10000ms 9 | # Redis默认情况下有16个分片,这里配置具体使用的分片 10 | database: 10 11 | lettuce: 12 | pool: 13 | # 连接池最大连接数(使用负值表示没有限制) 默认 8 14 | max-active: 8 15 | # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认 -1 16 | max-wait: -1ms 17 | # 连接池中的最大空闲连接 默认 8 18 | max-idle: 8 19 | # 连接池中的最小空闲连接 默认 0 20 | min-idle: 0 21 | 22 | server: 23 | servlet: 24 | context-path: /jz 25 | port: 9090 -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_32.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__commons_codec_commons_codec_1_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_prometheus_simpleclient_0_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_aspectj_aspectjweaver_1_9_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.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 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_19_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_reactivex_rxnetty_servo_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_fastdfs_demo/src/main/resources/templates/fileupload.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 文件上传 4 | 5 | 6 | 7 | 8 | 9 | 10 |

上传文件

11 |
12 | 13 | 14 | 15 |
16 | 17 |

删除文件

18 |
19 | 组名: 20 | ID: 21 | 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__net_minidev_json_smart_2_4_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-basic/yuezhi-basic-monitor/src/main/java/com/ruiyun/AdminServerApplication.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun; 2 | 3 | import de.codecentric.boot.admin.server.config.EnableAdminServer; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 7 | 8 | @EnableAdminServer 9 | @SpringBootApplication 10 | @EnableDiscoveryClient 11 | public class AdminServerApplication { 12 | public static void main(String[] args) { 13 | SpringApplication.run(AdminServerApplication.class, args); 14 | } 15 | } -------------------------------------------------------------------------------- /springboot_junit_demo/src/main/java/com/example/li/springboot_junit_demo/SpringbootJunitDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_junit_demo; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.boot.SpringApplication; 5 | import org.springframework.boot.autoconfigure.SpringBootApplication; 6 | 7 | @SpringBootApplication 8 | @MapperScan("com.example.li.springboot_junit_demo.dao.base")//将项目中对应的mapper类的路径加进来就可以了 9 | public class SpringbootJunitDemoApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(SpringbootJunitDemoApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_latencyutils_LatencyUtils_2_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_justauth_demo/src/main/resources/logback-spring.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | %d{yyyy-MM-dd HH:mm:ss} [%class:%line] %-5level - %msg%n 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/artifacts/yuezhi_service_business_war.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/yuezhi-service/yuezhi-service-business/target 4 | 5 | 6 | yuezhi-service-business 7 | war 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_alibaba_csp_sentinel_core_1_8_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_alibaba_nacos_nacos_client_1_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_alibaba_nacos_nacos_common_1_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_netflix_ribbon_ribbon_core_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_netflix_servo_servo_core_0_12_21.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_sun_jersey_jersey_client_1_19_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-kafka-demo/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_1_userservice_provider_demo/src/test/java/com/example/li/springboot_dubbo_1_userservice_provider_demo/SpringbootDubbo1UserserviceProviderDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_dubbo_1_userservice_provider_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootDubbo1UserserviceProviderDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_mockito_mockito_core_3_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_32.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_8_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_google_guava_failureaccess_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_micrometer_micrometer_core_1_5_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_netty_netty_codec_4_1_51_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_apache_commons_commons_lang3_3_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_64.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_64.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_hdrhistogram_HdrHistogram_2_1_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_cache_redis_demo/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | redis: 3 | host: 47.103.20.12 4 | port: 6379 5 | password: 6 | # 连接超时时间(记得添加单位,Duration) 7 | timeout: 10000ms 8 | # Redis默认情况下有16个分片,这里配置具体使用的分片 9 | database: 1 10 | lettuce: 11 | pool: 12 | # 连接池最大连接数(使用负值表示没有限制) 默认 8 13 | max-active: 8 14 | # 连接池最大阻塞等待时间(使用负值表示没有限制) 默认 -1 15 | max-wait: -1ms 16 | # 连接池中的最大空闲连接 默认 8 17 | max-idle: 8 18 | # 连接池中的最小空闲连接 默认 0 19 | min-idle: 0 20 | cache: 21 | # 一般来说是不用配置的,Spring Cache 会根据依赖的包自行装配 22 | type: redis 23 | logging: 24 | level: 25 | com.xkcoding: debug -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_2_orderservice_consumer_demo/src/test/java/com/example/li/springboot_dubbo_2_orderservice_consumer_demo/SpringbootDubbo2OrderserviceConsumerDemoApplicationTests.java: -------------------------------------------------------------------------------- 1 | package com.example.li.springboot_dubbo_2_orderservice_consumer_demo; 2 | 3 | import org.junit.Test; 4 | import org.junit.runner.RunWith; 5 | import org.springframework.boot.test.context.SpringBootTest; 6 | import org.springframework.test.context.junit4.SpringRunner; 7 | 8 | @RunWith(SpringRunner.class) 9 | @SpringBootTest 10 | public class SpringbootDubbo2OrderserviceConsumerDemoApplicationTests { 11 | 12 | @Test 13 | public void contextLoads() { 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /springboot_poi_excel-operate-demo/src/main/java/com/example/exceloperatedemo/ExcelOperateDemoApplication.java: -------------------------------------------------------------------------------- 1 | package com.example.exceloperatedemo; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | 6 | @SpringBootApplication 7 | public class ExcelOperateDemoApplication { 8 | 9 | public static void main(String[] args) { 10 | SpringApplication.run(ExcelOperateDemoApplication.class, args); 11 | System.out.println("导出 : http://localhost:8082/codeAntExcel/export"); 12 | System.out.println("导入 : http://localhost:8082/codeAntExcel/upload.html"); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.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 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_github_openfeign_feign_core_10_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_netty_netty_buffer_4_1_51_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_netty_netty_common_4_1_51_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_reactivex_rxnetty_contexts_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_22.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__org_assertj_assertj_core_3_19_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__commons_logging_commons_logging_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_netflix_hystrix_hystrix_core_1_5_18.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_github_openfeign_feign_slf4j_10_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_github_openfeign_form_feign_form_3_8_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_netty_netty_handler_4_1_51_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.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 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/yuezhi-service/yuezhi-service-business/src/main/java/com/ruiyun/ServiceBusinessApplication.java: -------------------------------------------------------------------------------- 1 | package com.ruiyun; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | 7 | /** 8 | * 描述: 业务服务启动类 9 | * 10 | * @author lijinhong 11 | * @date 21.1.28 12 | */ 13 | @SpringBootApplication 14 | @EnableDiscoveryClient 15 | public class ServiceBusinessApplication { 16 | public static void main(String[] args) { 17 | SpringApplication.run(ServiceBusinessApplication.class, args); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__com_netflix_archaius_archaius_core_0_7_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_checkerframework_checker_qual_2_11_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-sync-demo/src/main/java/com/example/codeant/springbootsyncdemo/async/Controller.java: -------------------------------------------------------------------------------- 1 | package com.example.codeant.springbootsyncdemo.async; 2 | 3 | import org.springframework.web.bind.annotation.RequestMapping; 4 | import org.springframework.web.bind.annotation.RestController; 5 | 6 | import javax.annotation.Resource; 7 | 8 | /** 9 | * 描述: 10 | * 11 | * @author lijinhong 12 | * @date 20.12.22 13 | */ 14 | @RestController 15 | @RequestMapping("test") 16 | public class Controller { 17 | 18 | @Resource 19 | private SyncService syncService; 20 | 21 | @RequestMapping("sync") 22 | public String test(){ 23 | return syncService.testSync("test"); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /springboot- example-https/.idea/libraries/Maven__net_minidev_accessors_smart_2_4_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__io_netty_netty_resolver_4_1_51_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot-alibaba-yuezhi/.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_11_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /springboot_dubbo/springboot_dubbo_0_interface_demo/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | --------------------------------------------------------------------------------