update README.md

pull/2/head
郑杰 2018-12-23 10:19:47 +08:00
parent 0971b14f48
commit 9aa07b1a7d
3 changed files with 8 additions and 38 deletions

View File

@ -1,6 +1,10 @@
# eladmin
项目基于 Spring Boot 2.1.0 、 Spring boot Jpa、 Spring Security、redis、Vue的前后端分离的权限管理系统 权限控制采用 RBAC 思想,支持 动态路由、项目1.0版本提供一个纯净的后台管理,第三方工具将在后面的版本中添加,前端源码地址:[https://github.com/elunez/eladmin-qd](https://github.com/elunez/eladmin-qd)
项目基于 Spring Boot 2.1.0 、 Spring boot Jpa、 Spring Security、redis、Vue的前后端分离的权限管理系统 权限控制采用 RBAC 思想,支持 动态路由、项目1.0版本提供一个纯净的后台管理,第三方工具将在后面的版本中添加
#### 前端源码
- 码云:[https://gitee.com/elunez/eladmin-qt](https://gitee.com/elunez/eladmin-qt)
- github[https://github.com/elunez/eladmin-qd](https://github.com/elunez/eladmin-qd)
#### 预览地址
[http://auauz.net](http://auauz.net)

View File

@ -1,5 +1,5 @@
server:
port: 80
port: 8000
#配置数据源
spring:
@ -7,9 +7,9 @@ spring:
druid:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://localhost:3306/eladmin?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
url: jdbc:log4jdbc:mysql://118.25.192.171:3306/eladmin?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
username: root
password: 123456
password: Aurora@zj@.
# 初始化连接大小
initial-size: 5

View File

@ -1,34 +0,0 @@
package me.zhengjie;
import me.zhengjie.monitor.domain.vo.RedisVo;
import me.zhengjie.monitor.service.RedisService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.util.Calendar;
import java.util.Date;
@RunWith(SpringRunner.class)
@SpringBootTest
public class EladminApplicationTests {
@Autowired
private RedisService redisService;
@Test
public static void main(String[] args) {
String[] weekDays = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
Calendar cal = Calendar.getInstance();
cal.setTime(new Date());
int w = cal.get(Calendar.DAY_OF_WEEK) - 1;
if (w < 0){
w = 0;
}
System.out.println(weekDays[w]);
}
}