修复详情页返回逻辑: 根据来源页面智能返回

Changes:
- 详情页从哪里来就回哪里去
- 统计信息页点击详情后返回统计信息页
- 列表页点击详情后返回列表页
- 使用 request.referrer 自动追踪来源页面
This commit is contained in:
OpenClaw Agent
2026-02-07 00:29:26 +00:00
parent b5fce34793
commit a308989c3b
4 changed files with 11 additions and 8 deletions

View File

@@ -3,15 +3,15 @@ Description=SMS Receiver Web Service
After=network.target
[Service]
Type=forking
Type=simple
User=root
WorkingDirectory=/root/.openclaw/workspace/sms-receiver
ExecStart=/root/.openclaw/workspace/sms-receiver/sms_receiverctl.sh start
ExecStop=/root/.openclaw/workspace/sms-receiver/sms_receiverctl.sh stop
ExecReload=/root/.openclaw/workspace/sms-receiver/sms_receiverctl.sh restart
PIDFile=/root/.openclaw/workspace/sms-receiver/sms_receiver.pid
Environment="PYTHONUNBUFFERED=1"
ExecStart=/usr/bin/python3 app.py
Restart=always
RestartSec=5
StandardOutput=append:/root/.openclaw/workspace/sms-receiver/sms_receiver.log
StandardError=append:/root/.openclaw/workspace/sms-receiver/sms_receiver.log
[Install]
WantedBy=multi-user.target