├── .gitignore ├── .idea ├── $PROJECT_FILE$ ├── .gitignore ├── compiler.xml ├── encodings.xml ├── inspectionProfiles │ └── Project_Default.xml ├── jarRepositories.xml ├── junitgenerator-prj-settings.xml ├── libraries │ ├── Maven__ch_qos_logback_logback_classic_1_2_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_2_3.xml │ ├── Maven__cn_hutool_hutool_all_5_3_3.xml │ ├── Maven__com_aliyun_aliyun_java_sdk_core_3_4_0.xml │ ├── Maven__com_aliyun_aliyun_java_sdk_ecs_4_2_0.xml │ ├── Maven__com_aliyun_aliyun_java_sdk_kms_2_7_0.xml │ ├── Maven__com_aliyun_aliyun_java_sdk_ram_3_0_0.xml │ ├── Maven__com_aliyun_aliyun_java_sdk_sts_3_0_0.xml │ ├── Maven__com_aliyun_oss_aliyun_sdk_oss_3_10_2.xml │ ├── Maven__com_baomidou_mybatis_plus_3_2_0.xml │ ├── Maven__com_baomidou_mybatis_plus_annotation_3_2_0.xml │ ├── Maven__com_baomidou_mybatis_plus_boot_starter_3_2_0.xml │ ├── Maven__com_baomidou_mybatis_plus_core_3_2_0.xml │ ├── Maven__com_baomidou_mybatis_plus_extension_3_2_0.xml │ ├── Maven__com_baomidou_mybatis_plus_generator_3_2_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_4.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_4.xml │ ├── Maven__com_github_jsqlparser_jsqlparser_2_1.xml │ ├── Maven__com_google_code_gson_gson_2_8_6.xml │ ├── Maven__com_jayway_jsonpath_json_path_2_4_0.xml │ ├── Maven__com_sun_xml_bind_jaxb_core_2_3_0.xml │ ├── Maven__com_sun_xml_bind_jaxb_impl_2_3_0.xml │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ ├── Maven__com_zaxxer_HikariCP_3_4_5.xml │ ├── Maven__commons_codec_commons_codec_1_15.xml │ ├── Maven__io_lettuce_lettuce_core_6_0_2_RELEASE.xml │ ├── Maven__io_netty_netty_buffer_4_1_58_Final.xml │ ├── Maven__io_netty_netty_codec_4_1_58_Final.xml │ ├── Maven__io_netty_netty_common_4_1_58_Final.xml │ ├── Maven__io_netty_netty_handler_4_1_58_Final.xml │ ├── Maven__io_netty_netty_resolver_4_1_58_Final.xml │ ├── Maven__io_netty_netty_transport_4_1_58_Final.xml │ ├── Maven__io_projectreactor_reactor_core_3_4_2.xml │ ├── Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml │ ├── Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml │ ├── Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml │ ├── Maven__javax_activation_activation_1_1_1.xml │ ├── Maven__javax_xml_bind_jaxb_api_2_3_0.xml │ ├── Maven__mysql_mysql_connector_java_8_0_22.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_10_19.xml │ ├── Maven__net_bytebuddy_byte_buddy_agent_1_10_19.xml │ ├── Maven__net_minidev_accessors_smart_1_2.xml │ ├── Maven__net_minidev_json_smart_2_3.xml │ ├── Maven__org_apache_httpcomponents_httpclient_4_5_13.xml │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_14.xml │ ├── Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml │ ├── Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_41.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_41.xml │ ├── Maven__org_apiguardian_apiguardian_api_1_1_0.xml │ ├── Maven__org_assertj_assertj_core_3_18_1.xml │ ├── Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml │ ├── Maven__org_bytedeco_javacpp_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_android_arm64_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_android_arm_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_android_x86_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_android_x86_64_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_armhf_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_ppc64le_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_x86_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_x86_64_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_macosx_x86_64_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_platform_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_windows_x86_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacpp_presets_ffmpeg_windows_x86_64_4_1_1_4_4.xml │ ├── Maven__org_bytedeco_javacv_1_4_4.xml │ ├── Maven__org_bytedeco_javacv_platform_1_4_4.xml │ ├── Maven__org_codehaus_jettison_jettison_1_1.xml │ ├── Maven__org_glassfish_jakarta_el_3_0_3.xml │ ├── Maven__org_hamcrest_hamcrest_2_2.xml │ ├── Maven__org_jdom_jdom2_2_0_6.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml │ ├── Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml │ ├── Maven__org_junit_platform_junit_platform_commons_1_7_0.xml │ ├── Maven__org_junit_platform_junit_platform_engine_1_7_0.xml │ ├── Maven__org_mockito_mockito_core_3_6_28.xml │ ├── Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml │ ├── Maven__org_mybatis_mybatis_3_5_2.xml │ ├── Maven__org_mybatis_mybatis_spring_2_0_2.xml │ ├── Maven__org_objenesis_objenesis_3_1.xml │ ├── Maven__org_opentest4j_opentest4j_1_2_0.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__org_projectlombok_lombok_1_18_16.xml │ ├── Maven__org_reactivestreams_reactive_streams_1_0_3.xml │ ├── Maven__org_skyscreamer_jsonassert_1_5_0.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_30.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_30.xml │ ├── Maven__org_springframework_boot_spring_boot_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_configuration_processor_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_devtools_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_data_redis_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_json_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_security_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_test_2_4_2.xml │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_2.xml │ ├── Maven__org_springframework_data_spring_data_commons_2_4_3.xml │ ├── Maven__org_springframework_data_spring_data_keyvalue_2_4_3.xml │ ├── Maven__org_springframework_data_spring_data_redis_2_4_3.xml │ ├── Maven__org_springframework_security_spring_security_config_5_4_2.xml │ ├── Maven__org_springframework_security_spring_security_core_5_4_2.xml │ ├── Maven__org_springframework_security_spring_security_test_5_4_2.xml │ ├── Maven__org_springframework_security_spring_security_web_5_4_2.xml │ ├── Maven__org_springframework_spring_aop_5_3_3.xml │ ├── Maven__org_springframework_spring_beans_5_3_3.xml │ ├── Maven__org_springframework_spring_context_5_3_3.xml │ ├── Maven__org_springframework_spring_context_support_5_3_3.xml │ ├── Maven__org_springframework_spring_core_5_3_3.xml │ ├── Maven__org_springframework_spring_expression_5_3_3.xml │ ├── Maven__org_springframework_spring_jcl_5_3_3.xml │ ├── Maven__org_springframework_spring_jdbc_5_3_3.xml │ ├── Maven__org_springframework_spring_oxm_5_3_3.xml │ ├── Maven__org_springframework_spring_test_5_3_3.xml │ ├── Maven__org_springframework_spring_tx_5_3_3.xml │ ├── Maven__org_springframework_spring_web_5_3_3.xml │ ├── Maven__org_springframework_spring_webmvc_5_3_3.xml │ ├── Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml │ ├── Maven__org_thymeleaf_extras_thymeleaf_extras_springsecurity5_3_0_4_RELEASE.xml │ ├── Maven__org_thymeleaf_thymeleaf_3_0_12_RELEASE.xml │ ├── Maven__org_thymeleaf_thymeleaf_spring5_3_0_12_RELEASE.xml │ ├── Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml │ ├── Maven__org_xmlunit_xmlunit_core_2_7_0.xml │ ├── Maven__org_yaml_snakeyaml_1_27.xml │ └── Maven__stax_stax_api_1_0_1.xml ├── misc.xml ├── modules.xml ├── uiDesigner.xml └── vcs.xml ├── LangV.iml ├── LangV.sql ├── README.md ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── videoSite │ │ ├── CodeGenerator.java │ │ ├── VideoSiteApplication.java │ │ ├── common │ │ ├── constant │ │ │ ├── MyOss.java │ │ │ ├── MyVideoPath.java │ │ │ └── OssClient.java │ │ └── dto │ │ │ ├── SignUpDto.java │ │ │ └── VideoDto.java │ │ ├── config │ │ ├── MyMvcConfig.java │ │ ├── MyRedisConfig.java │ │ ├── MybatisXConfig.java │ │ └── SecurityConfig.java │ │ ├── controller │ │ ├── CollectionController.java │ │ ├── CommentController.java │ │ ├── Login_RegisterController.java │ │ ├── NotificationController.java │ │ ├── SubscribeController.java │ │ ├── UserController.java │ │ └── VideoController.java │ │ ├── entity │ │ ├── Comment.java │ │ ├── Notification.java │ │ ├── Subscribe.java │ │ ├── User.java │ │ └── Video.java │ │ ├── handler │ │ ├── LoginFailureHandler.java │ │ └── LoginSuccessHandler.java │ │ ├── mapper │ │ ├── CollectionMapper.java │ │ ├── CommentMapper.java │ │ ├── SubscribeMapper.java │ │ ├── UserMapper.java │ │ └── VideoMapper.java │ │ ├── service │ │ ├── CommentService.java │ │ ├── ScheduledService.java │ │ ├── SubscribeService.java │ │ ├── UserService.java │ │ ├── VideoService.java │ │ └── impl │ │ │ ├── CommentServiceImpl.java │ │ │ ├── SubscribeServiceImpl.java │ │ │ ├── UserServiceImpl.java │ │ │ └── VideoServiceImpl.java │ │ └── utils │ │ ├── FFmpegUtils.java │ │ ├── GetCurrentUserUtil.java │ │ ├── MD5PasswordEncoder.java │ │ ├── MD5utils.java │ │ ├── NotificationUtil.java │ │ ├── RedisUtils.java │ │ └── VideoUtils.java └── resources │ ├── application.yaml │ ├── mapper │ ├── CollectionMapper.xml │ ├── CommentMapper.xml │ ├── SubscribeMapper.xml │ ├── UserMapper.xml │ └── VideoMapper.xml │ ├── static │ ├── css │ │ ├── bootstrap-fileupload.min.css │ │ ├── bootstrap-reset.css │ │ ├── bootstrap.css │ │ ├── bootstrap.min.css │ │ ├── clndr.css │ │ ├── jquery-ui-1.10.3.css │ │ ├── jquery.stepy.css │ │ ├── mycss.css │ │ ├── style-responsive.css │ │ ├── style.css │ │ └── table-responsive.css │ ├── favicon.ico │ ├── fonts │ │ ├── css │ │ │ ├── font-awesome.css │ │ │ └── font-awesome.min.css │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ └── less │ │ │ ├── bordered-pulled.less │ │ │ ├── core.less │ │ │ ├── fixed-width.less │ │ │ ├── font-awesome.css │ │ │ ├── font-awesome.less │ │ │ ├── icons.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── mixins.css │ │ │ ├── mixins.less │ │ │ ├── path.less │ │ │ ├── rotated-flipped.less │ │ │ ├── spinning.less │ │ │ ├── stacked.less │ │ │ ├── variables.css │ │ │ └── variables.less │ ├── images │ │ ├── 404-error.png │ │ ├── 500-error.png │ │ ├── avatar-mini.jpg │ │ ├── favicon.ico │ │ ├── icon_up.png │ │ ├── loading.gif │ │ ├── login-bg.jpg │ │ ├── login.jpg │ │ ├── mylogo.png │ │ ├── photos │ │ │ ├── user-avatar.png │ │ │ ├── user.png │ │ │ ├── user1.png │ │ │ ├── user2.png │ │ │ ├── user3.png │ │ │ ├── user4.png │ │ │ └── user5.png │ │ ├── post_succ.png │ │ └── youtube.png │ └── js │ │ ├── DPlayer.hls.js │ │ ├── DPlayer.min.js │ │ ├── advanced-datatable │ │ ├── css │ │ │ ├── demo_page.css │ │ │ └── demo_table.css │ │ └── js │ │ │ └── jquery.dataTables.js │ │ ├── axios.min.js │ │ ├── bootstrap-colorpicker │ │ ├── css │ │ │ └── colorpicker.css │ │ ├── img │ │ │ ├── alpha.png │ │ │ └── saturation.png │ │ └── js │ │ │ └── bootstrap-colorpicker.js │ │ ├── bootstrap-datepicker │ │ ├── css │ │ │ └── datepicker-custom.css │ │ └── js │ │ │ └── bootstrap-datepicker.js │ │ ├── bootstrap-daterangepicker │ │ ├── daterangepicker-bs3.css │ │ ├── daterangepicker.js │ │ └── moment.min.js │ │ ├── bootstrap-datetimepicker │ │ ├── css │ │ │ └── datetimepicker-custom.css │ │ └── js │ │ │ └── bootstrap-datetimepicker.js │ │ ├── bootstrap-fileupload.min.js │ │ ├── bootstrap-inputmask │ │ └── bootstrap-inputmask.min.js │ │ ├── bootstrap-timepicker │ │ ├── css │ │ │ └── timepicker.css │ │ └── js │ │ │ └── bootstrap-timepicker.js │ │ ├── bootstrap-wysihtml5 │ │ ├── bootstrap-wysihtml5.css │ │ ├── bootstrap-wysihtml5.js │ │ ├── wysihtml5-0.3.0.js │ │ └── wysiwyg-color.css │ │ ├── bootstrap.min.js │ │ ├── c3-chart │ │ ├── c3-chart.init.js │ │ ├── c3.css │ │ └── c3.js │ │ ├── calendar │ │ ├── clndr.js │ │ ├── evnt.calendar.init.js │ │ └── moment-2.2.1.js │ │ ├── chart-js │ │ ├── Chart.js │ │ └── chartjs.init.js │ │ ├── ckeditor │ │ ├── ckeditor.js │ │ ├── config.js │ │ ├── contents.css │ │ ├── lang │ │ │ └── zh-cn.js │ │ ├── plugins │ │ │ └── icons.png │ │ ├── skins │ │ │ └── moono │ │ │ │ ├── editor.css │ │ │ │ └── icons.png │ │ └── styles.js │ │ ├── dashboard-chart-init.js │ │ ├── data-tables │ │ ├── DT_bootstrap.css │ │ ├── DT_bootstrap.js │ │ ├── images │ │ │ ├── sort_asc.png │ │ │ ├── sort_both.png │ │ │ └── sort_desc.png │ │ └── jquery.dataTables.js │ │ ├── dropzone │ │ ├── css │ │ │ └── dropzone.css │ │ ├── dropzone.js │ │ └── images │ │ │ └── spritemap.png │ │ ├── dynamic_table_init.js │ │ ├── easypiechart │ │ ├── easypiechart-init.js │ │ └── jquery.easypiechart.js │ │ ├── editable-table.js │ │ ├── external-dragging-calendar.js │ │ ├── flot-chart │ │ ├── jquery.flot.js │ │ ├── jquery.flot.pie.resize.js │ │ ├── jquery.flot.resize.js │ │ ├── jquery.flot.selection.js │ │ ├── jquery.flot.stack.js │ │ ├── jquery.flot.time.js │ │ └── jquery.flot.tooltip.js │ │ ├── flot.chart.init.js │ │ ├── fuelux │ │ ├── css │ │ │ └── tree-style.css │ │ ├── img │ │ │ └── tree-icons.png │ │ └── js │ │ │ ├── spinner.min.js │ │ │ └── tree.min.js │ │ ├── fullcalendar │ │ ├── bootstrap-fullcalendar.css │ │ └── fullcalendar.min.js │ │ ├── google-map │ │ ├── gmaps-init.js │ │ └── gmaps.js │ │ ├── gritter │ │ ├── css │ │ │ └── jquery.gritter.css │ │ └── js │ │ │ ├── gritter-init.js │ │ │ └── jquery.gritter.js │ │ ├── iCheck │ │ ├── jquery.icheck.js │ │ └── skins │ │ │ ├── flat │ │ │ ├── blue.css │ │ │ ├── blue.png │ │ │ ├── green.css │ │ │ ├── green.png │ │ │ ├── grey.css │ │ │ ├── grey.png │ │ │ ├── purple.css │ │ │ ├── purple.png │ │ │ ├── red.css │ │ │ ├── red.png │ │ │ ├── yellow.css │ │ │ └── yellow.png │ │ │ ├── minimal │ │ │ ├── blue.css │ │ │ ├── blue.png │ │ │ ├── green.css │ │ │ ├── green.png │ │ │ ├── minimal.css │ │ │ ├── minimal.png │ │ │ ├── purple.css │ │ │ ├── purple.png │ │ │ ├── red.css │ │ │ ├── red.png │ │ │ ├── yellow.css │ │ │ └── yellow.png │ │ │ └── square │ │ │ ├── blue.css │ │ │ ├── blue.png │ │ │ ├── green.css │ │ │ ├── green.png │ │ │ ├── purple.css │ │ │ ├── purple.png │ │ │ ├── red.css │ │ │ ├── red.png │ │ │ ├── square.css │ │ │ ├── square.png │ │ │ ├── yellow.css │ │ │ └── yellow.png │ │ ├── icheck-init.js │ │ ├── ion.rangeSlider-1.8.2 │ │ ├── css │ │ │ ├── ion.rangeSlider.css │ │ │ └── ion.rangeSlider.skinFlat.css │ │ ├── img │ │ │ └── sprite-skin-flat.png │ │ └── js │ │ │ └── ion-rangeSlider │ │ │ └── ion.rangeSlider.min.js │ │ ├── ios-switch │ │ ├── ios-init.js │ │ ├── switchery.css │ │ └── switchery.js │ │ ├── jquery-1.10.2.min.js │ │ ├── jquery-migrate-1.2.1.min.js │ │ ├── jquery-multi-select │ │ ├── css │ │ │ └── multi-select.css │ │ ├── img │ │ │ └── switch.png │ │ └── js │ │ │ ├── jquery.multi-select.js │ │ │ └── jquery.quicksearch.js │ │ ├── jquery-tags-input │ │ ├── jquery.tagsinput.css │ │ └── jquery.tagsinput.js │ │ ├── jquery-ui-1.9.2.custom.min.js │ │ ├── jquery.isotope.js │ │ ├── jquery.nicescroll.js │ │ ├── jquery.stepy.js │ │ ├── jquery.validate.min.js │ │ ├── jvector-map │ │ └── jqvmap │ │ │ ├── data │ │ │ └── jquery.vmap.sampledata.js │ │ │ ├── jquery.vmap.js │ │ │ └── maps │ │ │ ├── continents │ │ │ ├── jquery.vmap.asia.js │ │ │ ├── jquery.vmap.australia.js │ │ │ └── jquery.vmap.europe.js │ │ │ └── jquery.vmap.world.js │ │ ├── modernizr.min.js │ │ ├── morris-chart │ │ ├── morris.css │ │ ├── morris.init.js │ │ ├── morris.js │ │ └── raphael-min.js │ │ ├── multi-select-init.js │ │ ├── nestable-init.js │ │ ├── nestable │ │ ├── jquery.nestable.css │ │ └── jquery.nestable.js │ │ ├── newImport │ │ └── moment.min.js │ │ ├── pickers-init.js │ │ ├── scripts.js │ │ ├── sparkline │ │ ├── jquery.sparkline.js │ │ └── sparkline-init.js │ │ ├── spinner-init.js │ │ ├── tagsinput-init.js │ │ ├── tree-init.js │ │ ├── validation-init.js │ │ └── vue.min.js │ └── templates │ ├── common │ └── header.html │ ├── error │ ├── 4xx.html │ └── 5xx.html │ ├── index.html │ ├── login.html │ ├── manager.html │ ├── register.html │ ├── user │ ├── collection.html │ ├── fans.html │ ├── focus.html │ ├── home.html │ └── videos.html │ └── video │ ├── post.html │ └── video.html └── test └── java └── com └── videoSite └── VideoSiteApplicationTests.java /.gitignore: -------------------------------------------------------------------------------- 1 | # Project exclude paths 2 | /target/ -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Datasource local storage ignored files 5 | /dataSources/ 6 | /dataSources.local.xml 7 | # Editor-based HTTP Client requests 8 | /httpRequests/ 9 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 24 | 25 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 15 | -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 14 | 15 | 19 | 20 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__cn_hutool_hutool_all_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_aliyun_aliyun_java_sdk_core_3_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_aliyun_aliyun_java_sdk_ecs_4_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_aliyun_aliyun_java_sdk_kms_2_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_aliyun_aliyun_java_sdk_ram_3_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_aliyun_aliyun_java_sdk_sts_3_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_aliyun_oss_aliyun_sdk_oss_3_10_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_annotation_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_boot_starter_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_core_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_extension_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_generator_3_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_11_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_11_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_jsqlparser_jsqlparser_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_xml_bind_jaxb_core_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_zaxxer_HikariCP_3_4_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_15.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_lettuce_lettuce_core_6_0_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_buffer_4_1_58_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_4_1_58_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_common_4_1_58_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_handler_4_1_58_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_resolver_4_1_58_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_transport_4_1_58_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_projectreactor_reactor_core_3_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jakarta_activation_jakarta_activation_api_1_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jakarta_annotation_jakarta_annotation_api_1_3_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__jakarta_xml_bind_jakarta_xml_bind_api_2_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_activation_activation_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_8_0_22.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_10_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_agent_1_10_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_accessors_smart_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_json_smart_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_5_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_logging_log4j_log4j_api_2_13_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_logging_log4j_log4j_to_slf4j_2_13_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_9_0_41.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_9_0_41.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apiguardian_apiguardian_api_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_assertj_assertj_core_3_18_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_attoparser_attoparser_2_0_5_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_android_arm64_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_android_arm_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_android_x86_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_android_x86_64_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_armhf_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_ppc64le_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_x86_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_linux_x86_64_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_macosx_x86_64_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_platform_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_windows_x86_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacpp_presets_ffmpeg_windows_x86_64_4_1_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacv_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bytedeco_javacv_platform_1_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_glassfish_jakarta_el_3_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jdom_jdom2_2_0_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_5_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_api_5_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_engine_5_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_jupiter_junit_jupiter_params_5_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_platform_junit_platform_commons_1_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_junit_platform_junit_platform_engine_1_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_3_6_28.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_junit_jupiter_3_6_28.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_3_5_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_spring_2_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_opentest4j_opentest4j_1_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_0_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_projectlombok_lombok_1_18_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_skyscreamer_jsonassert_1_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_30.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_configuration_processor_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_devtools_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_data_redis_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_json_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_security_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_2_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_commons_2_4_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_keyvalue_2_4_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_data_spring_data_redis_2_4_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_config_5_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_core_5_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_test_5_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_web_5_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_support_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jcl_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_oxm_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_test_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_5_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_java8time_3_0_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_extras_thymeleaf_extras_springsecurity5_3_0_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_12_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring5_3_0_12_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_unbescape_unbescape_1_1_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_xmlunit_xmlunit_core_2_7_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_27.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__stax_stax_api_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/VideoSiteApplication.java: -------------------------------------------------------------------------------- 1 | package com.videoSite; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.scheduling.annotation.EnableScheduling; 6 | 7 | @SpringBootApplication 8 | @EnableScheduling 9 | public class VideoSiteApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(VideoSiteApplication.class, args); 13 | } 14 | 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/common/constant/MyOss.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.common.constant; 2 | 3 | import com.aliyun.oss.OSS; 4 | import com.aliyun.oss.OSSClientBuilder; 5 | import lombok.Data; 6 | import org.springframework.boot.context.properties.ConfigurationProperties; 7 | import org.springframework.stereotype.Component; 8 | 9 | /** 10 | * 11 | **/ 12 | @Data 13 | @Component 14 | @ConfigurationProperties(prefix = "my-oss") 15 | public class MyOss { 16 | String ENDPOINT; 17 | String ACCESS_KEY_Id; 18 | String ACCESS_KEY_SECRET; 19 | String BUCKET_NAME; 20 | String BUCKET_IP; 21 | public OSS build(){ 22 | return new OSSClientBuilder().build(ENDPOINT,ACCESS_KEY_Id,ACCESS_KEY_SECRET); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/common/constant/MyVideoPath.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.common.constant; 2 | 3 | import lombok.Data; 4 | import org.springframework.boot.context.properties.ConfigurationProperties; 5 | import org.springframework.stereotype.Component; 6 | 7 | /** 8 | * 9 | **/ 10 | @Data 11 | @Component 12 | @ConfigurationProperties(prefix = "my-video-path") 13 | public class MyVideoPath { 14 | private String MYPATH; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/common/constant/OssClient.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.common.constant; 2 | 3 | import com.aliyun.oss.OSS; 4 | import com.aliyun.oss.OSSClient; 5 | import com.aliyun.oss.OSSClientBuilder; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Component; 8 | 9 | /** 10 | * OssClient 11 | * 12 | * @author: liuwei 13 | * @date: 2021/6/4 14 | */ 15 | @Component 16 | public class OssClient { 17 | @Autowired 18 | MyOss oss; 19 | private OssClient(){}; 20 | private OSS ossClient=null; 21 | public OSS getOssClient(){ 22 | if (ossClient==null){ 23 | return new OSSClientBuilder().build(oss.ENDPOINT,oss.ACCESS_KEY_Id,oss.ACCESS_KEY_SECRET); 24 | }else { 25 | return ossClient; 26 | } 27 | 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/common/dto/SignUpDto.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.common.dto; 2 | 3 | import lombok.Data; 4 | 5 | import java.io.Serializable; 6 | 7 | /** 8 | * 9 | **/ 10 | @Data 11 | public class SignUpDto implements Serializable { 12 | // @NotBlank(message = "昵称不能为空") 13 | private String username; 14 | // @NotBlank(message = "密码不能为空") 15 | private String password; 16 | 17 | private String email; 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/common/dto/VideoDto.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.common.dto; 2 | 3 | import lombok.Data; 4 | import org.springframework.web.bind.annotation.RequestParam; 5 | import org.springframework.web.bind.annotation.RequestPart; 6 | import org.springframework.web.multipart.MultipartFile; 7 | 8 | import java.io.File; 9 | 10 | /** 11 | * 12 | **/ 13 | @Data 14 | public class VideoDto { 15 | private String title; 16 | private String username; 17 | private MultipartFile videoFile; 18 | private String introduction; 19 | private int status; 20 | private MultipartFile img; 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/config/MyMvcConfig.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.config; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; 5 | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; 6 | 7 | @Configuration 8 | public class MyMvcConfig implements WebMvcConfigurer { 9 | 10 | //配置视图控制器 11 | @Override 12 | public void addViewControllers(ViewControllerRegistry registry) { 13 | registry.addViewController("/").setViewName("index"); 14 | registry.addViewController("/index.html").setViewName("index"); 15 | registry.addViewController("/login.html").setViewName("login"); 16 | registry.addViewController("/register.html").setViewName("register"); 17 | registry.addViewController("/post.html").setViewName("video/post"); 18 | 19 | } 20 | } -------------------------------------------------------------------------------- /src/main/java/com/videoSite/config/MybatisXConfig.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.config; 2 | 3 | import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; 4 | import org.mybatis.spring.annotation.MapperScan; 5 | import org.springframework.context.annotation.Bean; 6 | import org.springframework.context.annotation.Configuration; 7 | import org.springframework.transaction.annotation.EnableTransactionManagement; 8 | 9 | /** 10 | * 11 | **/ 12 | @Configuration 13 | @EnableTransactionManagement 14 | @MapperScan("com.videoSite.mapper") 15 | public class MybatisXConfig { 16 | 17 | @Bean 18 | public PaginationInterceptor paginationInterceptor(){ 19 | PaginationInterceptor paginationInterceptor=new PaginationInterceptor(); 20 | return paginationInterceptor; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/controller/NotificationController.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.controller; 2 | 3 | import com.videoSite.utils.RedisUtils; 4 | import org.springframework.beans.factory.annotation.Autowired; 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.GetMapping; 7 | import org.springframework.web.bind.annotation.PathVariable; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | import org.springframework.web.bind.annotation.RestController; 10 | 11 | import java.util.List; 12 | 13 | /** 14 | * @author 关注公众号:JxHub 15 | * @since 2021-03-22 16 | **/ 17 | @RestController 18 | @RequestMapping("/notification") 19 | public class NotificationController { 20 | 21 | @Autowired 22 | RedisUtils redisUtils; 23 | /* 24 | * 获取通知信息 25 | * */ 26 | @GetMapping("/getNotifications/{beNotifier}") 27 | public List getNotifications(@PathVariable("beNotifier") String beNotifier){ 28 | List list = redisUtils.lGet(beNotifier, 0, -1); 29 | return list; 30 | } 31 | @GetMapping("/getNotificationsNum/{beNotifier}") 32 | public Integer getNotificationsNum(@PathVariable("beNotifier") String beNotifier){ 33 | Integer num = (Integer) redisUtils.get(beNotifier+"_num"); 34 | return num; 35 | } 36 | /* 37 | * 通知信息点击已读 38 | * */ 39 | @GetMapping("/clearNotifications/{beNotifier}") 40 | public void clearNotifications(@PathVariable("beNotifier") String beNotifier){ 41 | redisUtils.del(beNotifier); 42 | } 43 | @GetMapping("/clearNotificationsNum/{beNotifier}") 44 | public void clearNotificationsNum(@PathVariable("beNotifier") String beNotifier){ 45 | beNotifier=beNotifier+"_num"; 46 | redisUtils.del(beNotifier); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/entity/Comment.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.TableName; 4 | import com.baomidou.mybatisplus.annotation.IdType; 5 | import com.baomidou.mybatisplus.annotation.TableId; 6 | import java.time.LocalDateTime; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | 10 | import lombok.Data; 11 | import lombok.EqualsAndHashCode; 12 | import lombok.experimental.Accessors; 13 | 14 | /** 15 | *

