Files
vis389_backend/README.md

36 lines
1.0 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 环境:
jdk17 + mysql8 + redis (推荐)
jdk8 + mysql5.7 + redis (理论也能跑)
### 启动:
0. 以上的环境已经准备ok
1. 创建 ailanyin-boot 数据库,并导入项目 doc 目录下的 ailanyin-boot.sql
2. 修改 application-dev.yml 下的 mysql 账号密码
3. 默认 redis 没有密码,如果你的 redis 有密码,也一并更改
4. 启动 ailanyin-admin 模块下的 AdminApplication
### 约定(强制):
1. 增加--POST修改--PUT删除--DELETE查询--GET
2. 用户错误操作,请不要 new RuntimeException使用Asserts.fail(msg(String));
### 说明(必看):
1. 操作日志的开关以及级别在参数设置里面默认是开记录修改删除PUT-DELETE
2. 是否开启注册,在参数设置里面
3. 是否开启验证码,在参数设置里面 (目前是有效期 2 分钟,代码可改)
4. 是否开启拉黑机制,在参数设置里面(目前是 30 分钟内输出 5 次密码拉黑,代码可改)