fix all error 3
This commit is contained in:
@@ -36,12 +36,14 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'auto_active_customer'
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'bace_url', '91.212.174.137', 'آدرس پایه', 1, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'bace_url' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'balance_report_exclude_customer_id', '', 'حذف مشتری از تراز ادمین', 0, 0, NULL, 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'balance_report_exclude_customer_id' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'bale_bot_token', '', 'توکن بات بله', 0, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'bale_bot_token' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'balance_report_exclude_customer_id', '', 'حذف مشتری از تراز ادمین', 0, 0, NULL, 'number'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'balance_report_exclude_customer_id' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'bale_bot_token', '', 'توکن بات بله', 0, 0, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'bale_bot_token' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'buy_fee', '0', 'سود/اختلاف خرید (ریال)', 1, 1, 'اگر خالی باشد از fee_single', 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'buy_fee' LIMIT 1);
|
||||
@@ -63,9 +65,10 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'color_secondary' LIMIT
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'display_montzar', 'true', 'نمایش بلوک همکار در UI', 1, 1, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'display_montzar' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'down_price', '', 'کمترین قیمت امروز', 0, 0, NULL, 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'down_price' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'down_price', '', 'کمترین قیمت امروز', 0, 0, NULL, 'number'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'down_price' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'endDay', '20:30', 'پایان بازه معامله', 1, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'endDay' LIMIT 1);
|
||||
@@ -153,15 +156,18 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_base_url' LIMI
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_closed', 'false', 'بسته بودن همکار', 1, 1, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_closed' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_diff', '300106.05286206', 'اختلاف قیمت همکار', 0, 1, 'سیستم پر میکند', 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_diff' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_live_price', '179740440.58339', 'قیمت لحظهای همکار', 0, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_live_price' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_mazaneh', '778600000', 'مظنه همکار', 0, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_mazaneh' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'montzar_diff', '300106.05286206', 'اختلاف قیمت همکار', 0, 1, 'سیستم پر میکند', 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_diff' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'montzar_live_price', '179740440.58339', 'قیمت لحظهای همکار', 0, 1, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_live_price' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'montzar_mazaneh', '778600000', 'مظنه همکار', 0, 1, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_mazaneh' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_mobile', '09901810700', 'موبایل API همکار', 1, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_mobile' LIMIT 1);
|
||||
@@ -180,15 +186,18 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_price' LIMIT 1
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_product_id', '25', 'کد محصول همکار', 1, 1, NULL, 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_product_id' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_token', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2xpbWFuZ29sZC5pci9zZXJ2ZXIvYXV0aC9sb2dpbiIsImlhdCI6MTc4MDQ5MjE0MiwiZXhwIjoxNzgzMDg0MTQyLCJuYmYiOjE3ODA0OTIxNDIsImp0aSI6IkZyYWwzN09jMzB4SHJRM1MiLCJzdWIiOiIzMzQ2IiwicHJ2IjoiMWQwYTAyMGFjZjVjNGI2YzQ5Nzk4OWRmMWFiZjBmYmQ0ZThjOGQ2MyJ9.cw31HhaBYJtNvTNnJwctU1J5tGp1-FDtIQVSU67HZA8', 'توکن همکار (خودکار)', 0, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_token' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_truly_buy_mazaneh', '779900000', 'مظنه خرید همکار', 0, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_truly_buy_mazaneh' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_truly_sell_mazaneh', '777300000', 'مظنه فروش همکار', 0, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_truly_sell_mazaneh' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'montzar_token', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2xpbWFuZ29sZC5pci9zZXJ2ZXIvYXV0aC9sb2dpbiIsImlhdCI6MTc4MDQ5MjE0MiwiZXhwIjoxNzgzMDg0MTQyLCJuYmYiOjE3ODA0OTIxNDIsImp0aSI6IkZyYWwzN09jMzB4SHJRM1MiLCJzdWIiOiIzMzQ2IiwicHJ2IjoiMWQwYTAyMGFjZjVjNGI2YzQ5Nzk4OWRmMWFiZjBmYmQ0ZThjOGQ2MyJ9.cw31HhaBYJtNvTNnJwctU1J5tGp1-FDtIQVSU67HZA8', 'توکن همکار (خودکار)', 0, 1, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_token' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'montzar_truly_buy_mazaneh', '779900000', 'مظنه خرید همکار', 0, 1, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_truly_buy_mazaneh' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'montzar_truly_sell_mazaneh', '777300000', 'مظنه فروش همکار', 0, 1, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_truly_sell_mazaneh' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'name_en', 'abaei_gold', 'نام انگلیسی اپ', 1, 1, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'name_en' LIMIT 1);
|
||||
@@ -225,21 +234,24 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_gateway_items'
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'payping_gateway_name', '', 'نام gateway درگاه', 1, 0, 'sepal,', 'select'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_gateway_name' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'payping_round_toman', '', 'گرد کردن مبلغ به تومان', 0, 0, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_round_toman' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'payping_round_toman', '', 'گرد کردن مبلغ به تومان', 0, 0, NULL, 'switch'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_round_toman' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'payping_start_url', '', 'آدرس شروع درگاه', 1, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_start_url' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'payping_strict_failed_withdraw', '', 'اولویت تراکنش ناموفق', 0, 0, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_strict_failed_withdraw' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'payping_strict_failed_withdraw', '', 'اولویت تراکنش ناموفق', 0, 0, NULL, 'switch'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_strict_failed_withdraw' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'payping_verify_url', '', 'آدرس تأیید درگاه', 1, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'payping_verify_url' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'price_extreme_date', '', 'تاریخ min/max روز', 0, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'price_extreme_date' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'price_extreme_date', '', 'تاریخ min/max روز', 0, 0, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'price_extreme_date' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'price_provider', 'montzar', 'منبع قیمت', 1, 1, 'montzar,zaarbox,main_product,etehadie,taban_gohar', 'select'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'price_provider' LIMIT 1);
|
||||
@@ -249,9 +261,10 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'product_auto_close_ope
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'product_update_price_on_list', 'true', 'بروز قیمت در لیست محصول', 1, 1, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'product_update_price_on_list' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'profit_gold_api_enabled', '', 'API سود طلا', 0, 0, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'profit_gold_api_enabled' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'profit_gold_api_enabled', '', 'API سود طلا', 0, 0, NULL, 'switch'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'profit_gold_api_enabled' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'referral_bonus_amount', '', 'مبلغ پاداش معرف', 1, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'referral_bonus_amount' LIMIT 1);
|
||||
@@ -276,9 +289,10 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'register_referral_sms_
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'sell_fee', '0', 'سود/اختلاف فروش (ریال)', 1, 1, 'اگر خالی باشد از fee_single', 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'sell_fee' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'send_to_tahesab', 'false', 'ارسال تهحساب', 0, 1, NULL, 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'send_to_tahesab' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'send_to_tahesab', 'false', 'ارسال تهحساب', 0, 1, NULL, 'switch'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'send_to_tahesab' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'server_url', 'https://abaeigold.ir/api', 'آدرس API سرور', 1, 1, 'in server', 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'server_url' LIMIT 1);
|
||||
@@ -309,9 +323,10 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'tahesab_db' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'tahesab_token', '', 'توکن تهحساب', 1, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'tahesab_token' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'telegram_bot_token', '', 'توکن بات تلگرام', 0, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'telegram_bot_token' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'telegram_bot_token', '', 'توکن بات تلگرام', 0, 0, NULL, 'text'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'telegram_bot_token' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'test*', '', '', 1, 0, 'تستی است', 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'test*' LIMIT 1);
|
||||
@@ -327,9 +342,10 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'title_fav' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'title_pwa', '', 'عنوان PWA', 1, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'title_pwa' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'up_price', '', 'بیشترین قیمت امروز', 0, 0, 'ReportController', 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'up_price' LIMIT 1);
|
||||
-- [super-admin can_edit=0]
|
||||
-- INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
-- SELECT 'up_price', '', 'بیشترین قیمت امروز', 0, 0, 'ReportController', 'number'
|
||||
-- WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'up_price' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'zaarbox_api_url', '', 'url زرباکس', 1, 0, NULL, 'text'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'zaarbox_api_url' LIMIT 1);
|
||||
@@ -339,15 +355,16 @@ WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'zaarbox_price_key' LIM
|
||||
|
||||
-- 2) UPDATE
|
||||
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'آدرس پنل ادمین',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = 'https://abaeigold.ir/admin/',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'admin_url';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'آدرس پنل ادمین',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'https://abaeigold.ir/admin/',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'admin_url';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'آدرس اپ (کاربر)',
|
||||
`can_edit` = 1,
|
||||
@@ -384,15 +401,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'balance_report_exclude_customer_id';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'توکن بات بله',
|
||||
`can_edit` = 0,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'bale_bot_token';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'توکن بات بله',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'bale_bot_token';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'سود/اختلاف خرید (ریال)',
|
||||
`can_edit` = 1,
|
||||
@@ -411,15 +429,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'charge_notif';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'UUID نمودار Zaarbox',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = 'خالی = ca3800a0-1f57-3528-b963-178f9168e04f',
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'chart_id';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'UUID نمودار Zaarbox',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = 'خالی = ca3800a0-1f57-3528-b963-178f9168e04f',
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'chart_id';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'بستن قیمت در بازه زمانی',
|
||||
`can_edit` = 1,
|
||||
@@ -456,15 +475,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'display_montzar';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'کمترین قیمت امروز',
|
||||
`can_edit` = 0,
|
||||
`type` = 'number',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'down_price';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'کمترین قیمت امروز',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'number',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'down_price';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'پایان بازه معامله',
|
||||
`can_edit` = 1,
|
||||
@@ -483,15 +503,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'etehadie_api_url';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'فعالسازی API سفارش خارجی (get_wallet / order)',
|
||||
`can_edit` = 1,
|
||||
`type` = NULL,
|
||||
`description` = 'true + node_client_id + node_shared_secret',
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'external_order_api_enabled';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'فعالسازی API سفارش خارجی (get_wallet / order)',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = NULL,
|
||||
-- `description` = 'true + node_client_id + node_shared_secret',
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'external_order_api_enabled';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'اختلاف ریالی هر گرم (سفارش)',
|
||||
`can_edit` = 1,
|
||||
@@ -546,15 +567,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'gift_for_referrer';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'پیامک گروهی',
|
||||
`can_edit` = 1,
|
||||
`type` = 'switch',
|
||||
`description` = NULL,
|
||||
`value` = 'false',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'group_sms';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'پیامک گروهی',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'switch',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'false',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'group_sms';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'چت پشتیبانی',
|
||||
`can_edit` = 1,
|
||||
@@ -564,15 +586,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'has_chat';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'صفحه کسب درآمد',
|
||||
`can_edit` = 1,
|
||||
`type` = 'switch',
|
||||
`description` = 'in server',
|
||||
`value` = 'false',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'has_page_earn_money';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'صفحه کسب درآمد',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'switch',
|
||||
-- `description` = 'in server',
|
||||
-- `value` = 'false',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'has_page_earn_money';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'صفحه صندوق',
|
||||
`can_edit` = 1,
|
||||
@@ -600,15 +623,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'has_page_physical_gold';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'صفحه هشدار قیمت',
|
||||
`can_edit` = 1,
|
||||
`type` = 'switch',
|
||||
`description` = NULL,
|
||||
`value` = 'true',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'has_page_price_trigger';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'صفحه هشدار قیمت',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'switch',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'true',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'has_page_price_trigger';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'تأیید کارت بانکی با جیبیت',
|
||||
`can_edit` = 1,
|
||||
@@ -627,33 +651,36 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'key';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = '',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = 'logo_login',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'logo_login';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'لوگوی صفحه ورود',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = 'logo_register',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'logo_register';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'قیمت صفحه اصلی',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '13',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'main_product';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = '',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'logo_login',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'logo_login';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'لوگوی صفحه ورود',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'logo_register',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'logo_register';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'قیمت صفحه اصلی',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '13',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'main_product';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'قیمت از محصول (legacy)',
|
||||
`can_edit` = 1,
|
||||
@@ -663,15 +690,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'main_product_price';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'عنوان فلز در UI',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'metal_type';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'عنوان فلز در UI',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'metal_type';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'حداقل اولین خرید (ریال)',
|
||||
`can_edit` = 1,
|
||||
@@ -699,24 +727,26 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'minimum_sell';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'نام فروشگاه',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = 'RequestsController — اختیاری',
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'montify_name';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'آدرس سرور همکار',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = 'https://limangold.ir',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'montzar_base_url';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'نام فروشگاه',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = 'RequestsController — اختیاری',
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'montify_name';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'آدرس سرور همکار',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'https://limangold.ir',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'montzar_base_url';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'بسته بودن همکار',
|
||||
`can_edit` = 1,
|
||||
@@ -852,15 +882,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'name_fa';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'شناسه کلاینت API خارجی (X-Client-Id)',
|
||||
`can_edit` = 1,
|
||||
`type` = NULL,
|
||||
`description` = 'مقدار قبلی .env: NODE_CLIENT_ID',
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'node_client_id';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'شناسه کلاینت API خارجی (X-Client-Id)',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = NULL,
|
||||
-- `description` = 'مقدار قبلی .env: NODE_CLIENT_ID',
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'node_client_id';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'کلید امضای HMAC API خارجی',
|
||||
`can_edit` = 1,
|
||||
@@ -879,24 +910,26 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'open_register';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'customer_id fin',
|
||||
`can_edit` = 1,
|
||||
`type` = 'number',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_fin_customer_id';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'همگامسازی fin لیمان',
|
||||
`can_edit` = 1,
|
||||
`type` = 'switch',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_fin_sync_enabled';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'customer_id fin',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'number',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'payping_fin_customer_id';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'همگامسازی fin لیمان',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'switch',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'payping_fin_sync_enabled';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'توکن fin',
|
||||
`can_edit` = 1,
|
||||
@@ -924,15 +957,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_gateway_item';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'لیست item (چرخشی)',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_gateway_items';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'لیست item (چرخشی)',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'payping_gateway_items';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'نام gateway درگاه',
|
||||
`can_edit` = 1,
|
||||
@@ -942,15 +976,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_gateway_name';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'گرد کردن مبلغ به تومان',
|
||||
`can_edit` = 0,
|
||||
`type` = 'switch',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_round_toman';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'گرد کردن مبلغ به تومان',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'switch',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'payping_round_toman';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'آدرس شروع درگاه',
|
||||
`can_edit` = 1,
|
||||
@@ -978,24 +1013,26 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'payping_verify_url';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'تاریخ min/max روز',
|
||||
`can_edit` = 0,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'price_extreme_date';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'منبع قیمت',
|
||||
`can_edit` = 1,
|
||||
`type` = 'select',
|
||||
`description` = 'montzar,zaarbox,main_product,etehadie,taban_gohar',
|
||||
`value` = 'montzar',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'price_provider';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'تاریخ min/max روز',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'price_extreme_date';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'منبع قیمت',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'select',
|
||||
-- `description` = 'montzar,zaarbox,main_product,etehadie,taban_gohar',
|
||||
-- `value` = 'montzar',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'price_provider';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'باز/بسته خودکار محصول',
|
||||
`can_edit` = 1,
|
||||
@@ -1023,15 +1060,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'profit_gold_api_enabled';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'مبلغ پاداش معرف',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'referral_bonus_amount';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'مبلغ پاداش معرف',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'referral_bonus_amount';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'تعداد معرف برای هدیه',
|
||||
`can_edit` = 1,
|
||||
@@ -1095,15 +1133,16 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'sell_fee';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'ارسال تهحساب',
|
||||
`can_edit` = 0,
|
||||
`type` = 'switch',
|
||||
`description` = NULL,
|
||||
`value` = 'false',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'send_to_tahesab';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'ارسال تهحساب',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'switch',
|
||||
-- `description` = NULL,
|
||||
-- `value` = 'false',
|
||||
-- `is_active` = 1,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'send_to_tahesab';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'آدرس API سرور',
|
||||
`can_edit` = 1,
|
||||
@@ -1167,42 +1206,46 @@ UPDATE `settings` SET
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'tabanGohar_price';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'حساب بانکی تهحساب',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'tahesab_bank_account';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'دیتابیس تهحساب',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'tahesab_db';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'توکن تهحساب',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'tahesab_token';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'توکن بات تلگرام',
|
||||
`can_edit` = 0,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'telegram_bot_token';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'حساب بانکی تهحساب',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'tahesab_bank_account';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'دیتابیس تهحساب',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'tahesab_db';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'توکن تهحساب',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'tahesab_token';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'توکن بات تلگرام',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'telegram_bot_token';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = '',
|
||||
`can_edit` = 1,
|
||||
@@ -1230,42 +1273,46 @@ UPDATE `settings` SET
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'text_rule';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'عنوان favicon',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'title_fav';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'عنوان PWA',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'title_pwa';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'بیشترین قیمت امروز',
|
||||
`can_edit` = 0,
|
||||
`type` = 'number',
|
||||
`description` = 'ReportController',
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'up_price';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'url زرباکس',
|
||||
`can_edit` = 1,
|
||||
`type` = 'text',
|
||||
`description` = NULL,
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
WHERE `key` = 'zaarbox_api_url';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'عنوان favicon',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'title_fav';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'عنوان PWA',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'title_pwa';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'بیشترین قیمت امروز',
|
||||
-- `can_edit` = 0,
|
||||
-- `type` = 'number',
|
||||
-- `description` = 'ReportController',
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'up_price';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'url زرباکس',
|
||||
-- `can_edit` = 1,
|
||||
-- `type` = 'text',
|
||||
-- `description` = NULL,
|
||||
-- `value` = '',
|
||||
-- `is_active` = 0,
|
||||
-- `updated_at` = NOW()
|
||||
-- WHERE `key` = 'zaarbox_api_url';
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'کد محصول زرباکس',
|
||||
`can_edit` = 1,
|
||||
|
||||
Reference in New Issue
Block a user