-
-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Labels
bugSomething isn't workingSomething isn't workingstaleIssue has had no activity for 30+ daysIssue has had no activity for 30+ days
Description
实际请求:
curl --location --request POST 'https://host/api/actions/statistics/getUserStatistics' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--header 'Cookie: auth-token=token; auth-token=token' \
--header 'Accept: */*' \
--header 'Host: host' \
--header 'Connection: keep-alive' \
--data-raw '{
"timeRange": "hour",
"userId": 1
}'
log:
{"level":"error","time":"2025-11-28T10:02:50.913Z","pid":1,"hostname":"b907c16eacd1","err":{"type":"Error","message":"Invalid time range: [object Object]","stack":"Error: Invalid time range: [object Object]\n at n (/app/.next/server/app/api/actions/[...route]/route.js:75:7423)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async r (/app/.next/server/app/api/actions/[...route]/route.js:121:27522)\n at async g (/app/.next/server/chunks/5832.js:1:5222)\n at async /app/.next/server/app/api/actions/[...route]/route.js:121:71048\n at async b (/app/.next/server/app/api/actions/[...route]/route.js:121:72082)\n at async g (/app/.next/server/chunks/5832.js:1:5222)\n at async /app/.next/server/chunks/5832.js:1:12729\n at async rN.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:5:21042)\n at async rN.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:5:25860)"},"msg":"Failed to get user statistics:"}
{"level":"warn","time":"2025-11-28T10:02:50.913Z","pid":1,"hostname":"b907c16eacd1","error":"获取统计数据失败:Invalid time range: [object Object]","msg":"[ActionAPI] statistics.getUserStatistics failed:"}
版本v0.3.15
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleIssue has had no activity for 30+ daysIssue has had no activity for 30+ days