├── .idea ├── compiler.xml ├── encodings.xml ├── kotlinc.xml ├── libraries │ ├── Maven__ch_qos_logback_logback_classic_1_1_11.xml │ ├── Maven__ch_qos_logback_logback_core_1_1_11.xml │ ├── Maven__com_alibaba_druid_1_0_28.xml │ ├── Maven__com_alibaba_fastjson_1_2_31.xml │ ├── Maven__com_baomidou_mybatis_plus_2_0_8.xml │ ├── Maven__com_baomidou_mybatisplus_spring_boot_starter_1_0_1.xml │ ├── Maven__com_fasterxml_classmate_1_3_3.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_8_8.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_8_8.xml │ ├── Maven__com_github_penggle_kaptcha_2_3_2.xml │ ├── Maven__com_google_guava_guava_18_0.xml │ ├── Maven__com_google_zxing_core_3_2_1.xml │ ├── Maven__com_ibeetl_beetl_2_7_15.xml │ ├── Maven__com_jayway_jsonpath_json_path_2_2_0.xml │ ├── Maven__com_jhlabs_filters_2_0_235_1.xml │ ├── Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml │ ├── Maven__commons_beanutils_commons_beanutils_1_9_3.xml │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ ├── Maven__commons_io_commons_io_2_5.xml │ ├── Maven__commons_lang_commons_lang_2_4.xml │ ├── Maven__io_springfox_springfox_core_2_2_2.xml │ ├── Maven__io_springfox_springfox_schema_2_2_2.xml │ ├── Maven__io_springfox_springfox_spi_2_2_2.xml │ ├── Maven__io_springfox_springfox_spring_web_2_2_2.xml │ ├── Maven__io_springfox_springfox_swagger2_2_2_2.xml │ ├── Maven__io_springfox_springfox_swagger_common_2_2_2.xml │ ├── Maven__io_springfox_springfox_swagger_ui_2_2_2.xml │ ├── Maven__io_swagger_swagger_annotations_1_5_3.xml │ ├── Maven__io_swagger_swagger_models_1_5_3.xml │ ├── Maven__javax_servlet_javax_servlet_api_3_1_0.xml │ ├── Maven__javax_validation_validation_api_1_1_0_Final.xml │ ├── Maven__junit_junit_4_12.xml │ ├── Maven__mysql_mysql_connector_java_5_1_41.xml │ ├── Maven__net_minidev_accessors_smart_1_1.xml │ ├── Maven__net_minidev_json_smart_2_2_1.xml │ ├── Maven__net_sf_ehcache_ehcache_core_2_6_11.xml │ ├── Maven__org_abego_treelayout_org_abego_treelayout_core_1_0_1.xml │ ├── Maven__org_antlr_antlr4_annotations_4_2.xml │ ├── Maven__org_antlr_antlr4_runtime_4_2.xml │ ├── Maven__org_apache_shiro_shiro_cache_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_config_core_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_config_ogdl_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_core_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_cipher_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_core_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_crypto_hash_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_ehcache_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_event_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_lang_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_spring_1_4_0.xml │ ├── Maven__org_apache_shiro_shiro_web_1_4_0.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_core_8_5_14.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_el_8_5_14.xml │ ├── Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_14.xml │ ├── Maven__org_apache_tomcat_tomcat_jdbc_8_5_14.xml │ ├── Maven__org_apache_tomcat_tomcat_juli_8_5_14.xml │ ├── Maven__org_apache_velocity_velocity_1_7.xml │ ├── Maven__org_aspectj_aspectjrt_1_8_10.xml │ ├── Maven__org_aspectj_aspectjweaver_1_8_10.xml │ ├── Maven__org_assertj_assertj_core_2_6_0.xml │ ├── Maven__org_ehcache_ehcache_3_3_1.xml │ ├── Maven__org_hamcrest_hamcrest_core_1_3.xml │ ├── Maven__org_hamcrest_hamcrest_library_1_3.xml │ ├── Maven__org_hibernate_hibernate_validator_5_3_5_Final.xml │ ├── Maven__org_jboss_logging_jboss_logging_3_3_1_Final.xml │ ├── Maven__org_mapstruct_mapstruct_1_0_0_CR1.xml │ ├── Maven__org_mockito_mockito_core_1_10_19.xml │ ├── Maven__org_mybatis_mybatis_3_4_4.xml │ ├── Maven__org_mybatis_mybatis_spring_1_3_1.xml │ ├── Maven__org_objenesis_objenesis_2_1.xml │ ├── Maven__org_ow2_asm_asm_5_0_3.xml │ ├── Maven__org_skyscreamer_jsonassert_1_4_0.xml │ ├── Maven__org_slf4j_jcl_over_slf4j_1_7_25.xml │ ├── Maven__org_slf4j_jul_to_slf4j_1_7_25.xml │ ├── Maven__org_slf4j_log4j_over_slf4j_1_7_25.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_25.xml │ ├── Maven__org_springframework_boot_spring_boot_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_autoconfigure_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_aop_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_cache_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_jdbc_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_logging_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_test_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_tomcat_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_validation_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_starter_web_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_test_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_boot_spring_boot_test_autoconfigure_1_5_3_RELEASE.xml │ ├── Maven__org_springframework_hateoas_spring_hateoas_0_23_0_RELEASE.xml │ ├── Maven__org_springframework_plugin_spring_plugin_core_1_2_0_RELEASE.xml │ ├── Maven__org_springframework_plugin_spring_plugin_metadata_1_2_0_RELEASE.xml │ ├── Maven__org_springframework_spring_aop_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_beans_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_context_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_context_support_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_core_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_expression_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_jdbc_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_test_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_tx_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_web_4_3_8_RELEASE.xml │ ├── Maven__org_springframework_spring_webmvc_4_3_8_RELEASE.xml │ └── Maven__org_yaml_snakeyaml_1_17.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── LICENSE ├── README.md ├── logs ├── guns.log └── scaffold.log ├── pom.xml ├── scaffold.iml ├── sql ├── biz.sql └── scaffold.sql └── src ├── main ├── java │ ├── com │ │ └── gaowh │ │ │ └── scaffold │ │ │ ├── ScaffoldApplication.java │ │ │ ├── ScaffoldServletInitializer.java │ │ │ ├── common │ │ │ ├── annotion │ │ │ │ ├── DataSource.java │ │ │ │ ├── Permission.java │ │ │ │ └── log │ │ │ │ │ └── BussinessLog.java │ │ │ ├── constant │ │ │ │ ├── Const.java │ │ │ │ ├── Cst.java │ │ │ │ ├── DSEnum.java │ │ │ │ ├── Dict.java │ │ │ │ ├── cache │ │ │ │ │ ├── Cache.java │ │ │ │ │ └── CacheKey.java │ │ │ │ ├── dictmap │ │ │ │ │ ├── DeleteDict.java │ │ │ │ │ ├── DeptDict.java │ │ │ │ │ ├── DictMap.java │ │ │ │ │ ├── EDrivingMap.java │ │ │ │ │ ├── LogDict.java │ │ │ │ │ ├── MenuDict.java │ │ │ │ │ ├── NoticeMap.java │ │ │ │ │ ├── RoleDict.java │ │ │ │ │ ├── UserDict.java │ │ │ │ │ ├── base │ │ │ │ │ │ ├── AbstractDictMap.java │ │ │ │ │ │ └── SystemDict.java │ │ │ │ │ └── factory │ │ │ │ │ │ ├── DictFieldWarpperFactory.java │ │ │ │ │ │ └── DictMapFactory.java │ │ │ │ ├── factory │ │ │ │ │ ├── ConstantFactory.java │ │ │ │ │ ├── IConstantFactory.java │ │ │ │ │ ├── MutiStrFactory.java │ │ │ │ │ └── PageFactory.java │ │ │ │ ├── state │ │ │ │ │ ├── BizLogType.java │ │ │ │ │ ├── IsMenu.java │ │ │ │ │ ├── LogSucceed.java │ │ │ │ │ ├── LogType.java │ │ │ │ │ ├── ManagerStatus.java │ │ │ │ │ ├── MenuOpenStatus.java │ │ │ │ │ ├── MenuStatus.java │ │ │ │ │ └── Order.java │ │ │ │ └── tips │ │ │ │ │ ├── ErrorTip.java │ │ │ │ │ ├── SuccessTip.java │ │ │ │ │ └── Tip.java │ │ │ ├── controller │ │ │ │ ├── BaseController.java │ │ │ │ ├── GlobalController.java │ │ │ │ └── ScaffoldErrorView.java │ │ │ ├── exception │ │ │ │ ├── BizExceptionEnum.java │ │ │ │ ├── BussinessException.java │ │ │ │ ├── InvalidKaptchaException.java │ │ │ │ └── ToolBoxException.java │ │ │ ├── node │ │ │ │ ├── MenuNode.java │ │ │ │ └── ZTreeNode.java │ │ │ ├── page │ │ │ │ ├── PageBT.java │ │ │ │ └── PageInfoBT.java │ │ │ ├── persistence │ │ │ │ ├── dao │ │ │ │ │ ├── DeptMapper.java │ │ │ │ │ ├── DictMapper.java │ │ │ │ │ ├── EDrivingMapper.java │ │ │ │ │ ├── LoginLogMapper.java │ │ │ │ │ ├── MenuMapper.java │ │ │ │ │ ├── NoticeMapper.java │ │ │ │ │ ├── OperationLogMapper.java │ │ │ │ │ ├── RelationMapper.java │ │ │ │ │ ├── RoleMapper.java │ │ │ │ │ ├── TestMapper.java │ │ │ │ │ ├── UserMapper.java │ │ │ │ │ └── mapping │ │ │ │ │ │ ├── DeptMapper.xml │ │ │ │ │ │ ├── DictMapper.xml │ │ │ │ │ │ ├── EDrivingMapper.xml │ │ │ │ │ │ ├── LoginLogMapper.xml │ │ │ │ │ │ ├── MenuMapper.xml │ │ │ │ │ │ ├── NoticeMapper.xml │ │ │ │ │ │ ├── OperationLogMapper.xml │ │ │ │ │ │ ├── RelationMapper.xml │ │ │ │ │ │ ├── RoleMapper.xml │ │ │ │ │ │ ├── TestMapper.xml │ │ │ │ │ │ └── UserMapper.xml │ │ │ │ └── model │ │ │ │ │ ├── Dept.java │ │ │ │ │ ├── Dict.java │ │ │ │ │ ├── EDriving.java │ │ │ │ │ ├── LoginLog.java │ │ │ │ │ ├── Menu.java │ │ │ │ │ ├── Notice.java │ │ │ │ │ ├── OperationLog.java │ │ │ │ │ ├── Relation.java │ │ │ │ │ ├── Role.java │ │ │ │ │ ├── Test.java │ │ │ │ │ └── User.java │ │ │ └── warpper │ │ │ │ └── BaseControllerWarpper.java │ │ │ ├── config │ │ │ ├── EhCacheConfig.java │ │ │ ├── FastjsonConfig.java │ │ │ ├── MybatisPlusConfig.java │ │ │ ├── SwaggerConfig.java │ │ │ ├── properties │ │ │ │ ├── BeetlProperties.java │ │ │ │ ├── DruidProperties.java │ │ │ │ ├── MutiDataSourceProperties.java │ │ │ │ └── ScaffoldProperties.java │ │ │ └── web │ │ │ │ ├── BeetlConfig.java │ │ │ │ ├── ShiroConfig.java │ │ │ │ └── WebConfig.java │ │ │ ├── core │ │ │ ├── aop │ │ │ │ ├── GlobalExceptionHandler.java │ │ │ │ ├── LogAop.java │ │ │ │ ├── MultiSourceExAop.java │ │ │ │ └── PermissionAop.java │ │ │ ├── beetl │ │ │ │ ├── BeetlConfiguration.java │ │ │ │ └── ShiroExt.java │ │ │ ├── cache │ │ │ │ ├── BaseCacheFactory.java │ │ │ │ ├── CacheKit.java │ │ │ │ ├── EhcacheFactory.java │ │ │ │ ├── ICache.java │ │ │ │ └── ILoader.java │ │ │ ├── db │ │ │ │ └── Db.java │ │ │ ├── intercept │ │ │ │ ├── SessionInterceptor.java │ │ │ │ └── SessionTimeoutInterceptor.java │ │ │ ├── listener │ │ │ │ └── ConfigListener.java │ │ │ ├── log │ │ │ │ ├── LogManager.java │ │ │ │ ├── LogObjectHolder.java │ │ │ │ └── factory │ │ │ │ │ ├── LogFactory.java │ │ │ │ │ └── LogTaskFactory.java │ │ │ ├── mutidatesource │ │ │ │ ├── DataSourceContextHolder.java │ │ │ │ └── DynamicDataSource.java │ │ │ ├── shiro │ │ │ │ ├── ShiroDbRealm.java │ │ │ │ ├── ShiroKit.java │ │ │ │ ├── ShiroUser.java │ │ │ │ ├── check │ │ │ │ │ ├── ICheck.java │ │ │ │ │ ├── PermissionCheckFactory.java │ │ │ │ │ └── PermissionCheckManager.java │ │ │ │ └── factory │ │ │ │ │ ├── IShiro.java │ │ │ │ │ └── ShiroFactroy.java │ │ │ ├── support │ │ │ │ ├── BasicType.java │ │ │ │ ├── BeanKit.java │ │ │ │ ├── ClassKit.java │ │ │ │ ├── CollectionKit.java │ │ │ │ ├── DateTime.java │ │ │ │ ├── DateTimeKit.java │ │ │ │ ├── HexKit.java │ │ │ │ ├── HttpKit.java │ │ │ │ ├── ObjectKit.java │ │ │ │ ├── PageKit.java │ │ │ │ ├── StrKit.java │ │ │ │ ├── WafKit.java │ │ │ │ └── WafRequestWrapper.java │ │ │ ├── template │ │ │ │ ├── config │ │ │ │ │ ├── ContextConfig.java │ │ │ │ │ ├── ControllerConfig.java │ │ │ │ │ ├── DaoConfig.java │ │ │ │ │ ├── PageConfig.java │ │ │ │ │ └── ServiceConfig.java │ │ │ │ └── engine │ │ │ │ │ ├── SimpleTemplateEngine.java │ │ │ │ │ └── base │ │ │ │ │ ├── AbstractTemplateEngine.java │ │ │ │ │ └── ScaffoldTemplateEngine.java │ │ │ └── util │ │ │ │ ├── Contrast.java │ │ │ │ ├── Convert.java │ │ │ │ ├── DateUtil.java │ │ │ │ ├── FileUtil.java │ │ │ │ ├── HttpSessionHolder.java │ │ │ │ ├── MD5Util.java │ │ │ │ ├── NumUtil.java │ │ │ │ ├── PingYinUtil.java │ │ │ │ ├── ResKit.java │ │ │ │ ├── SpringContextHolder.java │ │ │ │ ├── SqlUtil.java │ │ │ │ ├── ToolUtil.java │ │ │ │ ├── qr │ │ │ │ ├── ImgQrTool.java │ │ │ │ ├── MatrixToImageConfig.java │ │ │ │ ├── MatrixToImageWriter.java │ │ │ │ └── QrImage.java │ │ │ │ └── xss │ │ │ │ ├── XssFilter.java │ │ │ │ └── XssHttpServletRequestWrapper.java │ │ │ └── modular │ │ │ ├── biz │ │ │ └── service │ │ │ │ ├── ITestService.java │ │ │ │ └── impl │ │ │ │ └── TestServiceImpl.java │ │ │ ├── eDriving │ │ │ ├── controller │ │ │ │ └── EDrivingController.java │ │ │ ├── dao │ │ │ │ ├── EDrivingDao.java │ │ │ │ └── mapping │ │ │ │ │ └── EDrivingDao.xml │ │ │ └── service │ │ │ │ ├── IEDrivingService.java │ │ │ │ └── impl │ │ │ │ └── EDrivingServiceImpl.java │ │ │ └── system │ │ │ ├── controller │ │ │ ├── BlackboardController.java │ │ │ ├── CodeController.java │ │ │ ├── DeptController.java │ │ │ ├── DictController.java │ │ │ ├── KaptchaController.java │ │ │ ├── LogController.java │ │ │ ├── LoginController.java │ │ │ ├── LoginLogController.java │ │ │ ├── MenuController.java │ │ │ ├── NoticeController.java │ │ │ ├── RoleController.java │ │ │ ├── TestSwaggerController.java │ │ │ └── UserMgrController.java │ │ │ ├── dao │ │ │ ├── DeptDao.java │ │ │ ├── DictDao.java │ │ │ ├── LogDao.java │ │ │ ├── MenuDao.java │ │ │ ├── NoticeDao.java │ │ │ ├── RoleDao.java │ │ │ ├── UserMgrDao.java │ │ │ └── mapping │ │ │ │ ├── DeptDao.xml │ │ │ │ ├── DictDao.xml │ │ │ │ ├── LogDao.xml │ │ │ │ ├── MenuDao.xml │ │ │ │ ├── NoticeDao.xml │ │ │ │ ├── RoleDao.xml │ │ │ │ └── UserMgrDao.xml │ │ │ ├── factory │ │ │ └── UserFactory.java │ │ │ ├── service │ │ │ ├── IDictService.java │ │ │ ├── IMenuService.java │ │ │ ├── IRoleService.java │ │ │ └── impl │ │ │ │ ├── DictServiceImpl.java │ │ │ │ ├── MenuServiceImpl.java │ │ │ │ └── RoleServiceImpl.java │ │ │ ├── transfer │ │ │ ├── ManagerUser.java │ │ │ ├── ReqAddManager.java │ │ │ ├── ReqEditManager.java │ │ │ └── UserDto.java │ │ │ └── warpper │ │ │ ├── DeptWarpper.java │ │ │ ├── DictWarpper.java │ │ │ ├── EDrivingWrapper.java │ │ │ ├── LogWarpper.java │ │ │ ├── MenuWarpper.java │ │ │ ├── NoticeWrapper.java │ │ │ ├── RoleWarpper.java │ │ │ └── UserWarpper.java │ └── generator │ │ └── MyBatisPlusGenerator.java ├── resources │ ├── META-INF │ │ └── spring-devtools.properties │ ├── application.yml │ ├── ehcache.xml │ └── gunsTemplate │ │ ├── Controller.java.btl │ │ ├── Dao.java.btl │ │ ├── Mapping.xml.btl │ │ ├── Service.java.btl │ │ ├── ServiceImpl.java.btl │ │ ├── page.html.btl │ │ ├── page.js.btl │ │ ├── page_add.html.btl │ │ ├── page_edit.html.btl │ │ └── page_info.js.btl └── webapp │ ├── WEB-INF │ └── view │ │ ├── 404.html │ │ ├── blackboard.html │ │ ├── common │ │ ├── _container.html │ │ ├── _right.html │ │ ├── _tab.html │ │ ├── _theme.html │ │ └── tags │ │ │ ├── NameCon.tag │ │ │ ├── SelectCon.tag │ │ │ ├── TimeCon.tag │ │ │ ├── avatar.tag │ │ │ ├── button.tag │ │ │ ├── input.tag │ │ │ ├── select.tag │ │ │ └── table.tag │ │ ├── eDriving │ │ └── eDriving │ │ │ ├── eDriving.html │ │ │ ├── eDriving_add.html │ │ │ └── eDriving_edit.html │ │ ├── index.html │ │ ├── login.html │ │ └── system │ │ ├── code │ │ └── code.html │ │ ├── dept │ │ ├── dept.html │ │ ├── dept_add.html │ │ └── dept_edit.html │ │ ├── dict │ │ ├── dict.html │ │ ├── dict_add.html │ │ └── dict_edit.html │ │ ├── log │ │ ├── log.html │ │ └── login_log.html │ │ ├── menu │ │ ├── menu.html │ │ ├── menu_add.html │ │ └── menu_edit.html │ │ ├── notice │ │ ├── notice.html │ │ ├── notice_add.html │ │ └── notice_edit.html │ │ ├── role │ │ ├── role.html │ │ ├── role_add.html │ │ ├── role_assign.html │ │ └── role_edit.html │ │ └── user │ │ ├── user.html │ │ ├── user_add.html │ │ ├── user_chpwd.html │ │ ├── user_edit.html │ │ ├── user_roleassign.html │ │ └── user_view.html │ └── static │ ├── css │ ├── _fstyle.css │ ├── animate.css │ ├── bootstrap-rtl.css │ ├── bootstrap.min.css │ ├── font-awesome.css │ ├── font-awesome.min.css │ ├── login.css │ ├── patterns │ │ ├── header-profile-skin-1.png │ │ ├── header-profile-skin-3.png │ │ ├── header-profile.png │ │ └── shattered.png │ ├── plugins │ │ ├── awesome-bootstrap-checkbox │ │ │ └── awesome-bootstrap-checkbox.css │ │ ├── blueimp │ │ │ ├── css │ │ │ │ ├── blueimp-gallery-indicator.css │ │ │ │ ├── blueimp-gallery-video.css │ │ │ │ ├── blueimp-gallery.css │ │ │ │ ├── blueimp-gallery.min.css │ │ │ │ └── demo.css │ │ │ └── img │ │ │ │ ├── error.png │ │ │ │ ├── error.svg │ │ │ │ ├── loading.gif │ │ │ │ ├── play-pause.png │ │ │ │ ├── play-pause.svg │ │ │ │ ├── video-play.png │ │ │ │ └── video-play.svg │ │ ├── bootstrap-table │ │ │ └── bootstrap-table.min.css │ │ ├── chosen │ │ │ ├── chosen-sprite.png │ │ │ ├── chosen-sprite@2x.png │ │ │ └── chosen.css │ │ ├── clockpicker │ │ │ └── clockpicker.css │ │ ├── codemirror │ │ │ ├── ambiance.css │ │ │ └── codemirror.css │ │ ├── colorpicker │ │ │ ├── css │ │ │ │ └── bootstrap-colorpicker.min.css │ │ │ └── img │ │ │ │ └── bootstrap-colorpicker │ │ │ │ ├── alpha-horizontal.png │ │ │ │ ├── alpha.png │ │ │ │ ├── hue-horizontal.png │ │ │ │ ├── hue.png │ │ │ │ └── saturation.png │ │ ├── cropper │ │ │ └── cropper.min.css │ │ ├── dataTables │ │ │ └── dataTables.bootstrap.css │ │ ├── datapicker │ │ │ └── datepicker3.css │ │ ├── dropzone │ │ │ ├── basic.css │ │ │ └── dropzone.css │ │ ├── duallistbox │ │ │ └── bootstrap-duallistbox.css │ │ ├── footable │ │ │ ├── fonts │ │ │ │ ├── footable.eot │ │ │ │ ├── footable.svg │ │ │ │ ├── footable.ttf │ │ │ │ └── footable.woff │ │ │ └── footable.core.css │ │ ├── fullcalendar │ │ │ ├── fullcalendar.css │ │ │ └── fullcalendar.print.css │ │ ├── iCheck │ │ │ ├── custom.css │ │ │ ├── green.png │ │ │ └── green@2x.png │ │ ├── images │ │ │ ├── sort_asc.png │ │ │ ├── sort_desc.png │ │ │ ├── sprite-skin-flat.png │ │ │ ├── spritemap.png │ │ │ └── spritemap@2x.png │ │ ├── ionRangeSlider │ │ │ ├── ion.rangeSlider.css │ │ │ └── ion.rangeSlider.skinFlat.css │ │ ├── jQueryUI │ │ │ ├── images │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ └── ui-icons_888888_256x240.png │ │ │ └── jquery-ui-1.10.4.custom.min.css │ │ ├── jasny │ │ │ └── jasny-bootstrap.min.css │ │ ├── jqgrid │ │ │ └── ui.jqgrid.css │ │ ├── jquery-treegrid │ │ │ ├── css │ │ │ │ └── jquery.treegrid.css │ │ │ └── img │ │ │ │ ├── collapse.png │ │ │ │ ├── expand.png │ │ │ │ ├── file.png │ │ │ │ └── folder.png │ │ ├── jsTree │ │ │ ├── 32px.png │ │ │ ├── style.min.css │ │ │ └── throbber.gif │ │ ├── markdown │ │ │ └── bootstrap-markdown.min.css │ │ ├── morris │ │ │ └── morris-0.4.3.min.css │ │ ├── multiselect │ │ │ └── bootstrap-multiselect.css │ │ ├── nouslider │ │ │ └── jquery.nouislider.css │ │ ├── plyr │ │ │ ├── plyr.css │ │ │ └── sprite.svg │ │ ├── simditor │ │ │ └── simditor.css │ │ ├── steps │ │ │ └── jquery.steps.css │ │ ├── summernote │ │ │ ├── summernote-bs3.css │ │ │ └── summernote.css │ │ ├── sweetalert │ │ │ └── sweetalert.css │ │ ├── switchery │ │ │ └── switchery.css │ │ ├── toastr │ │ │ └── toastr.min.css │ │ ├── treeview │ │ │ └── bootstrap-treeview.css │ │ ├── validate │ │ │ └── bootstrapValidator.min.css │ │ ├── webuploader │ │ │ └── webuploader.css │ │ └── ztree │ │ │ ├── demo.css │ │ │ ├── img │ │ │ ├── diy │ │ │ │ ├── 1_close.png │ │ │ │ ├── 1_open.png │ │ │ │ ├── 2.png │ │ │ │ ├── 3.png │ │ │ │ ├── 4.png │ │ │ │ ├── 5.png │ │ │ │ ├── 6.png │ │ │ │ ├── 7.png │ │ │ │ ├── 8.png │ │ │ │ └── 9.png │ │ │ ├── line_conn.gif │ │ │ ├── loading.gif │ │ │ ├── zTreeStandard.gif │ │ │ └── zTreeStandard.png │ │ │ └── zTreeStyle.css │ └── style.css │ ├── favicon.ico │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 │ ├── img │ ├── a1.jpg │ ├── a2.jpg │ ├── a3.jpg │ ├── a4.jpg │ ├── a5.jpg │ ├── a6.jpg │ ├── a7.jpg │ ├── a8.jpg │ ├── a9.jpg │ ├── bg.png │ ├── boy.gif │ ├── browser.png │ ├── browser.psd │ ├── girl.gif │ ├── iconfont-logo.png │ ├── icons.png │ ├── index.jpg │ ├── index_4.jpg │ ├── loading-upload.gif │ ├── locked.png │ ├── login-background.jpg │ ├── p1.jpg │ ├── p2.jpg │ ├── p3.jpg │ ├── p_big1.jpg │ ├── p_big2.jpg │ ├── p_big3.jpg │ ├── pay.png │ ├── profile.jpg │ ├── profile_big.jpg │ ├── profile_small.jpg │ ├── progress.png │ ├── qr_code.png │ ├── sprite-skin-flat.png │ ├── success.png │ ├── user.png │ ├── webuploader.png │ └── wenku_logo.png │ ├── js │ ├── bootstrap.min.js │ ├── common │ │ ├── Feng.js │ │ ├── ajax-object.js │ │ ├── bootstrap-table-object.js │ │ ├── tree-table-object.js │ │ ├── web-upload-object.js │ │ └── ztree-object.js │ ├── contabs.js │ ├── content.js │ ├── hplus.js │ ├── jquery-ui-1.10.4.min.js │ ├── jquery-ui.custom.min.js │ ├── jquery.min.js │ ├── jquery.min.map │ ├── plugins │ │ ├── beautifyhtml │ │ │ └── beautifyhtml.js │ │ ├── blueimp │ │ │ └── jquery.blueimp-gallery.min.js │ │ ├── bootstrap-table │ │ │ ├── bootstrap-table-mobile.min.js │ │ │ ├── bootstrap-table.min.js │ │ │ └── locale │ │ │ │ ├── bootstrap-table-zh-CN.js │ │ │ │ └── bootstrap-table-zh-CN.min.js │ │ ├── chartJs │ │ │ └── Chart.min.js │ │ ├── chosen │ │ │ └── chosen.jquery.js │ │ ├── clockpicker │ │ │ └── clockpicker.js │ │ ├── codemirror │ │ │ ├── codemirror.js │ │ │ └── mode │ │ │ │ ├── apl │ │ │ │ ├── apl.js │ │ │ │ └── index.html │ │ │ │ ├── asterisk │ │ │ │ ├── asterisk.js │ │ │ │ └── index.html │ │ │ │ ├── clike │ │ │ │ ├── clike.js │ │ │ │ ├── index.html │ │ │ │ └── scala.html │ │ │ │ ├── clojure │ │ │ │ ├── clojure.js │ │ │ │ └── index.html │ │ │ │ ├── cobol │ │ │ │ ├── cobol.js │ │ │ │ └── index.html │ │ │ │ ├── coffeescript │ │ │ │ ├── coffeescript.js │ │ │ │ └── index.html │ │ │ │ ├── commonlisp │ │ │ │ ├── commonlisp.js │ │ │ │ └── index.html │ │ │ │ ├── css │ │ │ │ ├── css.js │ │ │ │ ├── index.html │ │ │ │ ├── less.html │ │ │ │ ├── less_test.js │ │ │ │ ├── scss.html │ │ │ │ ├── scss_test.js │ │ │ │ └── test.js │ │ │ │ ├── cypher │ │ │ │ ├── cypher.js │ │ │ │ └── index.html │ │ │ │ ├── d │ │ │ │ ├── d.js │ │ │ │ └── index.html │ │ │ │ ├── dart │ │ │ │ ├── dart.js │ │ │ │ └── index.html │ │ │ │ ├── diff │ │ │ │ ├── diff.js │ │ │ │ └── index.html │ │ │ │ ├── django │ │ │ │ ├── django.js │ │ │ │ └── index.html │ │ │ │ ├── dockerfile │ │ │ │ ├── dockerfile.js │ │ │ │ └── index.html │ │ │ │ ├── dtd │ │ │ │ ├── dtd.js │ │ │ │ └── index.html │ │ │ │ ├── dylan │ │ │ │ ├── dylan.js │ │ │ │ └── index.html │ │ │ │ ├── ebnf │ │ │ │ ├── ebnf.js │ │ │ │ └── index.html │ │ │ │ ├── ecl │ │ │ │ ├── ecl.js │ │ │ │ └── index.html │ │ │ │ ├── eiffel │ │ │ │ ├── eiffel.js │ │ │ │ └── index.html │ │ │ │ ├── erlang │ │ │ │ ├── erlang.js │ │ │ │ └── index.html │ │ │ │ ├── fortran │ │ │ │ ├── fortran.js │ │ │ │ └── index.html │ │ │ │ ├── gas │ │ │ │ ├── gas.js │ │ │ │ └── index.html │ │ │ │ ├── gfm │ │ │ │ ├── gfm.js │ │ │ │ ├── index.html │ │ │ │ └── test.js │ │ │ │ ├── gherkin │ │ │ │ ├── gherkin.js │ │ │ │ └── index.html │ │ │ │ ├── go │ │ │ │ ├── go.js │ │ │ │ └── index.html │ │ │ │ ├── groovy │ │ │ │ ├── groovy.js │ │ │ │ └── index.html │ │ │ │ ├── haml │ │ │ │ ├── haml.js │ │ │ │ ├── index.html │ │ │ │ └── test.js │ │ │ │ ├── haskell │ │ │ │ ├── haskell.js │ │ │ │ └── index.html │ │ │ │ ├── haxe │ │ │ │ ├── haxe.js │ │ │ │ └── index.html │ │ │ │ ├── htmlembedded │ │ │ │ ├── htmlembedded.js │ │ │ │ └── index.html │ │ │ │ ├── htmlmixed │ │ │ │ ├── htmlmixed.js │ │ │ │ └── index.html │ │ │ │ ├── http │ │ │ │ ├── http.js │ │ │ │ └── index.html │ │ │ │ ├── idl │ │ │ │ ├── idl.js │ │ │ │ └── index.html │ │ │ │ ├── index.html │ │ │ │ ├── jade │ │ │ │ ├── index.html │ │ │ │ └── jade.js │ │ │ │ ├── javascript │ │ │ │ ├── index.html │ │ │ │ ├── javascript.js │ │ │ │ ├── json-ld.html │ │ │ │ ├── test.js │ │ │ │ └── typescript.html │ │ │ │ ├── jinja2 │ │ │ │ ├── index.html │ │ │ │ └── jinja2.js │ │ │ │ ├── julia │ │ │ │ ├── index.html │ │ │ │ └── julia.js │ │ │ │ ├── kotlin │ │ │ │ ├── index.html │ │ │ │ └── kotlin.js │ │ │ │ ├── livescript │ │ │ │ ├── index.html │ │ │ │ └── livescript.js │ │ │ │ ├── lua │ │ │ │ ├── index.html │ │ │ │ └── lua.js │ │ │ │ ├── markdown │ │ │ │ ├── index.html │ │ │ │ ├── markdown.js │ │ │ │ └── test.js │ │ │ │ ├── meta.js │ │ │ │ ├── mirc │ │ │ │ ├── index.html │ │ │ │ └── mirc.js │ │ │ │ ├── mllike │ │ │ │ ├── index.html │ │ │ │ └── mllike.js │ │ │ │ ├── modelica │ │ │ │ ├── index.html │ │ │ │ └── modelica.js │ │ │ │ ├── nginx │ │ │ │ ├── index.html │ │ │ │ └── nginx.js │ │ │ │ ├── ntriples │ │ │ │ ├── index.html │ │ │ │ └── ntriples.js │ │ │ │ ├── octave │ │ │ │ ├── index.html │ │ │ │ └── octave.js │ │ │ │ ├── pascal │ │ │ │ ├── index.html │ │ │ │ └── pascal.js │ │ │ │ ├── pegjs │ │ │ │ ├── index.html │ │ │ │ └── pegjs.js │ │ │ │ ├── perl │ │ │ │ ├── index.html │ │ │ │ └── perl.js │ │ │ │ ├── php │ │ │ │ ├── index.html │ │ │ │ ├── php.js │ │ │ │ └── test.js │ │ │ │ ├── pig │ │ │ │ ├── index.html │ │ │ │ └── pig.js │ │ │ │ ├── properties │ │ │ │ ├── index.html │ │ │ │ └── properties.js │ │ │ │ ├── puppet │ │ │ │ ├── index.html │ │ │ │ └── puppet.js │ │ │ │ ├── python │ │ │ │ ├── index.html │ │ │ │ └── python.js │ │ │ │ ├── q │ │ │ │ ├── index.html │ │ │ │ └── q.js │ │ │ │ ├── r │ │ │ │ ├── index.html │ │ │ │ └── r.js │ │ │ │ ├── rpm │ │ │ │ ├── changes │ │ │ │ │ └── index.html │ │ │ │ ├── index.html │ │ │ │ └── rpm.js │ │ │ │ ├── rst │ │ │ │ ├── index.html │ │ │ │ └── rst.js │ │ │ │ ├── ruby │ │ │ │ ├── index.html │ │ │ │ ├── ruby.js │ │ │ │ └── test.js │ │ │ │ ├── rust │ │ │ │ ├── index.html │ │ │ │ └── rust.js │ │ │ │ ├── sass │ │ │ │ ├── index.html │ │ │ │ └── sass.js │ │ │ │ ├── scheme │ │ │ │ ├── index.html │ │ │ │ └── scheme.js │ │ │ │ ├── shell │ │ │ │ ├── index.html │ │ │ │ ├── shell.js │ │ │ │ └── test.js │ │ │ │ ├── sieve │ │ │ │ ├── index.html │ │ │ │ └── sieve.js │ │ │ │ ├── slim │ │ │ │ ├── index.html │ │ │ │ ├── slim.js │ │ │ │ └── test.js │ │ │ │ ├── smalltalk │ │ │ │ ├── index.html │ │ │ │ └── smalltalk.js │ │ │ │ ├── smarty │ │ │ │ ├── index.html │ │ │ │ └── smarty.js │ │ │ │ ├── smartymixed │ │ │ │ ├── index.html │ │ │ │ └── smartymixed.js │ │ │ │ ├── solr │ │ │ │ ├── index.html │ │ │ │ └── solr.js │ │ │ │ ├── soy │ │ │ │ ├── index.html │ │ │ │ └── soy.js │ │ │ │ ├── sparql │ │ │ │ ├── index.html │ │ │ │ └── sparql.js │ │ │ │ ├── spreadsheet │ │ │ │ ├── index.html │ │ │ │ └── spreadsheet.js │ │ │ │ ├── sql │ │ │ │ ├── index.html │ │ │ │ └── sql.js │ │ │ │ ├── stex │ │ │ │ ├── index.html │ │ │ │ ├── stex.js │ │ │ │ └── test.js │ │ │ │ ├── tcl │ │ │ │ ├── index.html │ │ │ │ └── tcl.js │ │ │ │ ├── textile │ │ │ │ ├── index.html │ │ │ │ ├── test.js │ │ │ │ └── textile.js │ │ │ │ ├── tiddlywiki │ │ │ │ ├── index.html │ │ │ │ ├── tiddlywiki.css │ │ │ │ └── tiddlywiki.js │ │ │ │ ├── tiki │ │ │ │ ├── index.html │ │ │ │ ├── tiki.css │ │ │ │ └── tiki.js │ │ │ │ ├── toml │ │ │ │ ├── index.html │ │ │ │ └── toml.js │ │ │ │ ├── tornado │ │ │ │ ├── index.html │ │ │ │ └── tornado.js │ │ │ │ ├── turtle │ │ │ │ ├── index.html │ │ │ │ └── turtle.js │ │ │ │ ├── vb │ │ │ │ ├── index.html │ │ │ │ └── vb.js │ │ │ │ ├── vbscript │ │ │ │ ├── index.html │ │ │ │ └── vbscript.js │ │ │ │ ├── velocity │ │ │ │ ├── index.html │ │ │ │ └── velocity.js │ │ │ │ ├── verilog │ │ │ │ ├── index.html │ │ │ │ ├── test.js │ │ │ │ └── verilog.js │ │ │ │ ├── xml │ │ │ │ ├── index.html │ │ │ │ ├── test.js │ │ │ │ └── xml.js │ │ │ │ ├── xquery │ │ │ │ ├── index.html │ │ │ │ ├── test.js │ │ │ │ └── xquery.js │ │ │ │ ├── yaml │ │ │ │ ├── index.html │ │ │ │ └── yaml.js │ │ │ │ └── z80 │ │ │ │ ├── index.html │ │ │ │ └── z80.js │ │ ├── colorpicker │ │ │ └── bootstrap-colorpicker.min.js │ │ ├── cropper │ │ │ └── cropper.min.js │ │ ├── dataTables │ │ │ ├── dataTables.bootstrap.js │ │ │ └── jquery.dataTables.js │ │ ├── datapicker │ │ │ └── bootstrap-datepicker.js │ │ ├── diff_match_patch │ │ │ └── diff_match_patch.js │ │ ├── dropzone │ │ │ └── dropzone.js │ │ ├── duallistbox │ │ │ └── jquery.bootstrap-duallistbox.js │ │ ├── easypiechart │ │ │ └── jquery.easypiechart.js │ │ ├── echarts │ │ │ └── echarts-all.js │ │ ├── fancybox │ │ │ ├── blank.gif │ │ │ ├── fancybox_loading.gif │ │ │ ├── fancybox_loading@2x.gif │ │ │ ├── fancybox_overlay.png │ │ │ ├── fancybox_sprite.png │ │ │ ├── fancybox_sprite@2x.png │ │ │ ├── jquery.fancybox.css │ │ │ └── jquery.fancybox.js │ │ ├── flot │ │ │ ├── curvedLines.js │ │ │ ├── jquery.flot.js │ │ │ ├── jquery.flot.pie.js │ │ │ ├── jquery.flot.resize.js │ │ │ ├── jquery.flot.spline.js │ │ │ ├── jquery.flot.symbol.js │ │ │ └── jquery.flot.tooltip.min.js │ │ ├── footable │ │ │ └── footable.all.min.js │ │ ├── fullcalendar │ │ │ ├── fullcalendar.min.js │ │ │ └── moment.min.js │ │ ├── gritter │ │ │ ├── images │ │ │ │ ├── gritter-light.png │ │ │ │ ├── gritter.png │ │ │ │ └── ie-spacer.gif │ │ │ ├── jquery.gritter.css │ │ │ └── jquery.gritter.min.js │ │ ├── iCheck │ │ │ └── icheck.min.js │ │ ├── ionRangeSlider │ │ │ ├── ion.rangeSlider.min.js │ │ │ └── jasny │ │ │ │ └── jasny-bootstrap.min.js │ │ ├── jasny │ │ │ └── jasny-bootstrap.min.js │ │ ├── jeditable │ │ │ └── jquery.jeditable.js │ │ ├── jqgrid │ │ │ ├── i18n │ │ │ │ └── grid.locale-cn.js │ │ │ └── jquery.jqGrid.min.js │ │ ├── jquery-treegrid │ │ │ ├── extension │ │ │ │ └── jquery.treegrid.extension.js │ │ │ └── js │ │ │ │ ├── jquery.treegrid.bootstrap3.js │ │ │ │ └── jquery.treegrid.min.js │ │ ├── jquery-ui │ │ │ └── jquery-ui.min.js │ │ ├── jsKnob │ │ │ └── jquery.knob.js │ │ ├── jsTree │ │ │ ├── jstree.js │ │ │ └── jstree.min.js │ │ ├── jvectormap │ │ │ ├── jquery-jvectormap-1.2.2.min.js │ │ │ └── jquery-jvectormap-world-mill-en.js │ │ ├── layer │ │ │ ├── extend │ │ │ │ └── layer.ext.js │ │ │ ├── laydate │ │ │ │ ├── laydate.js │ │ │ │ ├── need │ │ │ │ │ └── laydate.css │ │ │ │ └── skins │ │ │ │ │ └── default │ │ │ │ │ ├── icon.png │ │ │ │ │ └── laydate.css │ │ │ ├── layer.min.js │ │ │ ├── layim │ │ │ │ ├── data │ │ │ │ │ ├── chatlog.json │ │ │ │ │ ├── friend.json │ │ │ │ │ ├── group.json │ │ │ │ │ └── groups.json │ │ │ │ ├── layim.css │ │ │ │ ├── layim.js │ │ │ │ └── loading.gif │ │ │ └── skin │ │ │ │ ├── default │ │ │ │ ├── icon-ext.png │ │ │ │ ├── icon.png │ │ │ │ ├── icon_ext.png │ │ │ │ ├── loading-0.gif │ │ │ │ ├── loading-1.gif │ │ │ │ ├── loading-2.gif │ │ │ │ ├── textbg.png │ │ │ │ ├── xubox_ico0.png │ │ │ │ ├── xubox_loading0.gif │ │ │ │ ├── xubox_loading1.gif │ │ │ │ ├── xubox_loading2.gif │ │ │ │ ├── xubox_loading3.gif │ │ │ │ └── xubox_title0.png │ │ │ │ ├── layer.css │ │ │ │ ├── layer.ext.css │ │ │ │ └── moon │ │ │ │ ├── default.png │ │ │ │ └── style.css │ │ ├── markdown │ │ │ ├── bootstrap-markdown.js │ │ │ ├── bootstrap-markdown.zh.js │ │ │ ├── markdown.js │ │ │ └── to-markdown.js │ │ ├── metisMenu │ │ │ └── jquery.metisMenu.js │ │ ├── morris │ │ │ ├── morris.js │ │ │ └── raphael-2.1.0.min.js │ │ ├── multiselect │ │ │ └── bootstrap-multiselect.js │ │ ├── nestable │ │ │ └── jquery.nestable.js │ │ ├── nouslider │ │ │ └── jquery.nouislider.min.js │ │ ├── pace │ │ │ └── pace.min.js │ │ ├── peity │ │ │ └── jquery.peity.min.js │ │ ├── plyr │ │ │ └── plyr.js │ │ ├── preetyTextDiff │ │ │ └── jquery.pretty-text-diff.min.js │ │ ├── prettyfile │ │ │ └── bootstrap-prettyfile.js │ │ ├── rickshaw │ │ │ ├── rickshaw.min.js │ │ │ └── vendor │ │ │ │ └── d3.v3.js │ │ ├── simditor │ │ │ ├── hotkeys.js │ │ │ ├── hotkeys.min.js │ │ │ ├── jquery.min.js │ │ │ ├── module.js │ │ │ ├── module.min.js │ │ │ ├── simditor.js │ │ │ ├── simditor.min.js │ │ │ ├── uploader.js │ │ │ └── uploader.min.js │ │ ├── slimscroll │ │ │ └── jquery.slimscroll.min.js │ │ ├── sparkline │ │ │ └── jquery.sparkline.min.js │ │ ├── staps │ │ │ └── jquery.steps.min.js │ │ ├── suggest │ │ │ ├── bootstrap-suggest.min.js │ │ │ └── data.json │ │ ├── summernote │ │ │ ├── summernote-zh-CN.js │ │ │ └── summernote.min.js │ │ ├── sweetalert │ │ │ └── sweetalert.min.js │ │ ├── switchery │ │ │ └── switchery.js │ │ ├── toastr │ │ │ └── toastr.min.js │ │ ├── treeview │ │ │ └── bootstrap-treeview.js │ │ ├── validate │ │ │ ├── additional-methods.min.js │ │ │ ├── bootstrapValidator.min.js │ │ │ └── zh_CN.js │ │ ├── wangEditor │ │ │ └── wangEditor.js │ │ ├── webuploader │ │ │ ├── README.md │ │ │ ├── Uploader.swf │ │ │ ├── webuploader.css │ │ │ ├── webuploader.custom.js │ │ │ ├── webuploader.custom.min.js │ │ │ ├── webuploader.fis.js │ │ │ ├── webuploader.flashonly.js │ │ │ ├── webuploader.flashonly.min.js │ │ │ ├── webuploader.html5only.js │ │ │ ├── webuploader.html5only.min.js │ │ │ ├── webuploader.js │ │ │ ├── webuploader.min.js │ │ │ ├── webuploader.noimage.js │ │ │ ├── webuploader.noimage.min.js │ │ │ ├── webuploader.nolog.js │ │ │ ├── webuploader.nolog.min.js │ │ │ ├── webuploader.withoutimage.js │ │ │ └── webuploader.withoutimage.min.js │ │ └── ztree │ │ │ └── jquery.ztree.all.min.js │ └── welcome.js │ └── modular │ ├── eDriving │ └── eDriving │ │ ├── eDriving.js │ │ └── eDriving_info.js │ └── system │ ├── code │ └── code.js │ ├── dept │ ├── dept.js │ └── dept_info.js │ ├── dict │ ├── dict.js │ └── dict_info.js │ ├── log │ ├── log.js │ └── login_log.js │ ├── menu │ ├── menu.js │ └── menu_info.js │ ├── notice │ ├── notice.js │ └── notice_info.js │ ├── role │ ├── role.js │ └── role_info.js │ └── user │ ├── user.js │ └── user_info.js └── test └── java └── com └── gaowh └── scaffold ├── base └── BaseJunit.java ├── biz └── BizTest.java ├── shiro └── Base64Test.java ├── system ├── BlackBoardTest.java ├── DeptTest.java ├── DictTest.java └── MenuTest.java └── template └── TemplateGenerator.java /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/kotlinc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | -------------------------------------------------------------------------------- /.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__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_alibaba_druid_1_0_28.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_alibaba_fastjson_1_2_31.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatis_plus_2_0_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_baomidou_mybatisplus_spring_boot_starter_1_0_1.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_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_fasterxml_jackson_core_jackson_core_2_8_8.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_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_penggle_kaptcha_2_3_2.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__com_google_zxing_core_3_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_ibeetl_beetl_2_7_15.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_jhlabs_filters_2_0_235_1.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__commons_beanutils_commons_beanutils_1_9_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.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__commons_io_commons_io_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_lang_commons_lang_2_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_core_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_schema_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_spi_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_spring_web_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_swagger2_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_swagger_common_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_springfox_springfox_swagger_ui_2_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_swagger_swagger_annotations_1_5_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_swagger_swagger_models_1_5_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__javax_servlet_javax_servlet_api_3_1_0.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__junit_junit_4_12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__mysql_mysql_connector_java_5_1_41.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__net_minidev_json_smart_2_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_sf_ehcache_ehcache_core_2_6_11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_abego_treelayout_org_abego_treelayout_core_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_antlr4_annotations_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_antlr_antlr4_runtime_4_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_cache_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_config_core_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_config_ogdl_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_core_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_crypto_cipher_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_crypto_core_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_crypto_hash_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_ehcache_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_event_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_lang_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_spring_1_4_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_shiro_shiro_web_1_4_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_14.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_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_embed_tomcat_embed_websocket_8_5_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_tomcat_jdbc_8_5_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tomcat_tomcat_juli_8_5_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_velocity_velocity_1_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_aspectj_aspectjrt_1_8_10.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_assertj_assertj_core_2_6_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_ehcache_ehcache_3_3_1.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__org_hamcrest_hamcrest_library_1_3.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_jboss_logging_jboss_logging_3_3_1_Final.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_mapstruct_mapstruct_1_0_0_CR1.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_3_4_4.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_objenesis_objenesis_2_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.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_skyscreamer_jsonassert_1_4_0.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 | -------------------------------------------------------------------------------- /.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_slf4j_log4j_over_slf4j_1_7_25.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__org_springframework_boot_spring_boot_1_5_3_RELEASE.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_3_RELEASE.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_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_aop_1_5_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_cache_1_5_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_jdbc_1_5_3_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_3_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_3_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_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_validation_1_5_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_starter_web_1_5_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_boot_spring_boot_test_1_5_3_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_3_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_hateoas_spring_hateoas_0_23_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_plugin_spring_plugin_core_1_2_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_plugin_spring_plugin_metadata_1_2_0_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_aop_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_beans_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_context_support_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_core_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_expression_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_jdbc_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_test_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_tx_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_web_4_3_8_RELEASE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_springframework_spring_webmvc_4_3_8_RELEASE.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/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sql/biz.sql: -------------------------------------------------------------------------------- 1 | /* 2 | Navicat MySQL Data Transfer 3 | 4 | Source Server : localhost 5 | Source Server Version : 50157 6 | Source Host : localhost:3306 7 | Source Database : biz 8 | 9 | Target Server Type : MYSQL 10 | Target Server Version : 50157 11 | File Encoding : 65001 12 | 13 | Date: 2017-07-04 16:48:48 14 | */ 15 | 16 | SET FOREIGN_KEY_CHECKS=0; 17 | -- ---------------------------- 18 | -- Table structure for `test` 19 | -- ---------------------------- 20 | DROP TABLE IF EXISTS `test`; 21 | CREATE TABLE `test` ( 22 | `id` int(11) NOT NULL, 23 | `value` varchar(255) DEFAULT NULL, 24 | PRIMARY KEY (`id`) 25 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 26 | 27 | -- ---------------------------- 28 | -- Records of test 29 | -- ---------------------------- 30 | INSERT INTO `test` VALUES ('1', 'qwe'); 31 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/ScaffoldServletInitializer.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold; 2 | 3 | import org.springframework.boot.builder.SpringApplicationBuilder; 4 | import org.springframework.boot.web.support.SpringBootServletInitializer; 5 | 6 | /** 7 | * scaffold Web程序启动类 8 | * 9 | * @author gaowh 10 | * @date 2017-05-21 9:43 11 | */ 12 | public class ScaffoldServletInitializer extends SpringBootServletInitializer { 13 | 14 | @Override 15 | protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { 16 | return builder.sources(ScaffoldApplication.class); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/annotion/DataSource.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.annotion; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * 7 | * 多数据源标识 8 | * 9 | * @author gaowh 10 | * @date 2017年3月5日 上午9:44:24 11 | */ 12 | @Inherited 13 | @Retention(RetentionPolicy.RUNTIME) 14 | @Target({ ElementType.METHOD }) 15 | public @interface DataSource { 16 | 17 | String name() default ""; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/annotion/Permission.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.annotion; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Inherited; 5 | import java.lang.annotation.Retention; 6 | import java.lang.annotation.RetentionPolicy; 7 | import java.lang.annotation.Target; 8 | 9 | /** 10 | * 权限注解 用于检查权限 规定访问权限 11 | * 12 | * @example @Permission({roleID1,roleID2}) 13 | * @example @Permission 14 | */ 15 | @Inherited 16 | @Retention(RetentionPolicy.RUNTIME) 17 | @Target({ElementType.METHOD}) 18 | public @interface Permission { 19 | String[] value() default {}; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/annotion/log/BussinessLog.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.annotion.log; 2 | 3 | import java.lang.annotation.*; 4 | 5 | /** 6 | * 标记需要做业务日志的方法 7 | * 8 | * @author gaowh 9 | * @date 2017-03-31 12:46 10 | */ 11 | @Inherited 12 | @Retention(RetentionPolicy.RUNTIME) 13 | @Target({ElementType.METHOD}) 14 | public @interface BussinessLog { 15 | 16 | /** 17 | * 业务的名称,例如:"修改菜单" 18 | */ 19 | String value() default ""; 20 | 21 | /** 22 | * 被修改的实体的唯一标识,例如:菜单实体的唯一标识为"id" 23 | */ 24 | String key() default "id"; 25 | 26 | /** 27 | * 字典(用于查找key的中文名称和字段的中文名称) 28 | */ 29 | String dict() default "SystemDict"; 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/Const.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant; 2 | 3 | /** 4 | * 系统常量 5 | * 6 | * @author gaowh 7 | * @date 2017年2月12日 下午9:42:53 8 | */ 9 | public interface Const { 10 | 11 | /** 12 | * 系统默认的管理员密码 13 | */ 14 | String DEFAULT_PWD = "111111"; 15 | 16 | /** 17 | * 管理员角色的名字 18 | */ 19 | String ADMIN_NAME = "administrator"; 20 | 21 | /** 22 | * 管理员id 23 | */ 24 | Integer ADMIN_ID = 1; 25 | 26 | /** 27 | * 超级管理员角色id 28 | */ 29 | Integer ADMIN_ROLE_ID = 1; 30 | 31 | /** 32 | * 接口文档的菜单名 33 | */ 34 | String API_MENU_NAME = "接口文档"; 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/Cst.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant; 2 | 3 | /** 4 | * 一些服务的快捷获取 5 | * 6 | * @author gaowh 7 | * @date 2017-03-30 15:58 8 | */ 9 | public class Cst { 10 | 11 | private Cst() { 12 | } 13 | 14 | private static Cst cst = new Cst(); 15 | 16 | public static Cst me() { 17 | return cst; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/DSEnum.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant; 2 | 3 | /** 4 | * 5 | * 多数据源的枚举 6 | * 7 | * @author gaowh 8 | * @date 2017年3月5日 上午10:15:02 9 | */ 10 | public interface DSEnum { 11 | 12 | String DATA_SOURCE_scaffold = "dataSourcescaffold"; //scaffold数据源 13 | 14 | String DATA_SOURCE_BIZ = "dataSourceBiz"; //其他业务的数据源 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/Dict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant; 2 | 3 | /** 4 | * 字典常量 5 | * 6 | * @author gaowh 7 | * @date 2017年5月16日21:44:56 8 | */ 9 | public interface Dict { 10 | 11 | /** 12 | * 系统管理员字典 13 | */ 14 | String UserDict = "UserDict"; 15 | 16 | /** 17 | * 角色管理员字典 18 | */ 19 | String RoleDict = "RoleDict"; 20 | 21 | /** 22 | * 删除业务的字典 23 | */ 24 | String DeleteDict = "DeleteDict"; 25 | 26 | /** 27 | * 部门管理业务的字典 28 | */ 29 | String DeptDict = "DeptDict"; 30 | 31 | /** 32 | * 菜单管理业务的字典 33 | */ 34 | String MenuDict = "MenuDict"; 35 | 36 | /** 37 | * 字典管理业务的字典 38 | */ 39 | String DictMap = "DictMap"; 40 | 41 | /** 42 | * 通知管理业务的字典 43 | */ 44 | String NoticeMap = "NoticeMap"; 45 | 46 | /** 47 | * e代驾管理业务的字典 48 | */ 49 | String EDrivingMap = "EDrivingMap"; 50 | 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/cache/Cache.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.cache; 2 | 3 | /** 4 | * 所有缓存名称的集合 5 | * 6 | * @author gaowh 7 | * @date 2017-04-24 21:56 8 | */ 9 | public interface Cache { 10 | 11 | /** 12 | * 常量缓存 13 | */ 14 | String CONSTANT = "CONSTANT"; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/cache/CacheKey.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.cache; 2 | 3 | /** 4 | * 缓存的key集合 5 | * 6 | * @author gaowh 7 | * @date 2017-04-25 9:37 8 | */ 9 | public interface CacheKey { 10 | 11 | /** 12 | * ConstantFactory中的缓存 13 | */ 14 | String ROLES_NAME = "roles_name_"; 15 | 16 | String SINGLE_ROLE_NAME = "single_role_name_"; 17 | 18 | String SINGLE_ROLE_TIP = "single_role_tip_"; 19 | 20 | String DEPT_NAME = "dept_name_"; 21 | 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/DeleteDict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 用于删除业务的字典 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class DeleteDict extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("roleId","角色名称"); 16 | put("deptId", "部门名称"); 17 | put("menuId", "菜单名称"); 18 | put("dictId", "字典名称"); 19 | put("noticeId", "标题"); 20 | } 21 | 22 | @Override 23 | protected void initBeWrapped() { 24 | putFieldWrapperMethodName("roleId","getCacheObject"); 25 | putFieldWrapperMethodName("deptId","getCacheObject"); 26 | putFieldWrapperMethodName("menuId","getCacheObject"); 27 | putFieldWrapperMethodName("dictId","getCacheObject"); 28 | putFieldWrapperMethodName("noticeId","getCacheObject"); 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/DeptDict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 部门的映射 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class DeptDict extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("deptId", "部门名称"); 16 | put("num", "部门排序"); 17 | put("pid", "上级名称"); 18 | put("simplename", "部门简称"); 19 | put("fullname", "部门全称"); 20 | put("tips", "备注"); 21 | } 22 | 23 | @Override 24 | protected void initBeWrapped() { 25 | putFieldWrapperMethodName("deptId", "getDeptName"); 26 | putFieldWrapperMethodName("pid", "getDeptName"); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/DictMap.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 字典map 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:43 10 | */ 11 | public class DictMap extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("dictId","字典名称"); 16 | put("dictName","字典名称"); 17 | put("dictValues","字典内容"); 18 | } 19 | 20 | @Override 21 | protected void initBeWrapped() { 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/EDrivingMap.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 通知的映射 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class EDrivingMap extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("title", "标题"); 16 | put("content", "内容"); 17 | } 18 | 19 | @Override 20 | protected void initBeWrapped() { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/LogDict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 日志的字典 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class LogDict extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("tips","备注"); 16 | } 17 | 18 | @Override 19 | protected void initBeWrapped() { 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/MenuDict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 菜单的字典 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class MenuDict extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("menuId","菜单id"); 16 | put("id","菜单id"); 17 | put("code","菜单编号"); 18 | put("pcode","菜单父编号"); 19 | put("name","菜单名称"); 20 | put("icon","菜单图标"); 21 | put("url","url地址"); 22 | put("num","菜单排序号"); 23 | put("levels","菜单层级"); 24 | put("tips","备注"); 25 | put("status","菜单状态"); 26 | put("isopen","是否打开"); 27 | put("",""); 28 | } 29 | 30 | @Override 31 | protected void initBeWrapped() { 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/NoticeMap.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 通知的映射 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class NoticeMap extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("title", "标题"); 16 | put("content", "内容"); 17 | } 18 | 19 | @Override 20 | protected void initBeWrapped() { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/RoleDict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap; 2 | 3 | import com.gaowh.scaffold.common.constant.dictmap.base.AbstractDictMap; 4 | 5 | /** 6 | * 角色的字典 7 | * 8 | * @author gaowh 9 | * @date 2017-05-06 15:01 10 | */ 11 | public class RoleDict extends AbstractDictMap { 12 | 13 | @Override 14 | public void init() { 15 | put("roleId","角色名称"); 16 | put("num","角色排序"); 17 | put("pid","角色的父级"); 18 | put("name","角色名称"); 19 | put("deptid","部门名称"); 20 | put("tips","备注"); 21 | put("ids","资源名称"); 22 | } 23 | 24 | @Override 25 | protected void initBeWrapped() { 26 | putFieldWrapperMethodName("pid","getSingleRoleName"); 27 | putFieldWrapperMethodName("deptid","getDeptName"); 28 | putFieldWrapperMethodName("roleId","getSingleRoleName"); 29 | putFieldWrapperMethodName("ids","getMenuNames"); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/dictmap/base/SystemDict.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.dictmap.base; 2 | 3 | /** 4 | * 系统相关的字典 5 | * 6 | * @author gaowh 7 | * @date 2017-05-06 15:48 8 | */ 9 | public class SystemDict extends AbstractDictMap { 10 | 11 | @Override 12 | public void init() { 13 | 14 | } 15 | 16 | @Override 17 | protected void initBeWrapped() { 18 | 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/state/LogSucceed.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.state; 2 | 3 | /** 4 | * 业务是否成功的日志记录 5 | * 6 | * @author gaowh 7 | * @Date 2017年1月22日 下午12:14:59 8 | */ 9 | public enum LogSucceed { 10 | 11 | SUCCESS("成功"), 12 | FAIL("失败"); 13 | 14 | String message; 15 | 16 | LogSucceed(String message) { 17 | this.message = message; 18 | } 19 | 20 | public String getMessage() { 21 | return message; 22 | } 23 | 24 | public void setMessage(String message) { 25 | this.message = message; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/state/LogType.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.state; 2 | 3 | /** 4 | * 日志类型 5 | * 6 | * @author gaowh 7 | * @Date 2017年1月22日 下午12:14:59 8 | */ 9 | public enum LogType { 10 | 11 | LOGIN("登录日志"), 12 | LOGIN_FAIL("登录失败日志"), 13 | EXIT("退出日志"), 14 | EXCEPTION("异常日志"), 15 | BUSSINESS("业务日志"); 16 | 17 | String message; 18 | 19 | LogType(String message) { 20 | this.message = message; 21 | } 22 | 23 | public String getMessage() { 24 | return message; 25 | } 26 | 27 | public void setMessage(String message) { 28 | this.message = message; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/state/Order.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.state; 2 | 3 | /** 4 | * 数据库排序 5 | * 6 | * @author gaowh 7 | * @Date 2017年5月31日20:48:41 8 | */ 9 | public enum Order { 10 | 11 | ASC("asc"), DESC("desc"); 12 | 13 | private String des; 14 | 15 | Order(String des) { 16 | this.des = des; 17 | } 18 | 19 | public String getDes() { 20 | return des; 21 | } 22 | 23 | public void setDes(String des) { 24 | this.des = des; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/tips/ErrorTip.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.tips; 2 | 3 | import com.gaowh.scaffold.common.exception.BizExceptionEnum; 4 | 5 | /** 6 | * 返回给前台的错误提示 7 | * 8 | * @author gaowh 9 | * @date 2016年11月12日 下午5:05:22 10 | */ 11 | public class ErrorTip extends Tip { 12 | 13 | public ErrorTip(int code, String message) { 14 | super(); 15 | this.code = code; 16 | this.message = message; 17 | } 18 | 19 | public ErrorTip(BizExceptionEnum bizExceptionEnum) { 20 | this.code = bizExceptionEnum.getCode(); 21 | this.message = bizExceptionEnum.getMessage(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/tips/SuccessTip.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.tips; 2 | 3 | /** 4 | * 返回给前台的成功提示 5 | * 6 | * @author gaowh 7 | * @date 2016年11月12日 下午5:05:22 8 | */ 9 | public class SuccessTip extends Tip{ 10 | 11 | public SuccessTip(){ 12 | super.code = 200; 13 | super.message = "操作成功"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/constant/tips/Tip.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.constant.tips; 2 | 3 | /** 4 | * 返回给前台的提示(最终转化为json形式) 5 | * 6 | * @author gaowh 7 | * @Date 2017年1月11日 下午11:58:00 8 | */ 9 | public abstract class Tip { 10 | 11 | protected int code; 12 | protected String message; 13 | 14 | public int getCode() { 15 | return code; 16 | } 17 | 18 | public void setCode(int code) { 19 | this.code = code; 20 | } 21 | 22 | public String getMessage() { 23 | return message; 24 | } 25 | 26 | public void setMessage(String message) { 27 | this.message = message; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/controller/GlobalController.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.controller; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.ui.Model; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | 7 | /** 8 | * 全局的控制器 9 | * 10 | * @author gaowh 11 | * @date 2016年11月13日 下午11:04:45 12 | */ 13 | @Controller 14 | @RequestMapping("/global") 15 | public class GlobalController { 16 | 17 | /** 18 | * 跳转到404页面 19 | * 20 | * @author gaowh 21 | */ 22 | @RequestMapping(path = "/error") 23 | public String errorPage() { 24 | return "/404.html"; 25 | } 26 | 27 | /** 28 | * 跳转到session超时页面 29 | * 30 | * @author gaowh 31 | */ 32 | @RequestMapping(path = "/sessionError") 33 | public String errorPageInfo(Model model) { 34 | model.addAttribute("tips", "session超时"); 35 | return "/login.html"; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/controller/ScaffoldErrorView.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.controller; 2 | 3 | import org.springframework.stereotype.Component; 4 | import org.springframework.web.servlet.View; 5 | 6 | import javax.servlet.http.HttpServletRequest; 7 | import javax.servlet.http.HttpServletResponse; 8 | import java.util.Map; 9 | 10 | /** 11 | * 错误页面的默认跳转 12 | * 13 | * @author gaowh 14 | * @date 2017-05-21 11:34 15 | */ 16 | @Component("error") 17 | public class ScaffoldErrorView implements View{ 18 | 19 | @Override 20 | public String getContentType() { 21 | return "text/html"; 22 | } 23 | 24 | @Override 25 | public void render(Map map, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception { 26 | httpServletRequest.getRequestDispatcher("/global/error").forward(httpServletRequest,httpServletResponse); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/exception/InvalidKaptchaException.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.exception; 2 | 3 | /** 4 | * 验证码错误异常 5 | * 6 | * @author gaowh 7 | * @date 2017-05-05 23:52 8 | */ 9 | public class InvalidKaptchaException extends RuntimeException { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/page/PageInfoBT.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.page; 2 | 3 | import com.baomidou.mybatisplus.plugins.Page; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * 分页结果的封装(for Bootstrap Table) 9 | * 10 | * @author gaowh 11 | * @Date 2017年1月22日 下午11:06:41 12 | */ 13 | public class PageInfoBT { 14 | 15 | // 结果集 16 | private List rows; 17 | 18 | // 总数 19 | private long total; 20 | 21 | public PageInfoBT(Page page) { 22 | this.rows = page.getRecords(); 23 | this.total = page.getTotal(); 24 | } 25 | 26 | public List getRows() { 27 | return rows; 28 | } 29 | 30 | public void setRows(List rows) { 31 | this.rows = rows; 32 | } 33 | 34 | public long getTotal() { 35 | return total; 36 | } 37 | 38 | public void setTotal(long total) { 39 | this.total = total; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/DeptMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Dept; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 部门表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface DeptMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/DictMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Dict; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 字典表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface DictMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/EDrivingMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.EDriving; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * e代驾表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-07-03 13 | */ 14 | public interface EDrivingMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/LoginLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.LoginLog; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 登录记录 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface LoginLogMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/MenuMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Menu; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 菜单表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface MenuMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/NoticeMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Notice; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 通知表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface NoticeMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/OperationLogMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.OperationLog; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 操作日志 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface OperationLogMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/RelationMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Relation; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 角色和菜单关联表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface RelationMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/RoleMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Role; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 角色表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface RoleMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/TestMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Test; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface TestMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/UserMapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.User; 4 | import com.baomidou.mybatisplus.mapper.BaseMapper; 5 | 6 | /** 7 | *

8 | * 管理员表 Mapper 接口 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public interface UserMapper extends BaseMapper { 15 | 16 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/DeptMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/DictMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/EDrivingMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/LoginLogMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/MenuMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/NoticeMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/OperationLogMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/RelationMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/RoleMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/dao/mapping/TestMapper.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/persistence/model/Test.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.persistence.model; 2 | 3 | import com.baomidou.mybatisplus.activerecord.Model; 4 | import java.io.Serializable; 5 | 6 | /** 7 | *

8 | * 9 | *

10 | * 11 | * @author gaowh 12 | * @since 2017-06-30 13 | */ 14 | public class Test extends Model { 15 | 16 | private static final long serialVersionUID = 1L; 17 | 18 | private Integer id; 19 | private String value; 20 | 21 | 22 | public Integer getId() { 23 | return id; 24 | } 25 | 26 | public void setId(Integer id) { 27 | this.id = id; 28 | } 29 | 30 | public String getValue() { 31 | return value; 32 | } 33 | 34 | public void setValue(String value) { 35 | this.value = value; 36 | } 37 | 38 | @Override 39 | protected Serializable pkVal() { 40 | return this.id; 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/common/warpper/BaseControllerWarpper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.common.warpper; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | 6 | /** 7 | * 控制器查询结果的包装类基类 8 | * 9 | * @author gaowh 10 | * @date 2017年2月13日 下午10:49:36 11 | */ 12 | public abstract class BaseControllerWarpper { 13 | 14 | public Object obj = null; 15 | 16 | public BaseControllerWarpper(Object obj) { 17 | this.obj = obj; 18 | } 19 | 20 | @SuppressWarnings("unchecked") 21 | public Object warp() { 22 | if (this.obj instanceof List) { 23 | List> list = (List>) this.obj; 24 | for (Map map : list) { 25 | warpTheMap(map); 26 | } 27 | return list; 28 | } else if (this.obj instanceof Map) { 29 | Map map = (Map) this.obj; 30 | warpTheMap(map); 31 | return map; 32 | } else { 33 | return this.obj; 34 | } 35 | } 36 | 37 | protected abstract void warpTheMap(Map map); 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/beetl/BeetlConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.beetl; 2 | 3 | import com.gaowh.scaffold.core.util.ToolUtil; 4 | import org.beetl.ext.spring.BeetlGroupUtilConfiguration; 5 | 6 | public class BeetlConfiguration extends BeetlGroupUtilConfiguration { 7 | 8 | @Override 9 | public void initOther() { 10 | 11 | groupTemplate.registerFunctionPackage("shiro", new ShiroExt()); 12 | groupTemplate.registerFunctionPackage("tool", new ToolUtil()); 13 | 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/cache/ILoader.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com). 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.gaowh.scaffold.core.cache; 17 | 18 | /** 19 | * 数据重载 20 | */ 21 | public interface ILoader { 22 | Object load(); 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/log/LogManager.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.log; 2 | 3 | import java.util.TimerTask; 4 | import java.util.concurrent.ScheduledThreadPoolExecutor; 5 | import java.util.concurrent.TimeUnit; 6 | 7 | /** 8 | * 日志管理器 9 | * 10 | * @author gaowh 11 | * @date 2017-03-30 16:29 12 | */ 13 | public class LogManager { 14 | 15 | //日志记录操作延时 16 | private final int OPERATE_DELAY_TIME = 10; 17 | 18 | //异步操作记录日志的线程池 19 | private ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(10); 20 | 21 | private LogManager() { 22 | } 23 | 24 | public static LogManager logManager = new LogManager(); 25 | 26 | public static LogManager me() { 27 | return logManager; 28 | } 29 | 30 | public void executeLog(TimerTask task) { 31 | executor.schedule(task, OPERATE_DELAY_TIME, TimeUnit.MILLISECONDS); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/log/LogObjectHolder.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.log; 2 | 3 | import com.gaowh.scaffold.core.util.SpringContextHolder; 4 | import org.springframework.context.annotation.Scope; 5 | import org.springframework.stereotype.Component; 6 | import org.springframework.web.context.WebApplicationContext; 7 | 8 | /** 9 | * 被修改的bean临时存放的地方 10 | * 11 | * @author gaowh 12 | * @date 2017-03-31 11:19 13 | */ 14 | @Component 15 | @Scope(scopeName = WebApplicationContext.SCOPE_SESSION) 16 | public class LogObjectHolder { 17 | 18 | private Object object = null; 19 | 20 | public void set(Object obj) { 21 | this.object = obj; 22 | } 23 | 24 | public Object get() { 25 | return object; 26 | } 27 | 28 | public static LogObjectHolder me(){ 29 | LogObjectHolder bean = SpringContextHolder.getBean(LogObjectHolder.class); 30 | return bean; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/mutidatesource/DataSourceContextHolder.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.mutidatesource; 2 | 3 | /** 4 | * 5 | * datasource的上下文 6 | * 7 | * @author gaowh 8 | * @date 2017年3月5日 上午9:10:58 9 | */ 10 | public class DataSourceContextHolder { 11 | 12 | private static final ThreadLocal contextHolder = new ThreadLocal(); 13 | 14 | /** 15 | * @Description: 设置数据源类型 16 | * @param dataSourceType 数据库类型 17 | */ 18 | public static void setDataSourceType(String dataSourceType) { 19 | contextHolder.set(dataSourceType); 20 | } 21 | 22 | /** 23 | * @Description: 获取数据源类型 24 | */ 25 | public static String getDataSourceType() { 26 | return contextHolder.get(); 27 | } 28 | 29 | /** 30 | * @Description: 清除数据源类型 31 | */ 32 | public static void clearDataSourceType() { 33 | contextHolder.remove(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/mutidatesource/DynamicDataSource.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.mutidatesource; 2 | 3 | import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource; 4 | 5 | /** 6 | * 7 | * 动态数据源 8 | * 9 | * @author gaowh 10 | * @date 2017年3月5日 上午9:11:49 11 | */ 12 | public class DynamicDataSource extends AbstractRoutingDataSource { 13 | 14 | @Override 15 | protected Object determineCurrentLookupKey() { 16 | return DataSourceContextHolder.getDataSourceType(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/shiro/check/ICheck.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-2017, Chill Zhuang 庄骞 (smallchill@163.com). 3 | *

4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | *

8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | *

10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.gaowh.scaffold.core.shiro.check; 17 | 18 | 19 | /** 20 | * 检查用接口 21 | */ 22 | public interface ICheck { 23 | 24 | /** 25 | * 检查指定角色 26 | * @param permissions 27 | * @return boolean 28 | */ 29 | boolean check(Object[] permissions); 30 | 31 | /** 32 | * 检查全体角色 33 | * @return boolean 34 | */ 35 | boolean checkAll(); 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/support/ObjectKit.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.support; 2 | 3 | /** 4 | * 一些通用的函数 5 | * 6 | * @author Looly 7 | * 8 | */ 9 | public class ObjectKit { 10 | /** 11 | * 比较两个对象是否相等。
12 | * 相同的条件有两个,满足其一即可:
13 | * 1. obj1 == null && obj2 == null; 2. obj1.equals(obj2) 14 | * 15 | * @param obj1 对象1 16 | * @param obj2 对象2 17 | * @return 是否相等 18 | */ 19 | public static boolean equals(Object obj1, Object obj2) { 20 | return (obj1 != null) ? (obj1.equals(obj2)) : (obj2 == null); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/util/HttpSessionHolder.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.util; 2 | 3 | import javax.servlet.http.HttpSession; 4 | 5 | /** 6 | * 非Controller中获取当前session的工具类 7 | * 8 | * @author gaowh 9 | * @date 2016年11月28日 上午10:24:31 10 | */ 11 | public class HttpSessionHolder { 12 | 13 | private static ThreadLocal tl = new ThreadLocal(); 14 | 15 | public static void put(HttpSession s) { 16 | tl.set(s); 17 | } 18 | 19 | public static HttpSession get() { 20 | return tl.get(); 21 | } 22 | 23 | public static void remove() { 24 | tl.remove(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/util/SqlUtil.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.util; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | /** 7 | * sql语句工具类 8 | * 9 | * @author gaowh 10 | * @date 2016年12月6日 下午1:01:54 11 | */ 12 | public class SqlUtil { 13 | 14 | /** 15 | * @Description 根据集合的大小,输出相应个数"?" 16 | * @author gaowh 17 | */ 18 | public static String parse(List list) { 19 | String str = ""; 20 | if (list != null && list.size() > 0) { 21 | str = str + "?"; 22 | for (int i = 1; i < list.size(); i++) { 23 | str = str + ",?"; 24 | } 25 | } 26 | return str; 27 | } 28 | 29 | public static void main(String[] args) { 30 | ArrayList arrayList = new ArrayList<>(); 31 | arrayList.add(2); 32 | arrayList.add(2); 33 | System.out.println(parse(arrayList)); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/core/util/xss/XssFilter.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.core.util.xss; 2 | 3 | 4 | import javax.servlet.*; 5 | import javax.servlet.http.HttpServletRequest; 6 | import java.io.IOException; 7 | 8 | 9 | public class XssFilter implements Filter { 10 | 11 | FilterConfig filterConfig = null; 12 | 13 | public void init(FilterConfig filterConfig) throws ServletException { 14 | this.filterConfig = filterConfig; 15 | } 16 | 17 | public void destroy() { 18 | this.filterConfig = null; 19 | } 20 | 21 | public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { 22 | chain.doFilter(new XssHttpServletRequestWrapper( 23 | (HttpServletRequest) request), response); 24 | } 25 | 26 | } -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/biz/service/ITestService.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.biz.service; 2 | 3 | /** 4 | * 测试多数据源的服务 5 | * 6 | * @author gaowh 7 | * @date 2017-06-23 23:01 8 | */ 9 | public interface ITestService { 10 | 11 | /** 12 | * 测试多数据源的业务 13 | * 14 | * @author gaowh 15 | * @Date 2017/6/23 23:02 16 | */ 17 | void testBiz(); 18 | 19 | /** 20 | * 测试多数据源的业务 21 | * 22 | * @author gaowh 23 | * @Date 2017/6/23 23:02 24 | */ 25 | void testscaffold(); 26 | 27 | 28 | /** 29 | * 测试多数据源的业务 30 | * 31 | * @author gaowh 32 | * @Date 2017/6/23 23:02 33 | */ 34 | void testAll(); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/eDriving/dao/EDrivingDao.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.eDriving.dao; 2 | 3 | import org.apache.ibatis.annotations.Param; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * e代驾Dao 10 | * 11 | * @author gaowh 12 | * @Date 2017-06-30 18:03:20 13 | */ 14 | public interface EDrivingDao { 15 | 16 | List> list(@Param("condition") String condition); 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/eDriving/dao/mapping/EDrivingDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/eDriving/service/IEDrivingService.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.eDriving.service; 2 | 3 | /** 4 | * e代驾Service 5 | * 6 | * @author gaowh 7 | * @Date 2017-06-30 18:03:20 8 | */ 9 | public interface IEDrivingService { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/eDriving/service/impl/EDrivingServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.eDriving.service.impl; 2 | 3 | import com.gaowh.scaffold.modular.eDriving.service.IEDrivingService; 4 | import org.springframework.stereotype.Service; 5 | 6 | /** 7 | * e代驾Dao 8 | * 9 | * @author gaowh 10 | * @Date 2017-06-30 18:03:20 11 | */ 12 | @Service 13 | public class EDrivingServiceImpl implements IEDrivingService { 14 | 15 | 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/controller/BlackboardController.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.controller; 2 | 3 | import com.gaowh.scaffold.common.controller.BaseController; 4 | import com.gaowh.scaffold.modular.system.dao.NoticeDao; 5 | import org.springframework.beans.factory.annotation.Autowired; 6 | import org.springframework.stereotype.Controller; 7 | import org.springframework.ui.Model; 8 | import org.springframework.web.bind.annotation.RequestMapping; 9 | 10 | import java.util.List; 11 | import java.util.Map; 12 | 13 | /** 14 | * 总览信息 15 | * 16 | * @author gaowh 17 | * @Date 2017年3月4日23:05:54 18 | */ 19 | @Controller 20 | @RequestMapping("/blackboard") 21 | public class BlackboardController extends BaseController { 22 | 23 | @Autowired 24 | NoticeDao noticeDao; 25 | 26 | /** 27 | * 跳转到黑板 28 | */ 29 | @RequestMapping("") 30 | public String blackboard(Model model) { 31 | List> notices = noticeDao.list(null); 32 | model.addAttribute("noticeList",notices); 33 | return "/blackboard.html"; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/dao/DeptDao.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.dao; 2 | 3 | import com.gaowh.scaffold.common.node.ZTreeNode; 4 | import org.apache.ibatis.annotations.Param; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * 部门dao 11 | * 12 | * @author gaowh 13 | * @date 2017年2月17日20:28:58 14 | */ 15 | public interface DeptDao { 16 | 17 | /** 18 | * 获取ztree的节点列表 19 | * 20 | * @return 21 | * @date 2017年2月17日 下午8:28:43 22 | */ 23 | List tree(); 24 | 25 | List> list(@Param("condition") String condition); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/dao/DictDao.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.dao; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.Dict; 4 | import org.apache.ibatis.annotations.Param; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * 字典的dao 11 | * 12 | * @author gaowh 13 | * @date 2017年2月13日 下午11:10:24 14 | */ 15 | public interface DictDao { 16 | 17 | /** 18 | * 根据编码获取词典列表 19 | * 20 | * @param code 21 | * @return 22 | * @date 2017年2月13日 下午11:11:28 23 | */ 24 | List selectByCode(@Param("code") String code); 25 | 26 | /** 27 | * 查询字典列表 28 | * 29 | * @author gaowh 30 | * @Date 2017/4/26 13:04 31 | */ 32 | List> list(@Param("condition") String conditiion); 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/dao/NoticeDao.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.dao; 2 | 3 | import org.apache.ibatis.annotations.Param; 4 | 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | /** 9 | * 通知dao 10 | * 11 | * @author gaowh 12 | * @date 2017-05-09 23:03 13 | */ 14 | public interface NoticeDao { 15 | 16 | List> list(@Param("condition") String condition); 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/dao/mapping/DeptDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/dao/mapping/DictDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | id, num, pid, name, tips 7 | 8 | 9 | 15 | 16 | 24 | 25 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/dao/mapping/NoticeDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/factory/UserFactory.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.factory; 2 | 3 | import com.gaowh.scaffold.common.persistence.model.User; 4 | import com.gaowh.scaffold.modular.system.transfer.UserDto; 5 | import org.springframework.beans.BeanUtils; 6 | 7 | /** 8 | * 用户创建工厂 9 | * 10 | * @author gaowh 11 | * @date 2017-05-05 22:43 12 | */ 13 | public class UserFactory { 14 | 15 | public static User createUser(UserDto userDto){ 16 | if(userDto == null){ 17 | return null; 18 | }else{ 19 | User user = new User(); 20 | BeanUtils.copyProperties(userDto,user); 21 | return user; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/service/IDictService.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.service; 2 | 3 | /** 4 | * 字典服务 5 | * 6 | * @author gaowh 7 | * @date 2017-04-27 17:00 8 | */ 9 | public interface IDictService { 10 | 11 | /** 12 | * 添加字典 13 | * 14 | * @author gaowh 15 | * @Date 2017/4/27 17:01 16 | */ 17 | void addDict(String dictName, String dictValues); 18 | 19 | /** 20 | * 编辑字典 21 | * 22 | * @author gaowh 23 | * @Date 2017/4/28 11:01 24 | */ 25 | void editDict(Integer dictId, String dictName, String dicts); 26 | 27 | /** 28 | * 删除字典 29 | * 30 | * @author gaowh 31 | * @Date 2017/4/28 11:39 32 | */ 33 | void delteDict(Integer dictId); 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/service/IMenuService.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.service; 2 | 3 | /** 4 | * 菜单服务 5 | * 6 | * @author gaowh 7 | * @date 2017-05-05 22:19 8 | */ 9 | public interface IMenuService { 10 | 11 | /** 12 | * 删除菜单 13 | * 14 | * @author gaowh 15 | * @Date 2017/5/5 22:20 16 | */ 17 | void delMenu(Integer menuId); 18 | 19 | /** 20 | * 删除菜单包含所有子菜单 21 | * 22 | * @author gaowh 23 | * @Date 2017/6/13 22:02 24 | */ 25 | void delMenuContainSubMenus(Integer menuId); 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/service/IRoleService.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.service; 2 | 3 | /** 4 | * 角色相关业务 5 | * 6 | * @author gaowh 7 | * @Date 2017年1月10日 下午9:11:57 8 | */ 9 | public interface IRoleService { 10 | 11 | /** 12 | * 设置某个角色的权限 13 | * 14 | * @param roleId 角色id 15 | * @param ids 权限的id 16 | * @date 2017年2月13日 下午8:26:53 17 | */ 18 | void setAuthority(Integer roleId, String ids); 19 | 20 | /** 21 | * 删除角色 22 | * 23 | * @author gaowh 24 | * @Date 2017/5/5 22:24 25 | */ 26 | void delRoleById(Integer roleId); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/warpper/DeptWarpper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.warpper; 2 | 3 | import com.gaowh.scaffold.common.warpper.BaseControllerWarpper; 4 | import com.gaowh.scaffold.common.constant.factory.ConstantFactory; 5 | import com.gaowh.scaffold.core.util.ToolUtil; 6 | 7 | import java.util.Map; 8 | 9 | /** 10 | * 部门列表的包装 11 | * 12 | * @author gaowh 13 | * @date 2017年4月25日 18:10:31 14 | */ 15 | public class DeptWarpper extends BaseControllerWarpper { 16 | 17 | public DeptWarpper(Object list) { 18 | super(list); 19 | } 20 | 21 | @Override 22 | public void warpTheMap(Map map) { 23 | 24 | Integer pid = (Integer) map.get("pid"); 25 | 26 | if (ToolUtil.isEmpty(pid) || pid.equals(0)) { 27 | map.put("pName", "--"); 28 | } else { 29 | map.put("pName", ConstantFactory.me().getDeptName(pid)); 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/warpper/EDrivingWrapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.warpper; 2 | 3 | import com.gaowh.scaffold.common.warpper.BaseControllerWarpper; 4 | import com.gaowh.scaffold.common.constant.factory.ConstantFactory; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | * e代驾列表的包装 10 | * 11 | * @author gaowh 12 | * @date 2017年7月3日 18:10:31 13 | */ 14 | public class EDrivingWrapper extends BaseControllerWarpper { 15 | 16 | public EDrivingWrapper(Object list) { 17 | super(list); 18 | } 19 | 20 | @Override 21 | public void warpTheMap(Map map) { 22 | Integer creater = (Integer) map.get("creater"); 23 | map.put("createrName", ConstantFactory.me().getUserNameById(creater)); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/warpper/MenuWarpper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.warpper; 2 | 3 | import com.gaowh.scaffold.common.constant.state.IsMenu; 4 | import com.gaowh.scaffold.common.warpper.BaseControllerWarpper; 5 | import com.gaowh.scaffold.common.constant.factory.ConstantFactory; 6 | 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | /** 11 | * 菜单列表的包装类 12 | * 13 | * @author gaowh 14 | * @date 2017年2月19日15:07:29 15 | */ 16 | public class MenuWarpper extends BaseControllerWarpper { 17 | 18 | public MenuWarpper(List> list) { 19 | super(list); 20 | } 21 | 22 | @Override 23 | public void warpTheMap(Map map) { 24 | map.put("statusName", ConstantFactory.me().getMenuStatusName((Integer) map.get("status"))); 25 | map.put("isMenuName", IsMenu.valueOf((Integer) map.get("ismenu"))); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/warpper/NoticeWrapper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.warpper; 2 | 3 | import com.gaowh.scaffold.common.warpper.BaseControllerWarpper; 4 | import com.gaowh.scaffold.common.constant.factory.ConstantFactory; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | * 通知列表的包装 10 | * 11 | * @author gaowh 12 | * @date 2017年4月25日 18:10:31 13 | */ 14 | public class NoticeWrapper extends BaseControllerWarpper { 15 | 16 | public NoticeWrapper(Object list) { 17 | super(list); 18 | } 19 | 20 | @Override 21 | public void warpTheMap(Map map) { 22 | Integer creater = (Integer) map.get("creater"); 23 | map.put("createrName", ConstantFactory.me().getUserNameById(creater)); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/warpper/RoleWarpper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.warpper; 2 | 3 | import com.gaowh.scaffold.common.constant.factory.ConstantFactory; 4 | import com.gaowh.scaffold.common.warpper.BaseControllerWarpper; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * 角色列表的包装类 11 | * 12 | * @author gaowh 13 | * @date 2017年2月19日10:59:02 14 | */ 15 | public class RoleWarpper extends BaseControllerWarpper { 16 | 17 | public RoleWarpper(List> list) { 18 | super(list); 19 | } 20 | 21 | @Override 22 | public void warpTheMap(Map map) { 23 | map.put("pName", ConstantFactory.me().getSingleRoleName((Integer) map.get("pid"))); 24 | map.put("deptName", ConstantFactory.me().getDeptName((Integer) map.get("deptid"))); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/gaowh/scaffold/modular/system/warpper/UserWarpper.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.modular.system.warpper; 2 | 3 | import com.gaowh.scaffold.common.warpper.BaseControllerWarpper; 4 | import com.gaowh.scaffold.common.constant.factory.ConstantFactory; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | /** 10 | * 用户管理的包装类 11 | * 12 | * @author gaowh 13 | * @date 2017年2月13日 下午10:47:03 14 | */ 15 | public class UserWarpper extends BaseControllerWarpper { 16 | 17 | public UserWarpper(List> list) { 18 | super(list); 19 | } 20 | 21 | @Override 22 | public void warpTheMap(Map map) { 23 | map.put("sexName", ConstantFactory.me().getSexName((Integer) map.get("sex"))); 24 | map.put("roleName", ConstantFactory.me().getRoleName((String) map.get("roleid"))); 25 | map.put("deptName", ConstantFactory.me().getDeptName((Integer) map.get("deptid"))); 26 | map.put("statusName", ConstantFactory.me().getStatusName((Integer) map.get("status"))); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/resources/META-INF/spring-devtools.properties: -------------------------------------------------------------------------------- 1 | restart.include.beetl=/beetl-2.7.15.jar 2 | -------------------------------------------------------------------------------- /src/main/resources/gunsTemplate/Dao.java.btl: -------------------------------------------------------------------------------- 1 | package ${dao.packageName}; 2 | 3 | /** 4 | * ${context.bizChName}Dao 5 | * 6 | * @author gaowh 7 | * @Date ${tool.currentTime()} 8 | */ 9 | public interface ${context.bizEnBigName}Dao { 10 | 11 | 12 | } 13 | -------------------------------------------------------------------------------- /src/main/resources/gunsTemplate/Mapping.xml.btl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/main/resources/gunsTemplate/Service.java.btl: -------------------------------------------------------------------------------- 1 | package ${service.packageName}; 2 | 3 | /** 4 | * ${context.bizChName}Service 5 | * 6 | * @author gaowh 7 | * @Date ${tool.currentTime()} 8 | */ 9 | public interface I${context.bizEnBigName}Service { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/resources/gunsTemplate/ServiceImpl.java.btl: -------------------------------------------------------------------------------- 1 | package ${service.packageName}.impl; 2 | 3 | <% for(import in service.serviceImplImports!){ %> 4 | import ${import}; 5 | <% } %> 6 | 7 | /** 8 | * ${context.bizChName}Dao 9 | * 10 | * @author gaowh 11 | * @Date ${tool.currentTime()} 12 | */ 13 | @Service 14 | public class ${context.bizEnBigName}ServiceImpl implements I${context.bizEnBigName}Service { 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /src/main/resources/gunsTemplate/page_add.html.btl: -------------------------------------------------------------------------------- 1 | @layout("/common/_container.html"){ 2 |
3 |
4 |
5 | 6 | 7 | 8 |
9 |
10 | 11 |
12 | 13 |
14 | 15 |
16 |
17 | 18 |
19 |
20 | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="${context.bizEnBigName}InfoDlg.addSubmit()"/> 21 | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="${context.bizEnBigName}InfoDlg.close()"/> 22 |
23 |
24 |
25 | 26 |
27 |
28 | 29 | @} 30 | -------------------------------------------------------------------------------- /src/main/resources/gunsTemplate/page_edit.html.btl: -------------------------------------------------------------------------------- 1 | @layout("/common/_container.html"){ 2 |
3 |
4 |
5 | 6 | 7 | 8 |
9 |
10 | 11 |
12 | 13 |
14 | 15 |
16 |
17 | 18 |
19 |
20 | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="${context.bizEnBigName}InfoDlg.editSubmit()"/> 21 | <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="${context.bizEnBigName}InfoDlg.close()"/> 22 |
23 |
24 |
25 | 26 |
27 |
28 | 29 | @} 30 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/blackboard.html: -------------------------------------------------------------------------------- 1 | @layout("/common/_container.html"){ 2 |
3 |
4 |
5 | @for(notice in noticeList){ 6 |
7 | 8 | ${notice.content} 9 |
10 | @} 11 |
12 |
13 |
14 | @} 15 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/NameCon.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | 名称查询条件标签的参数说明: 3 | 4 | name : 查询条件的名称 5 | id : 查询内容的input框id 6 | @*/ 7 |
8 |
9 | 12 |
13 | 14 |
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/SelectCon.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | 选择查询条件标签的参数说明: 3 | 4 | name : 查询条件的名称 5 | id : 查询内容的input框id 6 | @*/ 7 |
8 |
9 | 12 |
13 | 16 |
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/TimeCon.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | 时间查询条件标签的参数说明: 3 | 4 | name : 查询条件的名称 5 | id : 查询内容的input框id 6 | isTime : 日期是否带有小时和分钟(true/false) 7 | pattern : 日期的正则表达式(例如:"YYYY-MM-DD") 8 | @*/ 9 |
10 |
11 | 14 |
15 | 17 |
-------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/avatar.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | 头像参数的说明: 3 | name : 名称 4 | id : 头像的id 5 | @*/ 6 |
7 | 8 |
9 |
10 |
13 | @}else{ 14 | src="${ctxPath}/kaptcha/${avatarImg}">
15 | @} 16 |
17 |
18 |
19 |
20 |  上传 21 |
22 |
23 | 24 | 25 | @if(isNotEmpty(underline) && underline == 'true'){ 26 |
27 | @} 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/button.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | 按钮标签中各个参数的说明: 3 | 4 | btnType : 按钮的类型决定了颜色(default-灰色,primary-绿色,success-蓝色,info-淡蓝色,warning-黄色,danger-红色,white-白色) 5 | space : 按钮左侧是否有间隔(true/false) 6 | clickFun : 点击按钮所执行的方法 7 | icon : 按钮上的图标的样式 8 | name : 按钮名称 9 | @*/ 10 | 11 | @var spaceCss = ""; 12 | @var btnType = ""; 13 | @if(isEmpty(space)){ 14 | @ spaceCss = ""; 15 | @}else{ 16 | @ spaceCss = "button-margin"; 17 | @} 18 | @if(isEmpty(btnCss)){ 19 | @ btnType = "primary"; 20 | @}else{ 21 | @ btnType = btnCss; 22 | @} 23 | 26 | 27 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/select.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | select标签中各个参数的说明: 3 | name : select的名称 4 | id : select的id 5 | underline : 是否带分割线 6 | @*/ 7 |
8 | 9 |
10 | 13 | @if(isNotEmpty(hidden)){ 14 | 15 | @} 16 |
17 |
18 | @if(isNotEmpty(underline) && underline == 'true'){ 19 |
20 | @} 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/view/common/tags/table.tag: -------------------------------------------------------------------------------- 1 | @/* 2 | 表格标签的参数说明: 3 | 4 | id : table表格的id 5 | @*/ 6 | 7 | 8 | 9 | 10 | 11 | 12 |
-------------------------------------------------------------------------------- /src/main/webapp/static/css/patterns/header-profile-skin-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/patterns/header-profile-skin-1.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/patterns/header-profile-skin-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/patterns/header-profile-skin-3.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/patterns/header-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/patterns/header-profile.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/patterns/shattered.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/patterns/shattered.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/css/demo.css: -------------------------------------------------------------------------------- 1 | /* 2 | * blueimp Gallery Demo CSS 2.0.0 3 | * https://github.com/blueimp/Gallery 4 | * 5 | * Copyright 2013, Sebastian Tschan 6 | * https://blueimp.net 7 | * 8 | * Licensed under the MIT license: 9 | * http://www.opensource.org/licenses/MIT 10 | */ 11 | 12 | body { 13 | max-width: 750px; 14 | margin: 0 auto; 15 | padding: 1em; 16 | font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif; 17 | font-size: 1em; 18 | line-height: 1.4em; 19 | background: #222; 20 | color: #fff; 21 | -webkit-text-size-adjust: 100%; 22 | -ms-text-size-adjust: 100%; 23 | } 24 | a { 25 | color: orange; 26 | text-decoration: none; 27 | } 28 | img { 29 | border: 0; 30 | vertical-align: middle; 31 | } 32 | h1 { 33 | line-height: 1em; 34 | } 35 | h2, 36 | .links { 37 | text-align: center; 38 | } 39 | 40 | @media (min-width: 481px) { 41 | .navigation { 42 | list-style: none; 43 | padding: 0; 44 | } 45 | .navigation li { 46 | display: inline-block; 47 | } 48 | .navigation li:not(:first-child):before { 49 | content: '| '; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/blueimp/img/error.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/error.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/blueimp/img/loading.gif -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/play-pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/blueimp/img/play-pause.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/play-pause.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/video-play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/blueimp/img/video-play.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/blueimp/img/video-play.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/chosen/chosen-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/chosen/chosen-sprite.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/chosen/chosen-sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/chosen/chosen-sprite@2x.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/alpha.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/hue.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/colorpicker/img/bootstrap-colorpicker/saturation.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/footable/fonts/footable.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/footable/fonts/footable.eot -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/footable/fonts/footable.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/footable/fonts/footable.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/footable/fonts/footable.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/footable/fonts/footable.woff -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/fullcalendar/fullcalendar.print.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * FullCalendar v1.6.4 Print Stylesheet 3 | * Docs & License: http://arshaw.com/fullcalendar/ 4 | * (c) 2013 Adam Shaw 5 | */ 6 | 7 | /* 8 | * Include this stylesheet on your page to get a more printer-friendly calendar. 9 | * When including this stylesheet, use the media='print' attribute of the tag. 10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css. 11 | */ 12 | 13 | 14 | /* Events 15 | -----------------------------------------------------*/ 16 | 17 | .fc-event { 18 | background: #fff !important; 19 | color: #000 !important; 20 | } 21 | 22 | /* for vertical events */ 23 | 24 | .fc-event-bg { 25 | display: none !important; 26 | } 27 | 28 | .fc-event .ui-resizable-handle { 29 | display: none !important; 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/iCheck/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/iCheck/green.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/iCheck/green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/iCheck/green@2x.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/images/sort_asc.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/images/sort_desc.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/images/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/images/sprite-skin-flat.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/images/spritemap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/images/spritemap.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/images/spritemap@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/images/spritemap@2x.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jQueryUI/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jQueryUI/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jQueryUI/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jquery-treegrid/img/collapse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jquery-treegrid/img/collapse.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jquery-treegrid/img/expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jquery-treegrid/img/expand.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jquery-treegrid/img/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jquery-treegrid/img/file.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jquery-treegrid/img/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jquery-treegrid/img/folder.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jsTree/32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jsTree/32px.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/jsTree/throbber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/jsTree/throbber.gif -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/morris/morris-0.4.3.min.css: -------------------------------------------------------------------------------- 1 | .morris-hover{position:absolute;z-index:1000;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#666;background:rgba(255, 255, 255, 0.8);border:solid 2px rgba(230, 230, 230, 0.8);font-family:sans-serif;font-size:12px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;} 2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;} 3 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/switchery/switchery.css: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Main stylesheet for Switchery. 4 | * http://abpetkov.github.io/switchery/ 5 | * 6 | */ 7 | 8 | .switchery { 9 | background-color: #fff; 10 | border: 1px solid #dfdfdf; 11 | border-radius: 20px; 12 | cursor: pointer; 13 | display: inline-block; 14 | height: 30px; 15 | position: relative; 16 | vertical-align: middle; 17 | width: 50px; 18 | 19 | -webkit-box-sizing: content-box; 20 | -moz-box-sizing: content-box; 21 | box-sizing: content-box; 22 | } 23 | 24 | .switchery > small { 25 | background: #fff; 26 | border-radius: 100%; 27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); 28 | height: 30px; 29 | position: absolute; 30 | top: 0; 31 | width: 30px; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/validate/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} -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/webuploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #1ab394; 14 | padding: 6px 12px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | font-size: 14px; 20 | font-weight: 400; 21 | } 22 | .webuploader-pick-hover { 23 | background: #18ab8d; 24 | } 25 | 26 | .webuploader-pick-disable { 27 | opacity: 0.6; 28 | pointer-events:none; 29 | } 30 | 31 | -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/1_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/1_close.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/1_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/1_open.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/2.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/3.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/4.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/5.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/6.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/7.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/8.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/diy/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/diy/9.png -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/line_conn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/line_conn.gif -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/loading.gif -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/zTreeStandard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/zTreeStandard.gif -------------------------------------------------------------------------------- /src/main/webapp/static/css/plugins/ztree/img/zTreeStandard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/css/plugins/ztree/img/zTreeStandard.png -------------------------------------------------------------------------------- /src/main/webapp/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/favicon.ico -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/main/webapp/static/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /src/main/webapp/static/img/a1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a1.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a2.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a3.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a4.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a5.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a6.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a7.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a8.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/a9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/a9.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/bg.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/boy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/boy.gif -------------------------------------------------------------------------------- /src/main/webapp/static/img/browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/browser.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/browser.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/browser.psd -------------------------------------------------------------------------------- /src/main/webapp/static/img/girl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/girl.gif -------------------------------------------------------------------------------- /src/main/webapp/static/img/iconfont-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/iconfont-logo.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/icons.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/index.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/index.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/index_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/index_4.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/loading-upload.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/loading-upload.gif -------------------------------------------------------------------------------- /src/main/webapp/static/img/locked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/locked.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/login-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/login-background.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/p1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/p1.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/p2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/p2.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/p3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/p3.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/p_big1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/p_big1.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/p_big2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/p_big2.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/p_big3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/p_big3.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/pay.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/profile.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/profile_big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/profile_big.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/profile_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/profile_small.jpg -------------------------------------------------------------------------------- /src/main/webapp/static/img/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/progress.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/qr_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/qr_code.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/sprite-skin-flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/sprite-skin-flat.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/success.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/user.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/webuploader.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/webuploader.png -------------------------------------------------------------------------------- /src/main/webapp/static/img/wenku_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/img/wenku_logo.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * bootstrap-table - v1.11.1 - 2017-02-22 3 | * https://github.com/wenzhixin/bootstrap-table 4 | * Copyright (c) 2017 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); -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/codemirror/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("divide_equal_operator", 9 | "[variable bar] [operator /=] [variable foo]"); 10 | 11 | MT("divide_equal_operator_no_spacing", 12 | "[variable foo][operator /=][number 42]"); 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/codemirror/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } 27 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/fancybox/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/fancybox/blank.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/fancybox/fancybox_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/fancybox/fancybox_loading.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/fancybox/fancybox_loading@2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/fancybox/fancybox_loading@2x.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/fancybox/fancybox_overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/fancybox/fancybox_overlay.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/fancybox/fancybox_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/fancybox/fancybox_sprite.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/fancybox/fancybox_sprite@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/fancybox/fancybox_sprite@2x.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/gritter/images/gritter-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/gritter/images/gritter-light.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/gritter/images/gritter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/gritter/images/gritter.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/gritter/images/ie-spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/gritter/images/ie-spacer.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/jquery-treegrid/js/jquery.treegrid.bootstrap3.js: -------------------------------------------------------------------------------- 1 | $.extend($.fn.treegrid.defaults, { 2 | expanderExpandedClass: 'glyphicon glyphicon-chevron-down', 3 | expanderCollapsedClass: 'glyphicon glyphicon-chevron-right' 4 | }); 5 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/laydate/skins/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/laydate/skins/default/icon.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/layim/data/chatlog.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": 1, 3 | "msg": "ok", 4 | "data": [ 5 | { 6 | "id": "100001", 7 | "name": "Beaut-zihan", 8 | "time": "10:23", 9 | "face": "img/a1.jpg" 10 | }, 11 | { 12 | "id": "100002", 13 | "name": "慕容晓晓", 14 | "time": "昨天", 15 | "face": "img/a2.jpg" 16 | }, 17 | { 18 | "id": "1000033", 19 | "name": "乔峰", 20 | "time": "2014-4.22", 21 | "face": "img/a3.jpg" 22 | }, 23 | { 24 | "id": "10000333", 25 | "name": "高圆圆", 26 | "time": "2014-4.21", 27 | "face": "img/a4.jpg" 28 | } 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/layim/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/layim/loading.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/icon-ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/icon-ext.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/icon.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/icon_ext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/icon_ext.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/loading-0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/loading-0.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/loading-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/loading-1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/loading-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/loading-2.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/textbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/textbg.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/xubox_ico0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/xubox_ico0.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading0.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading1.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading2.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/xubox_loading3.gif -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/default/xubox_title0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/default/xubox_title0.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/layer/skin/moon/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/layer/skin/moon/default.png -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/markdown/bootstrap-markdown.zh.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Chinese translation for bootstrap-markdown 3 | * benhaile 4 | */ 5 | (function ($) { 6 | $.fn.markdown.messages.zh = { 7 | 'Bold': "粗体", 8 | 'Italic': "斜体", 9 | 'Heading': "标题", 10 | 'URL/Link': "链接", 11 | 'Image': "图片", 12 | 'List': "列表", 13 | 'Unordered List': "无序列表", 14 | 'Ordered List': "有序列表", 15 | 'Code': "代码", 16 | 'Quote': "引用", 17 | 'Preview': "预览", 18 | 'strong text': "粗体", 19 | 'emphasized text': "强调", 20 | 'heading text': "标题", 21 | 'enter link description here': "输入链接说明", 22 | 'Insert Hyperlink': "URL地址", 23 | 'enter image description here': "输入图片说明", 24 | 'Insert Image Hyperlink': "图片URL地址", 25 | 'enter image title here': "在这里输入图片标题", 26 | 'list text here': "这里是列表文本", 27 | 'code text here': "这里输入代码", 28 | 'quote here': "这里输入引用文本" 29 | 30 | 31 | }; 32 | }(jQuery)); 33 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/webuploader/README.md: -------------------------------------------------------------------------------- 1 | 目录说明 2 | ======================== 3 | 4 | ```bash 5 | ├── Uploader.swf # SWF文件,当使用Flash运行时需要引入。 6 | ├ 7 | ├── webuploader.js # 完全版本。 8 | ├── webuploader.min.js # min版本 9 | ├ 10 | ├── webuploader.flashonly.js # 只有Flash实现的版本。 11 | ├── webuploader.flashonly.min.js # min版本 12 | ├ 13 | ├── webuploader.html5only.js # 只有Html5实现的版本。 14 | ├── webuploader.html5only.min.js # min版本 15 | ├ 16 | ├── webuploader.noimage.js # 去除图片处理的版本,包括HTML5和FLASH. 17 | ├── webuploader.noimage.min.js # min版本 18 | ├ 19 | ├── webuploader.custom.js # 自定义打包方案,请查看 Gruntfile.js,满足移动端使用。 20 | └── webuploader.custom.min.js # min版本 21 | ``` 22 | 23 | ## 示例 24 | 25 | 请把整个 Git 包下载下来放在 php 服务器下,因为默认提供的文件接受是用 php 编写的,打开 examples 页面便能查看示例效果。 -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/webuploader/Uploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gwh2008/scaffold/83bd7c28e4b511b31746ab84215ce77c1935e07e/src/main/webapp/static/js/plugins/webuploader/Uploader.swf -------------------------------------------------------------------------------- /src/main/webapp/static/js/plugins/webuploader/webuploader.css: -------------------------------------------------------------------------------- 1 | .webuploader-container { 2 | position: relative; 3 | } 4 | .webuploader-element-invisible { 5 | position: absolute !important; 6 | clip: rect(1px 1px 1px 1px); /* IE6, IE7 */ 7 | clip: rect(1px,1px,1px,1px); 8 | } 9 | .webuploader-pick { 10 | position: relative; 11 | display: inline-block; 12 | cursor: pointer; 13 | background: #00b7ee; 14 | padding: 10px 15px; 15 | color: #fff; 16 | text-align: center; 17 | border-radius: 3px; 18 | overflow: hidden; 19 | } 20 | .webuploader-pick-hover { 21 | background: #00a2d4; 22 | } 23 | 24 | .webuploader-pick-disable { 25 | opacity: 0.6; 26 | pointer-events:none; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /src/main/webapp/static/js/welcome.js: -------------------------------------------------------------------------------- 1 | //欢迎信息 2 | 3 | layer.config({ 4 | extend: ['extend/layer.ext.js', 'skin/moon/style.css'], 5 | skin: 'layer-ext-moon' 6 | }); 7 | 8 | layer.ready(function () { 9 | 10 | var html = $('#welcome-template').html(); 11 | $('a.viewlog').click(function () { 12 | logs(); 13 | return false; 14 | }); 15 | 16 | $('#pay-qrcode').click(function(){ 17 | var html=$(this).html(); 18 | parent.layer.open({ 19 | title: false, 20 | type: 1, 21 | closeBtn:false, 22 | shadeClose:true, 23 | area: ['600px', 'auto'], 24 | content: html 25 | }); 26 | }); 27 | 28 | function logs() { 29 | parent.layer.open({ 30 | title: '初见倾心,再见动情', 31 | type: 1, 32 | area: ['700px', 'auto'], 33 | content: html, 34 | btn: ['确定', '取消'] 35 | }); 36 | } 37 | 38 | console.log('欢迎使用H+,如果您在使用的过程中有碰到问题,可以参考开发文档,感谢您的支持。'); 39 | 40 | }); 41 | -------------------------------------------------------------------------------- /src/main/webapp/static/modular/system/code/code.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 代码生成管理初始化 3 | */ 4 | var Code = { 5 | 6 | }; 7 | 8 | /** 9 | * 提交代码生成 10 | */ 11 | Code.generate = function () { 12 | var baseAjax = Feng.baseAjax("/code/generate","生成代码"); 13 | baseAjax.set("bizChName"); 14 | baseAjax.set("bizEnName"); 15 | baseAjax.set("path"); 16 | baseAjax.set("moduleName"); 17 | baseAjax.start(); 18 | }; 19 | -------------------------------------------------------------------------------- /src/test/java/com/gaowh/scaffold/biz/BizTest.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.biz; 2 | 3 | import com.gaowh.scaffold.base.BaseJunit; 4 | import com.gaowh.scaffold.modular.biz.service.ITestService; 5 | import org.junit.Test; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | 8 | /** 9 | * 业务测试 10 | * 11 | * @author gaowh 12 | * @date 2017-06-23 23:12 13 | */ 14 | public class BizTest extends BaseJunit { 15 | 16 | @Autowired 17 | ITestService testService; 18 | 19 | @Test 20 | public void test() { 21 | //testService.testscaffold(); 22 | 23 | // testService.testBiz(); 24 | 25 | //testService.testAll(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/test/java/com/gaowh/scaffold/shiro/Base64Test.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.shiro; 2 | 3 | import org.springframework.util.Base64Utils; 4 | 5 | import java.io.UnsupportedEncodingException; 6 | import java.util.Arrays; 7 | 8 | public class Base64Test { 9 | 10 | /** 11 | * Shiro 记住密码采用的是AES加密,AES key length 需要是16位,该方法生成16位的key 12 | */ 13 | public static void main(String[] args) { 14 | 15 | String keyStr = "scaffold"; 16 | 17 | byte[] keys; 18 | try { 19 | keys = keyStr.getBytes("UTF-8"); 20 | System.out.println(Base64Utils.encodeToString(Arrays.copyOf(keys, 16))); 21 | } catch (UnsupportedEncodingException e) { 22 | e.printStackTrace(); 23 | } 24 | 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/test/java/com/gaowh/scaffold/system/BlackBoardTest.java: -------------------------------------------------------------------------------- 1 | package com.gaowh.scaffold.system; 2 | 3 | import com.gaowh.scaffold.base.BaseJunit; 4 | import com.gaowh.scaffold.modular.system.dao.NoticeDao; 5 | import org.junit.Test; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | 8 | import java.util.List; 9 | import java.util.Map; 10 | 11 | import static org.junit.Assert.assertTrue; 12 | 13 | /** 14 | * 首页通知展示测试 15 | * 16 | * @author gaowh 17 | * @date 2017-05-21 15:02 18 | */ 19 | public class BlackBoardTest extends BaseJunit { 20 | 21 | @Autowired 22 | NoticeDao noticeDao; 23 | 24 | @Test 25 | public void blackBoardTest() { 26 | List> notices = noticeDao.list(null); 27 | assertTrue(notices.size() > 0); 28 | } 29 | } 30 | --------------------------------------------------------------------------------