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:
@@ -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_%';
|
||||
|
||||
Reference in New Issue
Block a user