mirror of https://github.com/halo-dev/halo
Update readme.
parent
2297a895f1
commit
b97628f4a8
36
README.md
36
README.md
|
@ -1,6 +1,6 @@
|
||||||
<h1 align="center"><a href="https://github.com/halo-dev" target="_blank">Halo</a></h1>
|
<h1 align="center"><a href="https://github.com/halo-dev" target="_blank">Halo</a></h1>
|
||||||
|
|
||||||
> Halo 是一款现代化的个人独立博客系统,给习惯写博客的同学一个更好的选择。
|
> Halo 是一款现代化的个人独立博客系统,给习惯写博客的同学多一个选择。
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="#"><img alt="JDK" src="https://img.shields.io/badge/JDK-1.8-yellow.svg?style=flat-square"/></a>
|
<a href="#"><img alt="JDK" src="https://img.shields.io/badge/JDK-1.8-yellow.svg?style=flat-square"/></a>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
轻快,简洁,功能强大,使用 Java 开发的博客系统。
|
轻快,简洁,功能强大,使用 Java 开发的博客系统。
|
||||||
|
|
||||||
> [官网论坛](https://bbs.halo.run) | [QQ 交流群](https://jq.qq.com/?_wv=1027&k=5tnr930) | [Telegram 交流群](https://t.me/HaloBlog) | [Telegram 频道](https://t.me/halo_dev) | [WeHalo 小程序](https://github.com/aquanlerou/WeHalo)。
|
> [官方社区](https://bbs.halo.run) | [QQ 交流群](https://jq.qq.com/?_wv=1027&k=5tnr930) | [Telegram 交流群](https://t.me/HaloBlog) | [Telegram 频道](https://t.me/halo_dev) | [WeHalo 小程序](https://github.com/aquanlerou/WeHalo)。
|
||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ wget https://github.com/halo-dev/halo/releases/download/v1.0.3/halo-1.0.3.jar -O
|
||||||
### 启动 Halo
|
### 启动 Halo
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nohup java -jar halo-latest.jar >/dev/null 2>&1&
|
java -jar halo-latest.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
详细文档请移步:<https://halo.run/guide>
|
详细文档请移步:<https://halo.run/guide>
|
||||||
|
@ -70,32 +70,32 @@ nohup java -jar halo-latest.jar >/dev/null 2>&1&
|
||||||
|
|
||||||
## 预览图
|
## 预览图
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||

|

|
|
@ -40,7 +40,7 @@ public class MenuController {
|
||||||
|
|
||||||
@GetMapping("tree_view")
|
@GetMapping("tree_view")
|
||||||
@ApiOperation("List as category tree")
|
@ApiOperation("List as category tree")
|
||||||
public List<MenuVO> listAsTree(@SortDefault(sort = "name", direction = ASC) Sort sort) {
|
public List<MenuVO> listAsTree(@SortDefault(sort = "priority", direction = ASC) Sort sort) {
|
||||||
return menuService.listAsTree(sort);
|
return menuService.listAsTree(sort);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -217,6 +217,8 @@ public class AdminServiceImpl implements AdminService {
|
||||||
// Gets random code.
|
// Gets random code.
|
||||||
String code = RandomUtil.randomNumbers(6);
|
String code = RandomUtil.randomNumbers(6);
|
||||||
|
|
||||||
|
log.info("Get reset password code:{}", code);
|
||||||
|
|
||||||
// Send email to administrator.
|
// Send email to administrator.
|
||||||
String content = "您正在进行密码重置操作,如不是本人操作,请尽快做好相应措施。密码重置验证码如下(五分钟有效):\n" + code;
|
String content = "您正在进行密码重置操作,如不是本人操作,请尽快做好相应措施。密码重置验证码如下(五分钟有效):\n" + code;
|
||||||
mailService.sendMail(param.getEmail(), "找回密码验证码", content);
|
mailService.sendMail(param.getEmail(), "找回密码验证码", content);
|
||||||
|
|
Loading…
Reference in New Issue