feat: 添加房源审核功能及定时审核任务

This commit is contained in:
Cuishibing
2026-03-24 22:54:24 +08:00
parent 9998fb8649
commit 1b6e7fa886
6 changed files with 72 additions and 6 deletions

6
run_review.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
CRON_SECRET="smalltown_review_secret_2024"
API_URL="http://localhost:3000/api/cron/review"
curl -X POST -H "Authorization: Bearer $CRON_SECRET" "$API_URL"