chore(settings): resync superadmin template after can_edit=1 runtime keys
Remove can_edit=1 keys (Montzar runtime, fee_service_charge_percentage, etc.) from setting-templates-from-deploy.json and editable catalog list. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -134,15 +134,6 @@
|
||||
"description": "روشن: زیرمنوی قیمت ویژه در مشتریان و اعمال سود خرید/فروش پکیج روی مظنه و سفارش برای کاربران انتخابشده. خاموش: غیرفعال. فقط از دیپلوی قابل تغییر است.",
|
||||
"type": "switch"
|
||||
},
|
||||
{
|
||||
"key": "down_price",
|
||||
"value": "0",
|
||||
"title_fa": "کمترین قیمت امروز",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "price"
|
||||
},
|
||||
{
|
||||
"key": "enable_conditional_order",
|
||||
"value": "false",
|
||||
@@ -377,87 +368,6 @@
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "montzar_closed",
|
||||
"value": "false",
|
||||
"title_fa": "بسته بودن همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "switch"
|
||||
},
|
||||
{
|
||||
"key": "montzar_diff",
|
||||
"value": "0",
|
||||
"title_fa": "اختلاف قیمت همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "سیستم پر میکند",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "montzar_last_product_log",
|
||||
"value": "{}",
|
||||
"title_fa": "لاگ محصول همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "longtext"
|
||||
},
|
||||
{
|
||||
"key": "montzar_live_price",
|
||||
"value": "0",
|
||||
"title_fa": "قیمت لحظهای همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "montzar_mazaneh",
|
||||
"value": "0",
|
||||
"title_fa": "مظنه همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "montzar_order_response",
|
||||
"value": "[]",
|
||||
"title_fa": "پاسخ سفارش همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "longtext"
|
||||
},
|
||||
{
|
||||
"key": "montzar_token",
|
||||
"value": "",
|
||||
"title_fa": "توکن همکار (خودکار)",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "montzar_truly_buy_mazaneh",
|
||||
"value": "0",
|
||||
"title_fa": "مظنه خرید همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "montzar_truly_sell_mazaneh",
|
||||
"value": "0",
|
||||
"title_fa": "مظنه فروش همکار",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "node_client_id",
|
||||
"value": "",
|
||||
@@ -656,15 +566,6 @@
|
||||
"description": "آیدی چنل/گروه تلگرام برای ارسال قیمت (چند مقصد با ویرگول).",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "price_extreme_date",
|
||||
"value": "",
|
||||
"title_fa": "تاریخ min/max روز",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "referral_bonus_amount",
|
||||
"value": "",
|
||||
@@ -791,15 +692,6 @@
|
||||
"description": "واحد نمایش وزن فلز در داراییها، کیف پول و تراکنشها|گرم,کیلوگرم",
|
||||
"type": "select"
|
||||
},
|
||||
{
|
||||
"key": "up_price",
|
||||
"value": "0",
|
||||
"title_fa": "بیشترین قیمت امروز",
|
||||
"can_edit": 0,
|
||||
"is_active": 1,
|
||||
"description": "",
|
||||
"type": "price"
|
||||
},
|
||||
{
|
||||
"key": "wallet_payment_provider",
|
||||
"value": "none",
|
||||
|
||||
@@ -18,7 +18,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
|
||||
"chat_webhook_secret",
|
||||
"customer_direct_sms",
|
||||
"customer_special_pricing",
|
||||
"down_price",
|
||||
"enable_conditional_order",
|
||||
"enable_customer_level_profit",
|
||||
"enable_product_funds",
|
||||
@@ -45,15 +44,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
|
||||
"metal_type",
|
||||
"montify_name",
|
||||
"montzar_base_url",
|
||||
"montzar_closed",
|
||||
"montzar_diff",
|
||||
"montzar_last_product_log",
|
||||
"montzar_live_price",
|
||||
"montzar_mazaneh",
|
||||
"montzar_order_response",
|
||||
"montzar_token",
|
||||
"montzar_truly_buy_mazaneh",
|
||||
"montzar_truly_sell_mazaneh",
|
||||
"node_client_id",
|
||||
"node_shared_secret",
|
||||
"pargar_api_token",
|
||||
@@ -76,7 +66,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
|
||||
"price_channel_bale_to",
|
||||
"price_channel_rubika_to",
|
||||
"price_channel_telegram_to",
|
||||
"price_extreme_date",
|
||||
"referral_bonus_amount",
|
||||
"rubika_bot_token",
|
||||
"send_to_pargar",
|
||||
@@ -91,7 +80,6 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
|
||||
"tahesab_token",
|
||||
"telegram_bot_token",
|
||||
"unit",
|
||||
"up_price",
|
||||
"wallet_payment_provider",
|
||||
"wss_enabled",
|
||||
"zarin_api",
|
||||
@@ -121,6 +109,7 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
|
||||
"deposit_method_shetab",
|
||||
"deposit_sheba",
|
||||
"deposit_sms_support_number",
|
||||
"down_price",
|
||||
"endDay",
|
||||
"fee_conditional_order",
|
||||
"fee_free",
|
||||
@@ -134,11 +123,20 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
|
||||
"min_first_buy",
|
||||
"min_withdraw",
|
||||
"minimum_sell",
|
||||
"montzar_closed",
|
||||
"montzar_diff",
|
||||
"montzar_last_product_log",
|
||||
"montzar_live_price",
|
||||
"montzar_mazaneh",
|
||||
"montzar_mobile",
|
||||
"montzar_open_buy",
|
||||
"montzar_open_sell",
|
||||
"montzar_order_response",
|
||||
"montzar_password",
|
||||
"montzar_product_id",
|
||||
"montzar_token",
|
||||
"montzar_truly_buy_mazaneh",
|
||||
"montzar_truly_sell_mazaneh",
|
||||
"name_fa",
|
||||
"open_register",
|
||||
"price_channel_diff",
|
||||
@@ -148,6 +146,7 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
|
||||
"price_channel_footer_phone",
|
||||
"price_channel_messengers",
|
||||
"price_channel_min_seconds",
|
||||
"price_extreme_date",
|
||||
"products_site_link_enabled",
|
||||
"products_site_link_text",
|
||||
"products_site_link_url",
|
||||
@@ -189,5 +188,6 @@ export const DEPLOY_SETTING_EDITABLE_KEYS = new Set<string>([
|
||||
"support_messenger_text",
|
||||
"tracking_systems",
|
||||
"tracking_systems_enabled",
|
||||
"up_price",
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user