mirror of https://github.com/elunez/eladmin
update README.md
parent
0971b14f48
commit
9aa07b1a7d
|
@ -1,6 +1,10 @@
|
||||||
# eladmin
|
# 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)
|
[http://auauz.net](http://auauz.net)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
server:
|
server:
|
||||||
port: 80
|
port: 8000
|
||||||
|
|
||||||
#配置数据源
|
#配置数据源
|
||||||
spring:
|
spring:
|
||||||
|
@ -7,9 +7,9 @@ spring:
|
||||||
druid:
|
druid:
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
|
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
|
username: root
|
||||||
password: 123456
|
password: Aurora@zj@.
|
||||||
|
|
||||||
# 初始化连接大小
|
# 初始化连接大小
|
||||||
initial-size: 5
|
initial-size: 5
|
||||||
|
|
|
@ -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]);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue