feat(biji-houdaun): 实现用户注册、登录、 Markdown 文件和图片上传功能

- 新增用户注册、登录接口及服务实现
- 添加 Markdown 文件创建、更新接口及服务实现
- 实现图片上传、获取接口及服务实现
- 集成 Snowflake ID 生成器
- 添加全局异常处理和统一返回结果封装
- 配置跨域访问和静态资源处理
- 实现基础的 XSS 防护
This commit is contained in:
ikmkj
2025-06-16 20:20:08 +08:00
parent 8a4bf2d245
commit 1ef2e116a6
27 changed files with 1049 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ spring:
multipart:
max-file-size: 10MB # ???????5MB
max-request-size: 10MB # ???????5MB
file:
upload-dir: uploads
#??
server:
port: 8083
@@ -19,3 +23,9 @@ worker:
# ????ID (0~31)
datacenter:
id: 1
# MyBatis-Plus??
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
configuration:
map-underscore-to-camel-case: true