feat: 添加房源审核功能及定时审核任务
This commit is contained in:
6
run_review.sh
Executable file
6
run_review.sh
Executable 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"
|
||||
Reference in New Issue
Block a user