feat: landing settings, instant withdraw deduct, and OTP site URL

Add has_landing plus landing_* deploy keys, deduct balance on withdraw request, keep app_url for SMS login links, and clarify Zarin rial wallet document titles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 17:01:39 +03:30
co-authored by Cursor
parent 1c7ea16300
commit 8cee34bfba
13 changed files with 344 additions and 58 deletions
@@ -72,8 +72,10 @@ UPDATE `settings` SET `menu` = CASE
'products_site_link_enabled', 'products_site_link_url', 'products_site_link_text', 'has_chat',
'enable_conditional_order', 'enable_product_funds', 'has_page_price_trigger', 'has_page_notification',
'has_page_gift_card', 'enable_customer_level_profit', 'jibit_enabled', 'customer_direct_sms',
'has_page_earn_money', 'group_sms', 'customer_special_pricing', 'permision__enabled', 'show_to_users_chat'
'has_page_earn_money', 'group_sms', 'customer_special_pricing', 'permision__enabled', 'show_to_users_chat',
'has_landing'
) THEN 'customer_features'
WHEN `key` LIKE 'landing_%' THEN 'website_settings'
ELSE 'misc'
END;
@@ -108,6 +110,7 @@ UPDATE `settings` SET `show_to_user` = 1 WHERE `key` IN (
'fee_deduct_from_gold',
'fee_service_charge_percentage',
'has_chat',
'has_landing',
'has_page_earn_money',
'has_page_gift_card',
'has_page_notification',
@@ -148,3 +151,5 @@ UPDATE `settings` SET `show_to_user` = 1 WHERE `key` IN (
'wss_path',
'zaarbox_api_url'
);
UPDATE `settings` SET `show_to_user` = 1 WHERE `key` LIKE 'landing_%';