From 6052c807a22c0576ca2bc87fbfde6337115b1051 Mon Sep 17 00:00:00 2001 From: qyx <565485304@qq.com> Date: Mon, 12 Apr 2021 21:48:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86READ=20-=20ME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 53 ++++--------------- .../src/test/java/me/zhengjie/SimpleTest.java | 6 ++- 2 files changed, 16 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index be18780..9ac167d 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,22 @@ -

EL-ADMIN 后台管理系统

+

百业 - 对外后台管理系统

[![AUR](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://github.com/elunez/eladmin/blob/master/LICENSE) -[![star](https://gitee.com/elunez/eladmin/badge/star.svg?theme=white)](https://gitee.com/elunez/eladmin) -[![GitHub stars](https://img.shields.io/github/stars/elunez/eladmin.svg?style=social&label=Stars)](https://github.com/elunez/eladmin) -[![GitHub forks](https://img.shields.io/github/forks/elunez/eladmin.svg?style=social&label=Fork)](https://github.com/elunez/eladmin)
#### 项目简介 -一个基于 Spring Boot 2.1.0 、 Spring Boot Jpa、 JWT、Spring Security、Redis、Vue的前后端分离的后台管理系统 +基于 eladmin - 开源框架为基础 -**开发文档:** [https://el-admin.vip](https://el-admin.vip) +技术栈:Spring Boot 2.1.0 、 Spring Boot Jpa、 JWT、Spring Security、Redis、 Vue -**体验地址:** [https://el-admin.xin](https://el-admin.xin) - -**账号密码:** `admin / 123456` - -#### 项目源码 +#### 项目源码地址 | | 后端源码 | 前端源码 | |--- |--- | --- | -| github | https://github.com/elunez/eladmin | https://github.com/elunez/eladmin-web | -| 码云 | https://gitee.com/elunez/eladmin | https://gitee.com/elunez/eladmin-web | +| 公司仓库 | http://47.110.11.213:3000/BY_BE_team/plat2-eladmin | http://47.110.11.213:3000/BY_FE_team/plat2-eladmin-web | -#### 主要特性 +#### eladmin 原始框架主要特性 - 使用最新技术栈,社区资源丰富。 - 高效率开发,代码生成器可一键生成前后端代码 - 支持数据字典,可方便地对一些状态进行管理 @@ -36,7 +28,7 @@ - 支持在线用户管理与服务器性能监控,支持限制单用户登录 - 支持运维管理,可方便地对远程服务器的应用进行部署与管理 -#### 系统功能 +#### eladmin 原始框架系统功能 - 用户管理:提供用户的相关配置,新增用户后,默认密码为123456 - 角色管理:对权限与菜单进行分配,可根据部门设置角色的数据权限 - 菜单管理:已实现菜单动态路由,后端可配置化,支持多级菜单 @@ -54,7 +46,7 @@ - 服务监控:监控服务器的负载情况 - 运维管理:一键部署你的应用 -#### 项目结构 +#### eladmin 原始框架项目结构 项目采用按功能分模块的开发方式,结构如下 - `eladmin-common` 为系统的公共模块,各种工具类,公共配置存在该模块 @@ -67,7 +59,7 @@ - `eladmin-generator` 为系统的代码生成模块,代码生成的模板在 system 模块中 -#### 详细结构 +#### eladmin 原始框架详细结构 ``` - eladmin-common 公共模块 @@ -81,30 +73,11 @@ - config 配置跨域与静态资源,与数据权限 - thread 线程池相关 - modules 系统相关模块(登录授权、系统监控、定时任务、运维管理等) + - upload 上传文件相关的代码 - eladmin-logging 系统日志模块 - eladmin-tools 系统第三方工具模块 - eladmin-generator 系统代码生成模块 ``` - -#### 系统预览 - - - - - - - - - - - - - - - - - -
image.pngimage1fdb6befae2368c8.png
image80b090dc27faea86.pngimagec7e0a6b8701cd890.png
imageff0d9e4ab8d3674c.pngimage923ef574ace41404.png
imagef37b559927af1a10.pngimageabafc6a7f0522967.png
#### 特别鸣谢 @@ -120,8 +93,4 @@ - 感谢 [d15801543974](https://github.com/d15801543974) 大佬提供的基于注解的通用查询方式 -#### 项目捐赠 -项目的发展离不开你的支持,请作者喝杯咖啡吧☕ [Donate](https://el-admin.vip/donation/) - -#### 反馈交流 -- QQ交流群:891137268 +- 感谢 [Elune](https://gitee.com/elunez/eladmin) 大佬提供的开源好用的脚手架 diff --git a/eladmin-system/src/test/java/me/zhengjie/SimpleTest.java b/eladmin-system/src/test/java/me/zhengjie/SimpleTest.java index 24c5ca1..c2383ee 100644 --- a/eladmin-system/src/test/java/me/zhengjie/SimpleTest.java +++ b/eladmin-system/src/test/java/me/zhengjie/SimpleTest.java @@ -15,6 +15,7 @@ import org.junit.Test; import java.io.File; import java.io.IOException; +import java.nio.charset.Charset; import java.text.SimpleDateFormat; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; @@ -158,7 +159,7 @@ public class SimpleTest { list.add(RandomUtil.randomString(24)); tmp = 0; }else { - list.add(RandomUtil.randomString(11)); + list.add(RandomUtil.randomString("12345678",11)); tmp = 1; } } @@ -169,6 +170,9 @@ public class SimpleTest { System.out.println("24: " + collect.get(24).size()); System.out.println("11: " + collect.get(11).size()); + // 写入文件 + FileUtil.writeLines(collect.get(24),"C:\\Users\\Administrator\\Desktop\\1.txt", Charset.defaultCharset()); + FileUtil.writeLines(collect.get(11),"C:\\Users\\Administrator\\Desktop\\2.txt", Charset.defaultCharset()); }