本次提交完成了备忘提醒全流程功能开发: 1. 新增reminders数据库表与初始化SQL脚本 2. 后端实现提醒CRUD、定时推送任务、企微消息推送 3. 侧边栏新增提醒页面,支持创建/查看/删除/标记已跟进提醒 4. 管理后台新增提醒管理页面,支持多条件查询与删除 5. 优化了会话总结的错误提示文案 6. 补充了企微应用agent-id配置项
51 lines
1.3 KiB
Nginx Configuration File
51 lines
1.3 KiB
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
# API 代理到 Gateway
|
|
location /api/ {
|
|
proxy_pass http://gateway:8080;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
}
|
|
|
|
# 实时总结接口(外部 AI 总结服务,支持流式)
|
|
location /summary-api/ {
|
|
proxy_pass http://8.159.132.53:8000/api/summary/;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Connection "";
|
|
proxy_buffering off;
|
|
proxy_cache off;
|
|
proxy_read_timeout 300s;
|
|
}
|
|
|
|
# 每日总结独立页面
|
|
location = /summary {
|
|
try_files /summary.html =404;
|
|
}
|
|
|
|
# 运营按手机号/微信号查询客户总结
|
|
location = /summary-search {
|
|
try_files /summary-search.html =404;
|
|
}
|
|
|
|
# 跟进提醒独立页面
|
|
location = /reminder {
|
|
try_files /reminder.html =404;
|
|
}
|
|
|
|
# 静态资源
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
# 缓存静态资源
|
|
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
|
|
expires 1d;
|
|
add_header Cache-Control "public, immutable";
|
|
}
|
|
}
|