# dandelion **Repository Path**: okkpp/dandelion ## Basic Information - **Project Name**: dandelion - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-09 - **Last Updated**: 2021-12-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: Java, SpringBoot, MyBatis ## README dandelion: 蒲公英 用于快速搭建基本web服务. 统一请求响应格式: ``` { "code":200, "data":"hi.", "msg":"成功." } ``` 简单的登录校验(依赖缓存) 常用工具集: xml解析. webService接口调用. ... 使用方法: 1. pom.xml ``` org.okkpp dandelion-spring-boot-starter 1.0.0 ``` 2. 开启默认配置 @EnableDandelionConfiguration(依赖 @EnableCaching) 或改用可选配置: @EnableCors @EnableWebSupport @EnableTokenInterceptor(依赖 @EnableCaching) 3. application.yaml ``` spring: cache: type: ehcache ehcache: config: classpath:spring-ehcache.xml dandelion: interceptor-exclude-path: - "/index/**" web-support-package: "dandelion" login-denied-path: "/index/denied" ```