Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 74eefee

Browse files
authored
docs: optimize docs (#80)
* fix: correct typo in app version config * docs: fix errors in readme * docs: remove duplicate ddl instruction
1 parent b22f8aa commit 74eefee

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AdFlux 是一个轻量级、智能化的广告投放与数据分析后台系统
77
### 1. 智能广告推荐引擎
88
系统通过多维度过滤与加权算法,为用户匹配最合适的广告:
99
- **多级过滤**:支持网站接入验证、广告时效性检测(近30天)、审核状态及启用状态校验。
10-
- **动态预算控制**:实时计算广告商周预算消耗(支持展示计费 CPC 与点击计费 CPD 混合模型),确保投放不超支。
10+
- **动态预算控制**:实时计算广告商周预算消耗(支持展示计费 CPM 与点击计费 CPC 混合模型),确保投放不超支。
1111
- **个性化加权算法**
1212
- **浏览时长分析**:基于用户在不同内容分类下的停留时间计算基础兴趣。
1313
- **反馈闭环(CTR修正)**:结合历史点击率差异进行权重补偿。
@@ -56,8 +56,7 @@ src/main/java/com/usst/adfluxbackend/
5656
- MySQL 8.0+
5757

5858
### 2. 数据库配置
59-
数据库在docs仓库中
60-
1. 执行 `src/main/resources/sql/` 目录下的 SQL 文件初始化表结构。
59+
1. 执行 SQL 文件初始化表结构(详见 [Database Design](https://github.com/USST-JavaWeb-251-AdFlux/docs/blob/main/Database-Design.md))。
6160
2.`src/main/resources/application-local.yml` (或 `application-dev.yml`) 中修改数据库连接信息:
6261
```yaml
6362
spring:

src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spring:
2828
max-request-size: 100MB
2929

3030
app:
31-
version: '@aapp.version@'
31+
version: '@app.version@'
3232

3333
# JWT配置
3434
jwt:
@@ -69,4 +69,4 @@ media:
6969
ffmpeg:
7070
# 只要配了环境变量,这里直接写 'ffprobe' 即可,系统会自动去 Path 里找
7171
# 如果没配环境变量,才需要写绝对路径
72-
ffprobe-path: ${media.ffmpeg.ffprobe-path}
72+
ffprobe-path: ${media.ffmpeg.ffprobe-path}

0 commit comments

Comments
 (0)