Add remote SMS panel sync API and product MySQL import script.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 20:53:59 +03:30
co-authored by Cursor
parent 57654e295c
commit 17a54774ae
6 changed files with 850 additions and 13 deletions
+5
View File
@@ -29,6 +29,11 @@ CENTRAL_SMS_PLATFORM="superadmin"
# رمز مشترک SMS ریموت (HMAC + دامنه) — همان مقدار روی همه نسخه‌های همکار/خانگی
SMS_REMOTE_SHARED_SECRET="replace-with-long-random-shared-secret"
# همگام‌سازی / مهاجرت SMS از MySQL یک نسخه (هر بار یک دامنه)
# SMS_IMPORT_DOMAIN=montpar.ir
# SMS_IMPORT_PRODUCT=hamkar
# SMS_IMPORT_DRY_RUN=1
# SMS_IMPORT_HISTORY=1
HAMKAR_DB_HOST=127.0.0.1
HAMKAR_DB_PORT=3306
HAMKAR_DB_USER=root