├── srvc-uams ├── core │ └── src │ │ └── main │ │ ├── resources │ │ ├── static │ │ │ ├── images │ │ │ │ ├── bg.jpg │ │ │ │ ├── app.png │ │ │ │ ├── bord.png │ │ │ │ ├── bt_1.gif │ │ │ │ ├── bt_2.gif │ │ │ │ ├── derr.gif │ │ │ │ ├── down.png │ │ │ │ ├── ico1.png │ │ │ │ ├── ios.png │ │ │ │ ├── logo.png │ │ │ │ ├── null.png │ │ │ │ ├── after.png │ │ │ │ ├── android.png │ │ │ │ ├── appdown.png │ │ │ │ ├── blank.png │ │ │ │ ├── bord1.png │ │ │ │ ├── button.gif │ │ │ │ ├── downIco.png │ │ │ │ ├── dsucess.gif │ │ │ │ ├── loading.gif │ │ │ │ ├── no_pic.jpg │ │ │ │ ├── picbg.png │ │ │ │ ├── point.png │ │ │ │ ├── shadow.png │ │ │ │ ├── sprite.png │ │ │ │ ├── tubiao.png │ │ │ │ ├── appdown1.png │ │ │ │ ├── code-img.jpg │ │ │ │ ├── form-icon.png │ │ │ │ ├── icon-star.png │ │ │ │ ├── login_ico.png │ │ │ │ ├── no_pic_l.jpg │ │ │ │ ├── down-after.png │ │ │ │ ├── edit_remove.png │ │ │ │ ├── index_bottom.png │ │ │ │ ├── login_bord.png │ │ │ │ ├── login_ico1.png │ │ │ │ ├── weixnappbg.png │ │ │ │ ├── appdown-after.png │ │ │ │ └── ishang_logo_login.png │ │ │ ├── ace-1.2 │ │ │ │ ├── avatars │ │ │ │ │ ├── user.jpg │ │ │ │ │ ├── avatar.png │ │ │ │ │ ├── avatar1.png │ │ │ │ │ ├── avatar2.png │ │ │ │ │ ├── avatar3.png │ │ │ │ │ ├── avatar4.png │ │ │ │ │ ├── avatar5.png │ │ │ │ │ └── profile-pic.jpg │ │ │ │ ├── css │ │ │ │ │ ├── images │ │ │ │ │ │ ├── Thumbs.db │ │ │ │ │ │ └── loading.gif │ │ │ │ │ └── jquery-ui-1.10.3.full.min.css │ │ │ │ ├── images │ │ │ │ │ └── gallery │ │ │ │ │ │ ├── image-1.jpg │ │ │ │ │ │ ├── image-2.jpg │ │ │ │ │ │ ├── image-3.jpg │ │ │ │ │ │ ├── image-4.jpg │ │ │ │ │ │ ├── image-5.jpg │ │ │ │ │ │ ├── image-6.jpg │ │ │ │ │ │ ├── thumb-1.jpg │ │ │ │ │ │ ├── thumb-2.jpg │ │ │ │ │ │ ├── thumb-3.jpg │ │ │ │ │ │ ├── thumb-4.jpg │ │ │ │ │ │ ├── thumb-5.jpg │ │ │ │ │ │ └── thumb-6.jpg │ │ │ │ ├── font │ │ │ │ │ └── fontawesome-webfont.woff │ │ │ │ └── fonts │ │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── bootstrap-3.3.7 │ │ │ │ ├── font-awesome │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ └── fontawesome-webfont.woff │ │ │ │ ├── contextmenu │ │ │ │ └── font │ │ │ │ │ ├── context-menu-icons.eot │ │ │ │ │ ├── context-menu-icons.ttf │ │ │ │ │ ├── context-menu-icons.woff │ │ │ │ │ └── context-menu-icons.woff2 │ │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ │ ├── table │ │ │ │ ├── bootstrap-table-sticky-header.css │ │ │ │ └── bootstrap-table-zh-CN.min.js │ │ │ │ ├── js │ │ │ │ └── npm.js │ │ │ │ ├── datetimepicker │ │ │ │ └── bootstrap-datetimepicker.zh-CN.js │ │ │ │ └── validator │ │ │ │ └── bootstrapValidator.min.css │ │ ├── messages_en_US.properties │ │ ├── messages.properties │ │ ├── messages_zh_CN.properties │ │ └── bootstrap.yml │ │ └── java │ │ └── com │ │ └── stanley │ │ └── uams │ │ ├── domain │ │ ├── basic │ │ │ ├── SysDictVO.java │ │ │ ├── SysInterfaceVO.java │ │ │ ├── SysParmsVO.java │ │ │ ├── SysOpenApiVO.java │ │ │ └── SysOrganizationVO.java │ │ └── auth │ │ │ ├── SysLogsVO.java │ │ │ ├── SysUserRoleVO.java │ │ │ ├── SysUserVO.java │ │ │ ├── SysUserRole.java │ │ │ └── SysRoleVO.java │ │ ├── mapper │ │ └── master │ │ │ ├── basic │ │ │ ├── SysDistrictMapper.java │ │ │ ├── SysParmsMapper.java │ │ │ ├── SysOrganizationMapper.java │ │ │ ├── SysInterfaceMapper.java │ │ │ ├── SysDictMapper.java │ │ │ └── SysOpenApiMapper.java │ │ │ └── auth │ │ │ ├── SysLogsMapper.java │ │ │ ├── SysUserRoleMapper.java │ │ │ ├── SysRoleMapper.java │ │ │ ├── SysUserMapper.java │ │ │ └── SysResourceMapper.java │ │ ├── initialize │ │ ├── TestSpringSessionRedisConfig.java │ │ ├── DataSourceSlave.java │ │ ├── DataSourceMaster.java │ │ └── TestListener.java │ │ ├── gateway │ │ └── TestFeignInterface.java │ │ ├── service │ │ ├── TestFeignService.java │ │ └── basic │ │ │ └── SysDistrictService.java │ │ └── web │ │ └── TestFeignController.java ├── .gitignore ├── api │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── stanley │ │ │ └── uams │ │ │ └── api │ │ │ └── UamsUrl.java │ └── pom.xml └── pom.xml ├── .idea ├── vcs.xml ├── inspectionProfiles │ └── Project_Default.xml └── libraries │ ├── Maven__junit_junit_4_12.xml │ ├── Maven__antlr_antlr_2_7_7.xml │ ├── Maven__org_ow2_asm_asm_5_0_3.xml │ ├── Maven__org_ow2_asm_asm_5_0_4.xml │ ├── Maven__stax_stax_api_1_0_1.xml │ ├── Maven__com_jcraft_jsch_0_1_53.xml │ ├── Maven__xpp3_xpp3_min_1_1_4c.xml │ ├── Maven__com_alibaba_druid_1_1_0.xml │ ├── Maven__org_webjars_d3js_3_4_11.xml │ ├── Maven__org_webjars_jquery_2_1_1.xml │ ├── Maven__org_yaml_snakeyaml_1_17.xml │ ├── Maven__xmlpull_xmlpull_1_1_3_1.xml │ ├── Maven__com_google_guava_guava_18_0.xml │ ├── Maven__org_mybatis_mybatis_3_4_4.xml │ ├── Maven__commons_io_commons_io_2_4.xml │ ├── Maven__io_reactivex_rxjava_1_1_10.xml │ ├── Maven__io_reactivex_rxnetty_0_4_9.xml │ ├── Maven__joda_time_joda_time_2_9_9.xml │ ├── Maven__org_objenesis_objenesis_2_1.xml │ ├── Maven__aopalliance_aopalliance_1_0.xml │ ├── Maven__com_google_inject_guice_4_1_0.xml │ ├── Maven__javax_inject_javax_inject_1.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_25.xml │ ├── Maven__com_google_code_gson_gson_2_8_1.xml │ ├── Maven__org_antlr_antlr_runtime_3_4.xml │ ├── Maven__com_fasterxml_classmate_1_3_3.xml │ ├── Maven__com_netflix_ribbon_ribbon_2_2_2.xml │ ├── Maven__javax_ws_rs_jsr311_api_1_1_1.xml │ ├── Maven__net_minidev_json_smart_2_2_1.xml │ ├── Maven__commons_lang_commons_lang_2_6.xml │ ├── Maven__javax_xml_stream_stax_api_1_0_2.xml │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ ├── Maven__com_netflix_zuul_zuul_core_1_3_0.xml │ ├── Maven__org_assertj_assertj_core_2_6_0.xml │ ├── Maven__org_codehaus_groovy_groovy_2_4_12.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_25.xml │ ├── Maven__org_antlr_stringtemplate_3_2_1.xml │ ├── Maven__org_skyscreamer_jsonassert_1_4_0.xml │ ├── Maven__commons_codec_commons_codec_1_10.xml │ ├── Maven__net_minidev_accessors_smart_1_1.xml │ ├── Maven__com_google_code_findbugs_jsr305_3_0_1.xml │ ├── Maven__com_jayway_jsonpath_json_path_2_2_0.xml │ ├── Maven__com_sun_jersey_jersey_core_1_19_1.xml │ ├── Maven__commons_jxpath_commons_jxpath_1_3.xml │ ├── Maven__io_reactivex_rxnetty_servo_0_4_9.xml │ ├── Maven__org_aspectj_aspectjweaver_1_8_10.xml │ ├── Maven__org_mockito_mockito_core_1_10_19.xml │ ├── Maven__org_mybatis_mybatis_spring_1_3_1.xml │ ├── Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml │ ├── Maven__com_netflix_servo_servo_core_0_10_1.xml │ ├── Maven__org_apache_commons_commons_math_2_2.xml │ ├── Maven__org_codehaus_jettison_jettison_1_3_7.xml │ ├── Maven__org_hamcrest_hamcrest_library_1_3.xml │ ├── Maven__ch_qos_logback_logback_core_1_1_11.xml │ ├── Maven__com_netflix_eureka_eureka_core_1_6_2.xml │ ├── Maven__com_netflix_ribbon_ribbon_core_2_2_2.xml │ ├── Maven__com_thoughtworks_xstream_xstream_1_4_9.xml │ ├── Maven__io_github_openfeign_feign_core_9_5_0.xml │ ├── Maven__org_apache_commons_commons_lang3_3_1.xml │ ├── Maven__org_codehaus_woodstox_stax2_api_3_1_4.xml │ ├── Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml │ ├── Maven__com_googlecode_javaewah_JavaEWAH_1_1_6.xml │ ├── Maven__com_sun_jersey_jersey_client_1_19_1.xml │ ├── Maven__com_sun_jersey_jersey_server_1_19_1.xml │ ├── Maven__io_github_openfeign_feign_slf4j_9_5_0.xml │ ├── Maven__org_apache_tomcat_tomcat_jdbc_8_5_16.xml │ ├── Maven__org_apache_tomcat_tomcat_juli_8_5_16.xml │ ├── Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml │ ├── Maven__io_netty_netty_codec_4_0_27_Final.xml │ ├── Maven__io_reactivex_rxnetty_contexts_0_4_9.xml │ ├── Maven__org_bouncycastle_bcpkix_jdk15on_1_55.xml │ ├── Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml │ ├── Maven__com_netflix_turbine_turbine_core_1_0_0.xml │ ├── Maven__com_sun_jersey_jersey_servlet_1_19_1.xml │ ├── Maven__io_netty_netty_buffer_4_0_27_Final.xml │ ├── Maven__io_netty_netty_common_4_0_27_Final.xml │ ├── Maven__mysql_mysql_connector_java_5_1_43.xml │ ├── Maven__org_apache_httpcomponents_httpcore_4_4_6.xml │ ├── Maven__ch_qos_logback_logback_classic_1_1_11.xml │ ├── Maven__com_netflix_eureka_eureka_client_1_6_2.xml │ ├── Maven__com_netflix_ribbon_ribbon_eureka_2_2_2.xml │ ├── Maven__com_netflix_hystrix_hystrix_core_1_5_12.xml │ ├── Maven__io_github_openfeign_feign_hystrix_9_5_0.xml │ ├── Maven__io_netty_netty_handler_4_0_27_Final.xml │ ├── Maven__org_thymeleaf_thymeleaf_3_0_6_RELEASE.xml │ ├── Maven__org_unbescape_unbescape_1_1_4_RELEASE.xml │ ├── Maven__com_netflix_archaius_archaius_core_0_7_4.xml │ ├── Maven__com_netflix_servo_servo_internal_0_10_1.xml │ ├── Maven__org_apache_httpcomponents_httpclient_4_5_3.xml │ ├── Maven__com_fasterxml_woodstox_woodstox_core_5_0_3.xml │ ├── Maven__com_netflix_ribbon_ribbon_transport_2_2_2.xml │ ├── Maven__io_netty_netty_transport_4_0_27_Final.xml │ ├── Maven__org_attoparser_attoparser_2_0_4_RELEASE.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_8_9.xml │ ├── Maven__com_netflix_ribbon_ribbon_httpclient_2_2_2.xml │ ├── Maven__io_netty_netty_codec_http_4_0_27_Final.xml │ ├── Maven__org_codehaus_jackson_jackson_core_asl_1_9_2.xml │ ├── Maven__com_netflix_hystrix_hystrix_javanica_1_5_12.xml │ ├── Maven__org_jvnet_animal_sniffer_annotation_1_0.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_3_1_Final.xml │ ├── Maven__com_netflix_netflix_commons_netflix_infix_0_3_0.xml │ ├── Maven__com_netflix_ribbon_ribbon_loadbalancer_2_2_2.xml │ ├── Maven__javax_validation_validation_api_1_1_0_Final.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_16.xml │ ├── Maven__org_codehaus_woodstox_woodstox_core_asl_4_4_1.xml │ ├── Maven__org_springframework_spring_tx_4_3_10_RELEASE.xml │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ ├── Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_2.xml │ ├── Maven__org_freemarker_freemarker_2_3_26_incubating.xml │ ├── Maven__org_springframework_spring_aop_4_3_10_RELEASE.xml │ ├── Maven__org_springframework_spring_web_4_3_10_RELEASE.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_8_9.xml │ ├── Maven__commons_configuration_commons_configuration_1_8.xml │ ├── Maven__org_springframework_spring_core_4_3_10_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_4_3_10_RELEASE.xml │ ├── Maven__org_springframework_spring_test_4_3_10_RELEASE.xml │ ├── Maven__com_netflix_netflix_commons_netflix_eventbus_0_3_0.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_16.xml │ ├── Maven__org_springframework_spring_beans_4_3_10_RELEASE.xml │ ├── Maven__org_hibernate_hibernate_validator_5_3_5_Final.xml │ ├── Maven__org_thymeleaf_thymeleaf_spring4_3_0_6_RELEASE.xml │ ├── Maven__com_netflix_hystrix_hystrix_serialization_1_5_12.xml │ ├── Maven__org_springframework_boot_spring_boot_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_4_3_10_RELEASE.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_5.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml │ ├── Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml │ ├── Maven__org_springframework_spring_context_4_3_10_RELEASE.xml │ ├── Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19_1.xml │ ├── Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_16.xml │ ├── Maven__org_springframework_spring_expression_4_3_10_RELEASE.xml │ ├── Maven__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_2_0_0.xml │ ├── Maven__org_springframework_boot_spring_boot_test_1_5_6_RELEASE.xml │ ├── Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml │ ├── Maven__com_netflix_hystrix_hystrix_metrics_event_stream_1_5_12.xml │ ├── Maven__org_eclipse_jgit_org_eclipse_jgit_4_6_0_201612231935_r.xml │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_1_3_0.xml │ ├── Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_xml_2_8_9.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_spring_context_support_4_3_10_RELEASE.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_afterburner_2_8_9.xml │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ ├── Maven__org_springframework_boot_spring_boot_actuator_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_commons_1_2_3_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_context_1_2_3_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_1_2_3_RELEASE.xml │ ├── Maven__nz_net_ultraq_thymeleaf_thymeleaf_expression_processor_1_1_0.xml │ ├── Maven__org_springframework_security_spring_security_rsa_1_0_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_1_5_6_RELEASE.xml │ ├── Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_1_3_0.xml │ ├── Maven__org_springframework_security_spring_security_crypto_4_2_3_RELEASE.xml │ ├── Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_9.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_zuul_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_config_client_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_config_server_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_feign_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_config_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_eureka_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_turbine_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_hystrix_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_turbine_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_thymeleaf_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_6_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_6_RELEASE.xml │ ├── Maven__com_stanley_uams_service_api_1_0_SNAPSHOT.xml │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_2_RELEASE.xml │ ├── Maven__org_springframework_cloud_spring_cloud_netflix_hystrix_dashboard_1_3_2_RELEASE.xml │ └── Maven__org_springframework_cloud_spring_cloud_starter_hystrix_dashboard_1_3_2_RELEASE.xml ├── api-utils ├── src │ └── main │ │ └── java │ │ └── com │ │ └── stanley │ │ └── apiutils │ │ ├── api │ │ ├── ErrorCode.java │ │ └── BooleanWrapper.java │ │ ├── Constants.java │ │ └── exception │ │ ├── ServiceUnavailableException.java │ │ ├── RemoteCallException.java │ │ └── BaseException.java └── pom.xml ├── config ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── stanley │ └── ConfigApplication.java ├── config-repo ├── application-pro.yml └── application-dev.yml ├── common-service ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── stanley │ ├── common │ ├── spring │ │ ├── BaseController.java │ │ └── BaseGateway.java │ ├── annotation │ │ ├── WriteLogs.java │ │ └── AllowCORS.java │ └── domain │ │ └── ZtreeModel.java │ └── utils │ └── PropertyPreFilterHaveNull.java ├── customer-ribbon ├── .gitignore └── src │ └── main │ ├── resources │ └── application.yml │ └── java │ └── com │ └── stanley │ └── CustomerRibbonApplication.java ├── eureka-server ├── .gitignore └── src │ └── main │ └── java │ └── com │ └── stanley │ └── EurekaServerApplication.java ├── zuul └── src │ └── main │ └── java │ └── com │ └── stanley │ └── ZuulApplication.java ├── turbine └── src │ └── main │ └── java │ └── com │ └── stanley │ └── TurbineApplication.java └── README.md /srvc-uams/core/src/main/resources/static/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/bg.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/app.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/bord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/bord.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/bt_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/bt_1.gif -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/bt_2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/bt_2.gif -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/derr.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/derr.gif -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/down.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/ico1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/ico1.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/ios.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/logo.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/null.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/null.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/after.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/android.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/appdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/appdown.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/blank.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/bord1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/bord1.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/button.gif -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/downIco.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/downIco.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/dsucess.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/dsucess.gif -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/loading.gif -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/no_pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/no_pic.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/picbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/picbg.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/point.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/shadow.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/sprite.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/tubiao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/tubiao.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/appdown1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/appdown1.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/code-img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/code-img.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/form-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/form-icon.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/icon-star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/icon-star.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/login_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/login_ico.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/no_pic_l.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/no_pic_l.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/basic/SysDictVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.basic; 2 | 3 | public class SysDictVO extends SysDict { 4 | 5 | 6 | } 7 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/down-after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/down-after.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/edit_remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/edit_remove.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/index_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/index_bottom.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/login_bord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/login_bord.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/login_ico1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/login_ico1.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/weixnappbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/weixnappbg.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/user.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/appdown-after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/appdown-after.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar1.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar2.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar3.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar4.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/avatar5.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/css/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/css/images/Thumbs.db -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/images/ishang_logo_login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/images/ishang_logo_login.png -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/css/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/css/images/loading.gif -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/avatars/profile-pic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/avatars/profile-pic.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-1.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-2.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-3.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-4.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-5.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/image-6.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-1.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-2.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-3.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-4.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-5.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/images/gallery/thumb-6.jpg -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/font/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/font/fontawesome-webfont.woff -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/css/jquery-ui-1.10.3.full.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/css/jquery-ui-1.10.3.full.min.css -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/FontAwesome.otf -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/ace-1.2/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.eot -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.ttf -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.woff -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/contextmenu/font/context-menu-icons.woff2 -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/etongs/iot-platform/HEAD/srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/messages_en_US.properties: -------------------------------------------------------------------------------- 1 | systemName=IOT Infrastructure Platform 2 | corpName=Eacha 3 | server.version=V0.0.1.170823 4 | login.username=username 5 | login.password=password 6 | login.validate=validating ... 7 | login.mainTab.welcome=welcome ~~~ 8 | -------------------------------------------------------------------------------- /api-utils/src/main/java/com/stanley/apiutils/api/ErrorCode.java: -------------------------------------------------------------------------------- 1 | package com.stanley.apiutils.api; 2 | 3 | /** 4 | * Created by liubin on 2016/5/3. 5 | */ 6 | public interface ErrorCode { 7 | 8 | String getCode(); 9 | 10 | int getStatus(); 11 | 12 | String getMessage(); 13 | 14 | } 15 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/table/bootstrap-table-sticky-header.css: -------------------------------------------------------------------------------- 1 | .fix-sticky {position: fixed;z-index: 100;} 2 | .fix-sticky thead {background: #fff;} 3 | .fix-sticky thead th, 4 | .fix-sticky thead th:first-child {border-left: 0;border-right: 0;border-bottom: 1px solid #eee;border-radius: 0;} -------------------------------------------------------------------------------- /api-utils/src/main/java/com/stanley/apiutils/Constants.java: -------------------------------------------------------------------------------- 1 | package com.stanley.apiutils; 2 | 3 | /** 4 | * @Description 接口常量 5 | * @date 2017/8/4 6 | * @author 13346450@qq.com 童晟 7 | */ 8 | public interface Constants { 9 | 10 | int ASK_TIMEOUT = 30000; 11 | 12 | int MAX_BATCH_QUERY_SIZE = 100; 13 | 14 | } 15 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/auth/SysLogsVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.auth; 2 | 3 | /** 4 | * 系统日志的视图对象 5 | * @Description 6 | * @date 2016-04-13 7 | * @since 1.0 8 | * @version 1.0 9 | * @author 13346450@qq.com 童晟 10 | */ 11 | public class SysLogsVO extends SysLogs { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/auth/SysUserRoleVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.auth; 2 | 3 | /** 4 | * 用户角色对应的视图对象 5 | * @Description 6 | * @date 2016-05-17 7 | * @since 1.0 8 | * @version 1.0 9 | * @author lcw 10 | */ 11 | public class SysUserRoleVO extends SysUserRole { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/basic/SysInterfaceVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.basic; 2 | 3 | /** 4 | * 外部接口配置的视图对象 5 | * @Description 6 | * @date 2016-10-19 7 | * @since 1.0 8 | * @version 1.0 9 | * @author lcw 10 | */ 11 | public class SysInterfaceVO extends SysInterface { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/basic/SysParmsVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.basic; 2 | 3 | /** 4 | * 系统参数的视图对象 5 | * @Description 6 | * @date 2016-08-09 7 | * @since 1.0 8 | * @version 1.0 9 | * @author 13346450@qq.com 童晟 10 | */ 11 | public class SysParmsVO extends SysParms { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/basic/SysOpenApiVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.basic; 2 | 3 | /** 4 | * 开放接口接入的视图对象 5 | * @Description 6 | * @date 2017-01-06 7 | * @since 1.0 8 | * @version 1.0 9 | * @author 13346450@qq.com 童晟 10 | */ 11 | public class SysOpenApiVO extends SysOpenApi { 12 | 13 | } 14 | -------------------------------------------------------------------------------- /config/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /config-repo/application-pro.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | thymeleaf: 3 | cache: false 4 | 5 | staticfile: 6 | suffix: "*.js,*.gif,*.jpg,*.jpeg,*.png,*.css,*.ico" 7 | 8 | endpoints: 9 | refresh: 10 | enabled: true 11 | sensitive: false 12 | restart: 13 | enabled: true 14 | sensitive: false 15 | shutdown: 16 | enabled: true 17 | sensitive: false 18 | -------------------------------------------------------------------------------- /srvc-uams/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /common-service/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /config-repo/application-dev.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | thymeleaf: 3 | cache: false 4 | 5 | staticfile: 6 | suffix: "*.js,*.gif,*.jpg,*.jpeg,*.png,*.css,*.ico" 7 | 8 | endpoints: 9 | refresh: 10 | enabled: true 11 | sensitive: false 12 | restart: 13 | enabled: true 14 | sensitive: false 15 | shutdown: 16 | enabled: true 17 | sensitive: false 18 | 19 | -------------------------------------------------------------------------------- /customer-ribbon/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /eureka-server/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | !.mvn/wrapper/maven-wrapper.jar 3 | 4 | ### STS ### 5 | .apt_generated 6 | .classpath 7 | .factorypath 8 | .project 9 | .settings 10 | .springBeans 11 | 12 | ### IntelliJ IDEA ### 13 | .idea 14 | *.iws 15 | *.iml 16 | *.ipr 17 | 18 | ### NetBeans ### 19 | nbproject/private/ 20 | build/ 21 | nbbuild/ 22 | dist/ 23 | nbdist/ 24 | .nb-gradle/ -------------------------------------------------------------------------------- /common-service/src/main/java/com/stanley/common/spring/BaseController.java: -------------------------------------------------------------------------------- 1 | package com.stanley.common.spring; 2 | 3 | import org.slf4j.Logger; 4 | import org.slf4j.LoggerFactory; 5 | 6 | /** 7 | * 公共的控制器基类 8 | * 9 | * @author 13346450@qq.com 童晟 10 | * @version 1.0 11 | * @create 2017/8/25 12 | **/ 13 | public abstract class BaseController { 14 | protected Logger log = LoggerFactory.getLogger(this.getClass()); 15 | 16 | } 17 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/basic/SysDistrictMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.basic; 2 | 3 | import com.stanley.common.spring.BaseTreeMapper; 4 | import com.stanley.uams.domain.basic.SysDistrict; 5 | 6 | /** 7 | * 行政区域表 8 | * @Description 9 | * @date 2016-04-13 10 | * @since 1.0 11 | * @version 1.0 12 | * @author 13346450@qq.com 童晟 13 | */ 14 | public interface SysDistrictMapper extends BaseTreeMapper { 15 | } 16 | -------------------------------------------------------------------------------- /common-service/src/main/java/com/stanley/common/annotation/WriteLogs.java: -------------------------------------------------------------------------------- 1 | package com.stanley.common.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * @Description 写日志到数据库 7 | * @date 2017年10月25日 8 | * @since 1.0 9 | * @version 1.0 10 | * @author 13346450@qq.com 童晟 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Target(ElementType.METHOD) 14 | @Documented 15 | @Inherited 16 | public @interface WriteLogs { 17 | 18 | String value() default ""; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /common-service/src/main/java/com/stanley/common/annotation/AllowCORS.java: -------------------------------------------------------------------------------- 1 | package com.stanley.common.annotation; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * @Description 跨域设置 7 | * @date 2016年4月12日 8 | * @since 1.0 9 | * @version 1.0 10 | * @author 13346450@qq.com 童晟 11 | */ 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Target(ElementType.METHOD) 14 | @Documented 15 | @Inherited 16 | public @interface AllowCORS { 17 | 18 | String value() default ""; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/auth/SysLogsMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.auth; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.auth.SysLogs; 5 | import com.stanley.uams.domain.auth.SysLogsVO; 6 | 7 | /** 8 | * 系统日志表 9 | * @Description 10 | * @date 2016-04-13 11 | * @since 1.0 12 | * @version 1.0 13 | * @author 13346450@qq.com 童晟 14 | */ 15 | public interface SysLogsMapper extends BaseMapper { 16 | } 17 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/messages.properties: -------------------------------------------------------------------------------- 1 | systemName=\u7269\u8054\u7F51\u57FA\u7840\u67B6\u6784\u5E73\u53F0 2 | corpName=\u53A6\u95E8\u8A89\u8BDA\u79D1\u5A01\u5B89\u5168\u6280\u672F\u5F00\u53D1\u6709\u9650\u516C\u53F8 3 | server.version=V0.0.1.170823 4 | login.username=\u7528 \u6237\: 5 | login.password=\u5BC6 \u7801\: 6 | login.validate=\u6B63\u5728\u9A8C\u8BC1\u8EAB\u4EFD,\u8BF7\u7A0D\u5019...... 7 | login.mainTab.welcome=\u6B22\u8FCE\u4F7F\u7528\u7269\u8054\u7F51\u57FA\u7840\u67B6\u6784\u5E73\u53F0\u5E73\u53F0 8 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/basic/SysParmsMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.basic; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.basic.SysParms; 5 | import com.stanley.uams.domain.basic.SysParmsVO; 6 | /** 7 | * 系统参数表 8 | * @Description 9 | * @date 2016-08-09 10 | * @since 1.0 11 | * @version 1.0 12 | * @author 13346450@qq.com 童晟 13 | */ 14 | public interface SysParmsMapper extends BaseMapper { 15 | } 16 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /eureka-server/src/main/java/com/stanley/EurekaServerApplication.java: -------------------------------------------------------------------------------- 1 | package com.stanley; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; 6 | 7 | @EnableEurekaServer 8 | @SpringBootApplication 9 | public class EurekaServerApplication { 10 | 11 | public static void main(String[] args) { 12 | SpringApplication.run(EurekaServerApplication.class, args); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__antlr_antlr_2_7_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | systemName=\u7269\u8054\u7F51\u57FA\u7840\u67B6\u6784\u5E73\u53F0 2 | corpName=\u53A6\u95E8\u8A89\u8BDA\u79D1\u5A01\u5B89\u5168\u6280\u672F\u5F00\u53D1\u6709\u9650\u516C\u53F8 3 | server.version=V0.0.1.170823 4 | login.username=\u7528\u6237\u5E10\u53F7 5 | login.password=\u8BF7\u8F93\u5165\u5BC6\u7801 6 | login.validate=\u6B63\u5728\u9A8C\u8BC1\u8EAB\u4EFD,\u8BF7\u7A0D\u5019...... 7 | login.mainTab.welcome=\u6B22\u8FCE\u4F7F\u7528\u7269\u8054\u7F51\u57FA\u7840\u67B6\u6784\u5E73\u53F0\u5E73\u53F0 8 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ow2_asm_asm_5_0_3.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__stax_stax_api_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_jcraft_jsch_0_1_53.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xpp3_xpp3_min_1_1_4c.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/initialize/TestSpringSessionRedisConfig.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.initialize; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | 5 | /** 6 | * 无用了,被shiro的session管理 7 | * 初始化session-redis配置 8 | * maxInactiveIntervalInSeconds: session超时秒数(8小时) 9 | * @author 13346450@qq.com 童晟 10 | * @version 1.0 11 | * @create 2017/8/18 12 | * 13 | @Configuration 14 | @EnableRedisHttpSession(maxInactiveIntervalInSeconds = 60 * 60 * 8) 15 | **/ 16 | public class TestSpringSessionRedisConfig { 17 | } 18 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_druid_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_webjars_d3js_3_4_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/basic/SysOrganizationMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.basic; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.basic.SysOrganization; 5 | import com.stanley.uams.domain.basic.SysOrganizationVO; 6 | 7 | /** 8 | * 组织机构表 9 | * @Description 10 | * @date 2016-04-07 11 | * @since 1.0 12 | * @version 1.0 13 | *@author 13346450@qq.com 童晟 14 | */ 15 | public interface SysOrganizationMapper extends BaseMapper { 16 | } 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_webjars_jquery_2_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_1_17.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__xmlpull_xmlpull_1_1_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_guava_guava_18_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_3_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_io_commons_io_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxjava_1_1_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxnetty_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__joda_time_joda_time_2_9_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /zuul/src/main/java/com/stanley/ZuulApplication.java: -------------------------------------------------------------------------------- 1 | package com.stanley; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | import org.springframework.cloud.netflix.zuul.EnableZuulProxy; 7 | 8 | @SpringBootApplication 9 | @EnableDiscoveryClient 10 | @EnableZuulProxy 11 | public class ZuulApplication { 12 | 13 | public static void main(String[] args) { 14 | SpringApplication.run(ZuulApplication.class, args); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_objenesis_objenesis_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /.idea/libraries/Maven__aopalliance_aopalliance_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_inject_guice_4_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_inject_javax_inject_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_gson_gson_2_8_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_antlr_runtime_3_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_classmate_1_3_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_json_smart_2_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_zuul_zuul_core_1_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_assertj_assertj_core_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_groovy_groovy_2_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jul_to_slf4j_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_stringtemplate_3_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_skyscreamer_jsonassert_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/initialize/DataSourceSlave.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.initialize; 2 | 3 | import org.mybatis.spring.annotation.MapperScan; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | /** 7 | * 第二数据源初始化,没有第二数据源时,请关闭注解 8 | * 9 | * @author 13346450@qq.com 童晟 10 | * @version 1.0 11 | * @create 2017/8/7 12 | * 13 | @Configuration 14 | @MapperScan(basePackages = {"com.stanley.uams.mapper.slave"}, sqlSessionTemplateRef = "slaveSqlSessionTemplate") 15 | **/ 16 | public class DataSourceSlave extends com.stanley.common.configuration.DataSourceSlaveConfig { 17 | } 18 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_minidev_accessors_smart_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_jayway_jsonpath_json_path_2_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_jxpath_commons_jxpath_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxnetty_servo_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_aspectj_aspectjweaver_1_8_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mockito_mockito_core_1_10_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_mybatis_spring_1_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/auth/SysUserRoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.auth; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.auth.SysUserRole; 5 | /** 6 | * 用户角色对应表 7 | * @Description 8 | * @date 2016-05-17 9 | * @since 1.0 10 | * @version 1.0 11 | * @author lcw 12 | */ 13 | public interface SysUserRoleMapper extends BaseMapper { 14 | /** 15 | * 根据userid删除一条数据 16 | * @param 17 | * @return 18 | * @author lcw 19 | * @date 2016-05-17 20 | */ 21 | int deleteByUserid(Integer userId); 22 | 23 | } 24 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_servo_servo_core_0_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_math_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jettison_jettison_1_3_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_library_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /api-utils/src/main/java/com/stanley/apiutils/exception/ServiceUnavailableException.java: -------------------------------------------------------------------------------- 1 | package com.stanley.apiutils.exception; 2 | 3 | import com.stanley.apiutils.api.CommonErrorCode; 4 | import com.stanley.apiutils.api.ErrorCode; 5 | 6 | /** 7 | * Created by liubin on 2016/5/3. 8 | */ 9 | public class ServiceUnavailableException extends AppBusinessException { 10 | 11 | private static final ErrorCode ERROR_CODE = CommonErrorCode.SERVICE_UNAVAILABLE; 12 | 13 | public ServiceUnavailableException(String message) { 14 | super(ERROR_CODE.getCode(), ERROR_CODE.getStatus(), " 远程服务不可用: " + message); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_eureka_eureka_core_1_6_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_core_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_thoughtworks_xstream_xstream_1_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_github_openfeign_feign_core_9_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_lang3_3_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hdrhistogram_HdrHistogram_2_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_googlecode_javaewah_JavaEWAH_1_1_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.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 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_jersey_server_1_19_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_github_openfeign_feign_slf4j_9_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_tomcat_jdbc_8_5_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_tomcat_juli_8_5_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/api/src/main/java/com/stanley/uams/api/UamsUrl.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.api; 2 | 3 | /** 4 | * 权限服务对外的静态常量 5 | * 6 | * @author 13346450@qq.com 童晟 7 | * @version 1.0 8 | * @create 2017/8/4 9 | **/ 10 | public interface UamsUrl { 11 | 12 | /** 13 | * 服务主机名 14 | */ 15 | String SERVICE_HOSTNAME = "http://UAMS"; 16 | /** 17 | * 获取用户权限列表 18 | */ 19 | String AUTHORITY_URL = "/getAuthority"; 20 | /** 21 | * 获取用户信息 22 | */ 23 | String USER_INFO_URL = "/getUserInfo"; 24 | 25 | static String buildUrl(String url){ 26 | return SERVICE_HOSTNAME + url; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_reactivex_rxnetty_contexts_0_4_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bouncycastle_bcpkix_jdk15on_1_55.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_55.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | srvc-uams 7 | pom 8 | 9 | 10 | api 11 | core 12 | 13 | 14 | 15 | com.stanley 16 | iot-platform 17 | 1.0-SNAPSHOT 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_turbine_turbine_core_1_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_jersey_servlet_1_19_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_buffer_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_common_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_5_1_43.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_4_6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_eureka_eureka_client_1_6_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_eureka_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_core_1_5_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_github_openfeign_feign_hystrix_9_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_handler_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_thymeleaf_3_0_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_unbescape_unbescape_1_1_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_archaius_archaius_core_0_7_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_servo_servo_internal_0_10_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_5_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /customer-ribbon/src/main/resources/application.yml: -------------------------------------------------------------------------------- 1 | server: 2 | port: 8071 3 | 4 | eureka: 5 | instance: 6 | hostname: localhost 7 | prefer-ip-address: true 8 | #lease-renewal-interval-in-seconds: 60 9 | #lease-expiration-duration-in-seconds: 180 10 | instance-id: ${spring.application.name}:${server.port} 11 | client: 12 | serviceUrl: 13 | defaultZone: http://localhost:7100/eureka/ 14 | 15 | logging: 16 | level: 17 | com.stanley: debug 18 | org.springframework: info 19 | com.netflix: info 20 | file: E:\\workspace_idea\\iot-platform\\logs\\client-ribbon.log 21 | 22 | spring: 23 | application: 24 | name: customer-ribbon 25 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_woodstox_woodstox_core_5_0_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_transport_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_transport_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_attoparser_attoparser_2_0_4_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_8_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_httpclient_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_codec_http_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_javanica_1_5_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jvnet_animal_sniffer_annotation_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jboss_logging_jboss_logging_3_3_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /api-utils/src/main/java/com/stanley/apiutils/exception/RemoteCallException.java: -------------------------------------------------------------------------------- 1 | package com.stanley.apiutils.exception; 2 | 3 | import com.stanley.apiutils.api.Error; 4 | 5 | /** 6 | * @Description hystrix会忽略这个异常, 不会触发熔断 7 | * @date 2017/8/4 8 | * @author 13346450@qq.com 童晟 9 | */ 10 | public class RemoteCallException extends AppBusinessException { 11 | 12 | private Error originError; 13 | 14 | public RemoteCallException(Error error, int httpStatus) { 15 | super(error.getCode(), httpStatus, "调用远程服务异常, cause: " + error.getMessage()); 16 | this.originError = error; 17 | } 18 | 19 | public Error getOriginError() { 20 | return originError; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_netflix_commons_netflix_infix_0_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_ribbon_ribbon_loadbalancer_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_validation_validation_api_1_1_0_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_4_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/initialize/DataSourceMaster.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.initialize; 2 | 3 | import com.stanley.common.configuration.DataSourceMasterConfig; 4 | import org.mybatis.spring.annotation.MapperScan; 5 | import org.springframework.cloud.context.config.annotation.RefreshScope; 6 | import org.springframework.context.annotation.Configuration; 7 | 8 | /** 9 | * 主数据源初始化 10 | * @author 13346450@qq.com 童晟 11 | * @version 1.0 12 | * @create 2017/8/7 13 | **/ 14 | @Configuration 15 | @MapperScan(basePackages = {"com.stanley.uams.mapper.master"}, sqlSessionTemplateRef = "masterSqlSessionTemplate") 16 | public class DataSourceMaster extends DataSourceMasterConfig { 17 | } 18 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_9_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_freemarker_freemarker_2_3_26_incubating.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_8_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_configuration_commons_configuration_1_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_test_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_netflix_commons_netflix_eventbus_0_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hibernate_hibernate_validator_5_3_5_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_thymeleaf_thymeleaf_spring4_3_0_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_serialization_1_5_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_6_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_netflix_commons_netflix_statistics_0_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/basic/SysInterfaceMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.basic; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.basic.SysInterface; 5 | import com.stanley.uams.domain.basic.SysInterfaceVO; 6 | 7 | import java.util.Map; 8 | 9 | /** 10 | * 外部接口配置表 11 | * @Description 12 | * @date 2016-10-19 13 | * @since 1.0 14 | * @version 1.0 15 | * @author lcw 16 | */ 17 | public interface SysInterfaceMapper extends BaseMapper { 18 | /** 19 | * 根据多个主键批量改变状态( 采用in() ) 20 | * @param map 21 | * @author lcw 22 | * @date 2016-10-19 23 | */ 24 | void updateStatusBatch(Map map); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_sun_jersey_contribs_jersey_apache_client4_1_19_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/gateway/TestFeignInterface.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.gateway; 2 | 3 | import org.springframework.cloud.netflix.feign.FeignClient; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.bind.annotation.RequestMethod; 6 | import org.springframework.web.bind.annotation.RequestParam; 7 | 8 | /** 9 | * ${DESCRIPTION} 10 | * 11 | * @author 13346450@qq.com 童晟 12 | * @version 1.0 13 | * @create 2017/8/7 14 | **/ 15 | @FeignClient(value = "customer-ribbon") 16 | public interface TestFeignInterface { 17 | 18 | @RequestMapping(value = "/hi", method = RequestMethod.GET) 19 | String callRemoteService(@RequestParam(value = "name") String name); 20 | 21 | } 22 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_netflix_commons_netflix_commons_util_0_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/datetimepicker/bootstrap-datetimepicker.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simplified Chinese translation for bootstrap-datetimepicker 3 | * Yuan Cheung 4 | */ 5 | ;(function($){ 6 | $.fn.datetimepicker.dates['zh-CN'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今天", 13 | suffix: [], 14 | meridiem: ["上午", "下午"] 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_16.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/service/TestFeignService.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.service; 2 | 3 | import com.stanley.uams.gateway.TestFeignGateway; 4 | import org.springframework.stereotype.Service; 5 | 6 | import javax.annotation.Resource; 7 | 8 | /** 9 | * ${DESCRIPTION} 10 | * 11 | * @author 13346450@qq.com 童晟 12 | * @version 1.0 13 | * @create 2017/8/7 14 | **/ 15 | @Service 16 | public class TestFeignService { 17 | 18 | @Resource 19 | private TestFeignGateway testFeignGateway; 20 | 21 | 22 | public String hi(String name){ 23 | return testFeignGateway.callRemote(name); 24 | } 25 | 26 | public String callMock(String name){ 27 | return testFeignGateway.mockCall(name); 28 | } 29 | 30 | 31 | } 32 | -------------------------------------------------------------------------------- /turbine/src/main/java/com/stanley/TurbineApplication.java: -------------------------------------------------------------------------------- 1 | package com.stanley; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard; 7 | import org.springframework.cloud.netflix.turbine.EnableTurbine; 8 | 9 | /** 10 | * turbine监控程序 11 | * EnableTurbine默认包含了EnableDiscoveryClient 12 | */ 13 | @SpringBootApplication 14 | @EnableHystrixDashboard 15 | @EnableTurbine 16 | public class TurbineApplication { 17 | 18 | public static void main(String[] args) { 19 | SpringApplication.run(TurbineApplication.class, args); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__nz_net_ultraq_thymeleaf_thymeleaf_layout_dialect_2_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/auth/SysRoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.auth; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.auth.SysRole; 5 | import com.stanley.uams.domain.auth.SysRoleVO; 6 | 7 | /** 8 | * 角色的dao 9 | * @author 13346450@qq.com 童晟 10 | * @version 1.0 11 | * @create 2017/10/19 12 | **/ 13 | public interface SysRoleMapper extends BaseMapper { 14 | /** 15 | * 修改记录时,判断角色名是否存在(除本身外) 16 | * @Description 17 | * @date 2017年3月3日 18 | * @author 童晟 13346450@qq.com 19 | * @param @param sysRole 20 | * @param @return 21 | * @return SysRole 22 | */ 23 | SysRole checkExistRolename(SysRole sysRole); 24 | } 25 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/auth/SysUserMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.auth; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.auth.SysUser; 5 | import com.stanley.uams.domain.auth.SysUserVO; 6 | /** 7 | * 用户表 8 | * @Description 9 | * @date 2016-04-11 10 | * @since 1.0 11 | * @version 1.0 12 | * @author 13346450@qq.com 童晟 13 | */ 14 | public interface SysUserMapper extends BaseMapper { 15 | /** 16 | * 检查除本条外是否存在相同帐号 17 | * @Description 18 | * @date 2017年3月16日 19 | * @author 童晟 13346450@qq.com 20 | * @param @param sysUser 21 | * @param @return 22 | * @return SysUser 23 | */ 24 | SysUser checkExistAccount(SysUser sysUser); 25 | 26 | } 27 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/basic/SysDictMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.basic; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.basic.SysDict; 5 | import com.stanley.uams.domain.basic.SysDictVO; 6 | 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | /** 11 | * 数据字典表 12 | * @Description 13 | * @date 2016-04-18 14 | * @since 1.0 15 | * @version 1.0 16 | * @author 13346450@qq.com 童晟 17 | */ 18 | public interface SysDictMapper extends BaseMapper { 19 | /** 20 | * 查找字典名称列所有不同的值 21 | * @param 22 | * @return 23 | * @author 13346450@qq.com 童晟 24 | * @date 2016-04-18 25 | */ 26 | List> selectAllByDistinct(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_netty_netty_transport_native_epoll_4_0_27_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/service/basic/SysDistrictService.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.service.basic; 2 | 3 | import com.stanley.common.spring.BaseTreeService; 4 | import com.stanley.uams.domain.basic.SysDistrict; 5 | import com.stanley.uams.mapper.master.basic.SysDistrictMapper; 6 | import org.springframework.stereotype.Service; 7 | import javax.annotation.Resource; 8 | /** 9 | * 行政区域管理 10 | * @Description 11 | * @date 2016-04-13 12 | * @since 1.0 13 | * @version 1.0 14 | * @author 13346450@qq.com 童晟 15 | */ 16 | @Service 17 | public class SysDistrictService extends BaseTreeService { 18 | @Resource 19 | public void setSysDistrictMapper(SysDistrictMapper sysDistrictMapper) { 20 | super.setBaseTreeMapper(sysDistrictMapper); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_netflix_hystrix_hystrix_metrics_event_stream_1_5_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_eclipse_jgit_org_eclipse_jgit_4_6_0_201612231935_r.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/auth/SysResourceMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.auth; 2 | 3 | import com.stanley.common.spring.BaseTreeMapper; 4 | import com.stanley.uams.domain.auth.SysResource; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * 资源表(树形结构) 11 | * @Description 12 | * @date 2016-04-13 13 | * @since 1.0 14 | * @version 1.0 15 | * @author 13346450@qq.com 童晟 16 | */ 17 | public interface SysResourceMapper extends BaseTreeMapper { 18 | /** 19 | * 查询除按钮外的所有节点 20 | * @Description 21 | * @date 2017年4月7日 22 | * @author 童晟 13346450@qq.com 23 | * @param @return 24 | * @return List 25 | */ 26 | List selectAllExceptButton(Integer parentId); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_spring_boot_mybatis_spring_boot_starter_1_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/mapper/master/basic/SysOpenApiMapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.mapper.master.basic; 2 | 3 | import com.stanley.common.spring.BaseMapper; 4 | import com.stanley.uams.domain.basic.SysOpenApi; 5 | import com.stanley.uams.domain.basic.SysOpenApiVO; 6 | /** 7 | * 开放接口接入表 8 | * @Description 9 | * @date 2017-01-06 10 | * @since 1.0 11 | * @version 1.0 12 | * @author 13346450@qq.com 童晟 13 | */ 14 | public interface SysOpenApiMapper extends BaseMapper { 15 | /** 16 | * 检查除本条外是否存在相同标识 17 | * @Description 18 | * @date 2017年3月16日 19 | * @author 童晟 13346450@qq.com 20 | * @param @param sysUser 21 | * @param @return 22 | * @return SysUser 23 | */ 24 | SysOpenApi checkExistCode(SysOpenApi sysOpenApi); 25 | } 26 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_dataformat_jackson_dataformat_xml_2_8_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /api-utils/src/main/java/com/stanley/apiutils/exception/BaseException.java: -------------------------------------------------------------------------------- 1 | package com.stanley.apiutils.exception; 2 | 3 | /** 4 | * @Description 自定义运行时异常的基类 5 | * @date 2017/8/4 6 | * @author 13346450@qq.com 童晟 7 | */ 8 | public class BaseException extends RuntimeException { 9 | 10 | public BaseException(String message) { 11 | super(message); 12 | } 13 | 14 | public BaseException(String message, Throwable cause) { 15 | super(message, cause); 16 | } 17 | 18 | public BaseException(Throwable cause) { 19 | super(cause); 20 | } 21 | 22 | protected BaseException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { 23 | super(message, cause, enableSuppression, writableStackTrace); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_support_4_3_10_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_afterburner_2_8_9.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__org_springframework_boot_spring_boot_actuator_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/bootstrap.yml: -------------------------------------------------------------------------------- 1 | spring: 2 | application: 3 | name: srvc-uams 4 | cloud: 5 | config: 6 | discovery: 7 | enabled: true 8 | service-id: config-server 9 | fail-fast: true 10 | retry: 11 | initial-interval: 2000 12 | max-interval: 10000 13 | multiplier: 2 14 | max-attempts: 10 15 | profile: dev 16 | 17 | eureka: 18 | instance: 19 | hostname: localhost 20 | prefer-ip-address: true 21 | instance-id: ${spring.application.name}:${server.port} 22 | lease-renewal-interval-in-seconds: 10 23 | status-page-url-path: /info 24 | health-check-url-path: /health 25 | client: 26 | serviceUrl: 27 | defaultZone: http://admin:admin123@192.168.20.106:7100/eureka/ 28 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_commons_1_2_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_context_1_2_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_1_2_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/validator/bootstrapValidator.min.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * BootstrapValidator (http://bootstrapvalidator.com) 3 | * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3 4 | * 5 | * @version v0.5.3, built on 2014-11-05 9:14:18 PM 6 | * @author https://twitter.com/nghuuphuoc 7 | * @copyright (c) 2013 - 2014 Nguyen Huu Phuoc 8 | * @license Commercial: http://bootstrapvalidator.com/license/ 9 | * Non-commercial: http://creativecommons.org/licenses/by-nc-nd/3.0/ 10 | */ 11 | 12 | .bv-form .help-block{margin-bottom:0}.bv-form .tooltip-inner{text-align:left}.nav-tabs li.bv-tab-success>a{color:#3c763d}.nav-tabs li.bv-tab-error>a{color:#a94442}.bv-form .bv-icon-no-label{top:0}.bv-form .bv-icon-input-group{top:0;z-index:100} -------------------------------------------------------------------------------- /.idea/libraries/Maven__nz_net_ultraq_thymeleaf_thymeleaf_expression_processor_1_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_rsa_1_0_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 物联网云平台基础架构 2 | 3 | 4 | #####本系统采用SpringBoot、SpringCloud基础框架搭建 5 | 6 | 具有以下模块 7 | 8 | ###一、shiro权限管理 9 | 1. Shiro 初始权限动态加载 10 | 2. Shiro Redis 的集成,权限修改后,可实时清空缓存 11 | 3. Shiro Ajax请求未登录(过期)的解决方案,重写UserFilter过滤器,增加ajax全局错误事件 12 | 4. Shiro Ajax请求权限不足的解决方案,增加全局异常UnauthorizedException、AuthorizationException的处理 13 | 5. Shiro thymeleaf的标签封装 14 | 6. 用户密码加密传输 15 | 7. 验证码校验 16 | 8. 记住我功能 17 | 9. 登录失败次数限制(redis) 18 | 10. 在线用户列表显示,强制下线功能 19 | 11. 提供用户-角色-资源-权限的维护功能 20 | 21 | ###二、通用CURD的service层、mapper层封装 22 | 1. 封装了BaseMapper接口,业务功能只需继承该接口就包含了通用的CURD功能 23 | 2. 封装了BaseService,业务功能只需继承该类,就实现了通用的CURD功能 24 | 3. 针对树形结构的功能,单独封装了BaseTreeMapper、BaseTreeService 25 | 4. mapper.xml里面的sql语句未封装,需自己写 26 | 5. 写日志到数据库功能封装,用@WriteLogs自定义注解实现,只需在要写日志的方法上加上注解即可 27 | 6. 跨域功能的注解@AllowCORS,在需要跨域访问的controller方法上添加即可 28 | 29 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/auth/SysUserVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.auth; 2 | 3 | /** 4 | * 用户的视图对象 5 | * @Description 6 | * @date 2016-04-11 7 | * @since 1.0 8 | * @version 1.0 9 | * @author 13346450@qq.com 童晟 10 | */ 11 | public class SysUserVO extends SysUser { 12 | /** 创建人名 **/ 13 | private String createName; 14 | /** 创建组织机构名 **/ 15 | private String orgName; 16 | 17 | /**设置创建人名*/ 18 | public void setCreateName(String createName) { 19 | this.createName = createName; 20 | } 21 | /**获取创建组织机构名*/ 22 | public String getOrgName() { 23 | return orgName; 24 | } 25 | 26 | /**设置创建组织机构名*/ 27 | public void setOrgName(String orgName) { 28 | this.orgName = orgName; 29 | } 30 | /**获取创建人名*/ 31 | public String getCreateName() { 32 | return createName; 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_test_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mybatis_spring_boot_mybatis_spring_boot_autoconfigure_1_3_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_security_spring_security_crypto_4_2_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_8_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_core_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_zuul_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/basic/SysOrganizationVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.basic; 2 | 3 | /** 4 | * 组织机构的视图对象 5 | * @Description 6 | * @date 2016-04-11 7 | * @since 1.0 8 | * @version 1.0 9 | * @author 13346450@qq.com 童晟 10 | */ 11 | public class SysOrganizationVO extends SysOrganization { 12 | /** 机构类型名 **/ 13 | private String createName; 14 | 15 | /** 创建人名 **/ 16 | private String categoryName; 17 | 18 | /**获取创建人名*/ 19 | public String getCreateName() { 20 | return createName; 21 | } 22 | /**设置创建人名*/ 23 | public void setCreateName(String createName) { 24 | this.createName = createName; 25 | } 26 | 27 | public String getCategoryName() { 28 | return categoryName; 29 | } 30 | 31 | public void setCategoryName(String categoryName) { 32 | this.categoryName = categoryName; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_config_client_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_config_server_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_feign_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_logging_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/auth/SysUserRole.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.auth; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * @Module SysUserRole 7 | * @date 2016-05-17 8 | * @since 1.0 9 | * @version 1.0 10 | * @author lcw 11 | */ 12 | public class SysUserRole implements Serializable{ 13 | 14 | private static final long serialVersionUID = 1L; 15 | 16 | /**用户id*/ 17 | private Integer userId; 18 | /**角色id*/ 19 | private Integer roleId; 20 | 21 | /**获取用户id*/ 22 | public Integer getUserId() { 23 | return userId; 24 | } 25 | /**设置用户id*/ 26 | public void setUserId(Integer userId) { 27 | this.userId = userId; 28 | } 29 | /**获取角色id*/ 30 | public Integer getRoleId() { 31 | return roleId; 32 | } 33 | /**设置角色id*/ 34 | public void setRoleId(Integer roleId) { 35 | this.roleId = roleId; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_actuator_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_config_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_ribbon_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_turbine_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_hystrix_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_turbine_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_thymeleaf_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_archaius_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_freemarker_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_6_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/resources/static/bootstrap-3.3.7/table/bootstrap-table-zh-CN.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * bootstrap-table - v1.11.0 - 2016-07-02 3 | * https://github.com/wenzhixin/bootstrap-table 4 | * Copyright (c) 2016 zhixin wen 5 | * Licensed MIT License 6 | */ 7 | !function(a){"use strict";a.fn.bootstrapTable.locales["zh-CN"]={formatLoadingMessage:function(){return"正在努力的加载数据中,请稍候……"},formatRecordsPerPage:function(a){return"每页 "+a+" 条"},formatShowingRows:function(a,b,c){return"第 "+a+" 到第 "+b+" 条,共 "+c+" 条"},formatSearch:function(){return"搜索"},formatNoMatches:function(){return"没有找到匹配的数据"},formatPaginationSwitch:function(){return"隐藏/显示分页"},formatRefresh:function(){return"刷新"},formatToggle:function(){return"切换"},formatColumns:function(){return"列"},formatExport:function(){return"导出数据"},formatClearFilters:function(){return"清空过滤"}},a.extend(a.fn.bootstrapTable.defaults,a.fn.bootstrapTable.locales["zh-CN"])}(jQuery); -------------------------------------------------------------------------------- /common-service/src/main/java/com/stanley/utils/PropertyPreFilterHaveNull.java: -------------------------------------------------------------------------------- 1 | package com.stanley.utils; 2 | 3 | import com.alibaba.fastjson.serializer.SimplePropertyPreFilter; 4 | import com.alibaba.fastjson.serializer.ValueFilter; 5 | 6 | /** 7 | * fastJson的属性过滤器,将null转化为空"" 8 | * @ClassName: PropertyPreFilterHaveNull 9 | * @Description: TODO 10 | * @author cqg 11 | * @date 2015年5月21日 下午2:34:46 12 | * 13 | */ 14 | public class PropertyPreFilterHaveNull extends SimplePropertyPreFilter implements ValueFilter { 15 | /** 16 | * 选择要序列化的类和[字段] 17 | * @param clazz 18 | * @param properties 19 | */ 20 | public PropertyPreFilterHaveNull(Class clazz, String... properties) { 21 | super(clazz, properties); 22 | } 23 | 24 | @Override 25 | public Object process(Object object, String name, Object value) { 26 | if(value==null){ 27 | return ""; 28 | } 29 | return value; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /srvc-uams/api/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | com.stanley 7 | srvc-uams-api 8 | jar 9 | 10 | ${project.artifactId} 11 | 权限服务API 12 | 13 | 14 | com.stanley 15 | srvc-uams 16 | 1.0-SNAPSHOT 17 | 18 | 19 | 20 | 21 | com.stanley 22 | api-utils 23 | ${project.parent.version} 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_stanley_uams_service_api_1_0_SNAPSHOT.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/web/TestFeignController.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.web; 2 | 3 | import com.stanley.uams.service.TestFeignService; 4 | import org.springframework.web.bind.annotation.RequestMapping; 5 | import org.springframework.web.bind.annotation.RestController; 6 | 7 | import javax.annotation.Resource; 8 | 9 | /** 10 | * ${DESCRIPTION} 11 | * 12 | * @author 13346450@qq.com 童晟 13 | * @version 1.0 14 | * @create 2017/8/7 15 | **/ 16 | @RestController 17 | public class TestFeignController { 18 | 19 | @Resource 20 | private TestFeignService testFeignService; 21 | 22 | @RequestMapping("/testFeign") 23 | public String hi(String name){ 24 | return testFeignService.hi(name); 25 | } 26 | 27 | @RequestMapping("/testHystrix") 28 | public String hu(String name){ 29 | return testFeignService.callMock(name); 30 | } 31 | 32 | 33 | } 34 | -------------------------------------------------------------------------------- /api-utils/src/main/java/com/stanley/apiutils/api/BooleanWrapper.java: -------------------------------------------------------------------------------- 1 | package com.stanley.apiutils.api; 2 | 3 | import com.fasterxml.jackson.annotation.JsonCreator; 4 | import com.fasterxml.jackson.annotation.JsonProperty; 5 | 6 | /** 7 | * Created by liubin on 2016/5/6. 8 | */ 9 | public class BooleanWrapper { 10 | 11 | private boolean success; 12 | 13 | private String message; 14 | 15 | public BooleanWrapper(boolean success) { 16 | this(success, null); 17 | } 18 | 19 | @JsonCreator 20 | public BooleanWrapper( 21 | @JsonProperty("success") boolean success, 22 | @JsonProperty("message") String message) { 23 | this.success = success; 24 | this.message = message; 25 | } 26 | 27 | public boolean isSuccess() { 28 | return success; 29 | } 30 | 31 | public String getMessage() { 32 | return message; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /common-service/src/main/java/com/stanley/common/spring/BaseGateway.java: -------------------------------------------------------------------------------- 1 | package com.stanley.common.spring; 2 | 3 | import org.slf4j.Logger; 4 | import org.slf4j.LoggerFactory; 5 | 6 | /** 7 | * ${DESCRIPTION} 8 | * 9 | * @author 13346450@qq.com 童晟 10 | * @version 1.0 11 | * @create 2017/8/9 12 | **/ 13 | public class BaseGateway { 14 | protected final Logger logger = LoggerFactory.getLogger(this.getClass()); 15 | 16 | /** 17 | * @Description 公共的降级函数 18 | * @date 2017/8/9 19 | * @author 13346450@qq.com 童晟 20 | * @param 21 | * @return 22 | */ 23 | protected String fallback(String str){ 24 | return "网关调用出现异常,降级处理fallback"; 25 | } 26 | 27 | protected String fallback(Integer str){ 28 | return "网关调用出现异常,降级处理fallback"; 29 | } 30 | 31 | protected String fallback(){ 32 | return "网关调用出现异常,降级处理fallback"; 33 | } 34 | 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_client_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_eureka_server_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_eureka_server_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /config/src/main/java/com/stanley/ConfigApplication.java: -------------------------------------------------------------------------------- 1 | package com.stanley; 2 | 3 | import org.springframework.boot.autoconfigure.SpringBootApplication; 4 | import org.springframework.boot.builder.SpringApplicationBuilder; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | import org.springframework.cloud.config.server.EnableConfigServer; 7 | 8 | /** 9 | * Spring Cloud Config 配置服务器 10 | * @date 2017/8/15 11 | * @author 13346450@qq.com 童晟 12 | */ 13 | @SpringBootApplication 14 | @EnableConfigServer 15 | @EnableDiscoveryClient 16 | public class ConfigApplication { 17 | 18 | /** 19 | * @Description 20 | * 需要配置profile为native才能读取本地配置 21 | * @date 2017/8/15 22 | * @author 13346450@qq.com 童晟 23 | * @param 24 | * @return 25 | */ 26 | public static void main(String[] args) { 27 | new SpringApplicationBuilder(ConfigApplication.class).web(true).profiles("native").run(args); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /customer-ribbon/src/main/java/com/stanley/CustomerRibbonApplication.java: -------------------------------------------------------------------------------- 1 | package com.stanley; 2 | 3 | import org.springframework.boot.SpringApplication; 4 | import org.springframework.boot.autoconfigure.SpringBootApplication; 5 | import org.springframework.cloud.client.discovery.EnableDiscoveryClient; 6 | import org.springframework.cloud.client.loadbalancer.LoadBalanced; 7 | import org.springframework.cloud.netflix.hystrix.EnableHystrix; 8 | import org.springframework.context.annotation.Bean; 9 | import org.springframework.web.client.RestTemplate; 10 | 11 | @EnableDiscoveryClient 12 | @EnableHystrix 13 | @SpringBootApplication 14 | public class CustomerRibbonApplication { 15 | 16 | public static void main(String[] args) { 17 | SpringApplication.run(CustomerRibbonApplication.class, args); 18 | } 19 | 20 | @Bean 21 | @LoadBalanced 22 | public RestTemplate restTemplate(){ 23 | return new RestTemplate(); 24 | } 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/domain/auth/SysRoleVO.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.domain.auth; 2 | 3 | /** 4 | * 角色的视图对象 5 | * @Description 6 | * @date 2016年4月5日 7 | * @since 1.0 8 | * @version 1.0 9 | * @author 13346450@qq.com 童晟 10 | */ 11 | public class SysRoleVO extends SysRole { 12 | /** 创建人名 **/ 13 | private String createName; 14 | /**专题站名称*/ 15 | private String subjectName; 16 | 17 | /**获取人名*/ 18 | public String getCreateName() { 19 | return createName; 20 | } 21 | /**设置人名*/ 22 | public void setCreateName(String createName) { 23 | this.createName = createName; 24 | } 25 | /** 26 | * @return the subjectName 27 | */ 28 | public String getSubjectName() { 29 | return subjectName; 30 | } 31 | /** 32 | * @param subjectName the subjectName to set 33 | */ 34 | public void setSubjectName(String subjectName) { 35 | this.subjectName = subjectName; 36 | } 37 | 38 | 39 | 40 | } 41 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_netflix_hystrix_dashboard_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_cloud_spring_cloud_starter_hystrix_dashboard_1_3_2_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /srvc-uams/core/src/main/java/com/stanley/uams/initialize/TestListener.java: -------------------------------------------------------------------------------- 1 | package com.stanley.uams.initialize; 2 | 3 | import org.slf4j.Logger; 4 | import org.slf4j.LoggerFactory; 5 | 6 | import javax.servlet.ServletContextEvent; 7 | import javax.servlet.ServletContextListener; 8 | import javax.servlet.annotation.WebListener; 9 | 10 | /** 11 | * ${DESCRIPTION} 12 | * 13 | * @author 13346450@qq.com 童晟 14 | * @version 1.0 15 | * @create 2017/8/7 16 | 17 | @WebListener 18 | **/ 19 | public class TestListener implements ServletContextListener{ 20 | 21 | private final Logger logger = LoggerFactory.getLogger(this.getClass()); 22 | 23 | @Override 24 | public void contextInitialized(ServletContextEvent servletContextEvent) { 25 | logger.info("测试监听器已启动"); 26 | } 27 | 28 | 29 | @Override 30 | public void contextDestroyed(ServletContextEvent servletContextEvent) { 31 | logger.info("测试监听器销毁"); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /api-utils/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 4.0.0 6 | api-utils 7 | jar 8 | 9 | ${project.artifactId} 10 | api接口服务的基础包 11 | 12 | 13 | iot-platform 14 | com.stanley 15 | 1.0-SNAPSHOT 16 | 17 | 18 | 19 | 20 | com.fasterxml.jackson.core 21 | jackson-annotations 22 | 2.6.5 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /common-service/src/main/java/com/stanley/common/domain/ZtreeModel.java: -------------------------------------------------------------------------------- 1 | package com.stanley.common.domain; 2 | 3 | import java.io.Serializable; 4 | 5 | /** 6 | * zTree的节点模型 7 | * @ClassName: zTree 8 | * @Description 9 | * @date 2017年3月28日 10 | * @since 1.0 11 | * @version 1.0 12 | * @author 童晟 13346450@qq.com 13 | */ 14 | public class ZtreeModel implements Serializable{ 15 | private static final long serialVersionUID = -443797747805868886L; 16 | 17 | private Integer id; 18 | private String name; 19 | private Boolean isParent; 20 | 21 | public Integer getId() { 22 | return id; 23 | } 24 | public void setId(Integer id) { 25 | this.id = id; 26 | } 27 | public String getName() { 28 | return name; 29 | } 30 | public void setName(String name) { 31 | this.name = name; 32 | } 33 | public Boolean getIsParent() { 34 | return isParent; 35 | } 36 | public void setIsParent(Boolean isParent) { 37 | this.isParent = isParent; 38 | } 39 | 40 | 41 | } 42 | --------------------------------------------------------------------------------