16 | * 17 | *

18 | * 19 | * @author 关注公众号:MarkerHub 20 | * @since 2021-03-22 21 | */ 22 | @Data 23 | @EqualsAndHashCode(callSuper = false) 24 | @Accessors(chain = true) 25 | @TableName("m_comment") 26 | public class Comment implements Serializable { 27 | 28 | private static final long serialVersionUID = 1L; 29 | 30 | @TableId(value = "id", type = IdType.AUTO) 31 | private Long id; 32 | 33 | private Long video_id; 34 | 35 | private String video_username; 36 | 37 | private String commentator; 38 | 39 | private Date commentTime; 40 | 41 | private String commentInfo; 42 | 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/entity/Notification.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | 10 | /** 11 | * 12 | **/ 13 | @Data 14 | @AllArgsConstructor 15 | @NoArgsConstructor 16 | public class Notification implements Serializable { 17 | private String notifier; 18 | private String beNotifier; 19 | private Date notify_time; 20 | private String url; 21 | private String msg; 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/entity/Subscribe.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.TableName; 4 | import java.io.Serializable; 5 | import java.util.Date; 6 | 7 | import lombok.Data; 8 | import lombok.EqualsAndHashCode; 9 | import lombok.experimental.Accessors; 10 | 11 | /** 12 | *

13 | * 14 | *

15 | * 16 | * @author 关注公众号:MarkerHub 17 | * @since 2021-03-17 18 | */ 19 | @Data 20 | @EqualsAndHashCode(callSuper = false) 21 | @Accessors(chain = true) 22 | @TableName("m_subscribe") 23 | public class Subscribe implements Serializable { 24 | 25 | private static final long serialVersionUID = 1L; 26 | 27 | private String youtuber; 28 | 29 | private String subscriber; 30 | 31 | private Date subscribe_time; 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/entity/User.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.TableName; 4 | import com.baomidou.mybatisplus.annotation.IdType; 5 | import com.baomidou.mybatisplus.annotation.TableId; 6 | import java.io.Serializable; 7 | import java.util.List; 8 | 9 | import lombok.Data; 10 | import lombok.EqualsAndHashCode; 11 | import lombok.experimental.Accessors; 12 | 13 | /** 14 | *

15 | * 16 | *

17 | * 18 | * @author 关注公众号:MarkerHub 19 | * @since 2021-03-10 20 | */ 21 | @Data 22 | @EqualsAndHashCode(callSuper = false) 23 | @Accessors(chain = true) 24 | @TableName("m_user") 25 | public class User implements Serializable { 26 | 27 | private static final long serialVersionUID = 1L; 28 | 29 | @TableId(value = "id", type = IdType.AUTO) 30 | private Integer id; 31 | 32 | private String username; 33 | 34 | private String password; 35 | 36 | private String role; 37 | private Integer status; 38 | private String email; 39 | private String signature; 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/entity/Video.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.entity; 2 | 3 | import com.baomidou.mybatisplus.annotation.TableName; 4 | import com.baomidou.mybatisplus.annotation.IdType; 5 | import com.baomidou.mybatisplus.annotation.TableId; 6 | import com.baomidou.mybatisplus.annotation.TableField; 7 | import java.io.Serializable; 8 | import java.util.Date; 9 | import java.util.List; 10 | 11 | import com.fasterxml.jackson.annotation.JsonFormat; 12 | import lombok.Data; 13 | import lombok.EqualsAndHashCode; 14 | import lombok.experimental.Accessors; 15 | 16 | /** 17 | *

18 | * 19 | *

20 | * 21 | * @author 关注公众号:MarkerHub 22 | * @since 2021-03-10 23 | */ 24 | @Data 25 | @EqualsAndHashCode(callSuper = false) 26 | @Accessors(chain = true) 27 | @TableName("m_video") 28 | public class Video implements Serializable { 29 | 30 | private static final long serialVersionUID = 1L; 31 | 32 | @TableId(value = "id", type = IdType.AUTO) 33 | private Long id; 34 | 35 | private String title; 36 | 37 | private String time; 38 | 39 | private String img; 40 | 41 | private String username; 42 | 43 | private String url; 44 | 45 | private String introduction; 46 | 47 | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss ",timezone = "GMT+8") 48 | private Date postTime; 49 | 50 | //默认为0对所有人可见,1仅粉丝可见,2仅自己可见,3置顶 51 | private Integer status; 52 | 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/handler/LoginFailureHandler.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.handler; 2 | 3 | import org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler; 4 | import org.springframework.stereotype.Component; 5 | 6 | /** 7 | * 解决登录失败回显信息问题 8 | **/ 9 | @Component 10 | public class LoginFailureHandler extends SimpleUrlAuthenticationFailureHandler { 11 | public LoginFailureHandler(){ 12 | this.setDefaultFailureUrl("/userLogin?error=true"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/handler/LoginSuccessHandler.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.handler;/** 2 | * 3 | **/ 4 | 5 | import org.springframework.security.core.Authentication; 6 | import org.springframework.security.core.authority.AuthorityUtils; 7 | import org.springframework.security.web.authentication.AuthenticationSuccessHandler; 8 | 9 | import javax.servlet.ServletException; 10 | import javax.servlet.http.HttpServletRequest; 11 | import javax.servlet.http.HttpServletResponse; 12 | import java.io.IOException; 13 | import java.util.Set; 14 | 15 | /** 16 | * @introduction 17 | * @author ljz 18 | * @date 2022年03月25日 12:52 19 | */ 20 | public class LoginSuccessHandler implements AuthenticationSuccessHandler { 21 | public void onAuthenticationSuccess(HttpServletRequest request, 22 | HttpServletResponse response, Authentication authentication) throws IOException, ServletException { 23 | 24 | Set roles = AuthorityUtils.authorityListToSet(authentication.getAuthorities()); 25 | String path = request.getContextPath(); 26 | String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; 27 | System.out.println(basePath); 28 | if (roles.contains("ROLE_ADMIN")) { 29 | //拥有admin角色的用户登录时进入manage页面 30 | response.sendRedirect(basePath + "manager"); 31 | return; 32 | } 33 | //否则进入index页面 34 | response.sendRedirect(basePath + "index"); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/videoSite/mapper/CollectionMapper.java: -------------------------------------------------------------------------------- 1 | package com.videoSite.mapper; 2 | 3 | import com.baomidou.mybatisplus.core.mapper.BaseMapper; 4 | import com.baomidou.mybatisplus.core.metadata.IPage; 5 | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; 6 | import com.videoSite.entity.Comment; 7 | import com.videoSite.entity.Video; 8 | import org.apache.ibatis.annotations.Mapper; 9 | import org.apache.ibatis.annotations.Param; 10 | 11 | import java.util.List; 12 | 13 | /** 14 | *

15 | * Mapper 接口 16 | *

17 | * 18 | * @author 关注公众号:MarkerHub 19 | * @since 2021-03-22 20 | */ 21 | @Mapper 22 | public interface CollectionMapper { 23 | void addCollectionByUsername(@Param("username") String username,@Param("videoId") Integer videoId); 24 | void cancelCollectionByUsername(@Param("username") String username,@Param("videoId") Integer videoId); 25 | IPage