|
@@ -641,373 +641,53 @@
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "discord_bot_token",
|
|
|
- "value": "",
|
|
|
- "class": "discord",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "Discord Bot Token"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "slack_token",
|
|
|
- "value": "",
|
|
|
- "class": "slack",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "Slack App Token"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "tawk_id",
|
|
|
- "value": "",
|
|
|
- "class": "support",
|
|
|
- "is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "tawk_id"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "crisp_id",
|
|
|
- "value": "",
|
|
|
- "class": "support",
|
|
|
- "is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "crisp_id"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "livechat_id",
|
|
|
- "value": "",
|
|
|
- "class": "support",
|
|
|
- "is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "livechat_id"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "mylivechat_id",
|
|
|
- "value": "",
|
|
|
- "class": "support",
|
|
|
- "is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "mylivechat_id"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "live_chat",
|
|
|
- "value": "none",
|
|
|
- "class": "support",
|
|
|
- "is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "none",
|
|
|
- "mark": "客服系统开关"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "enable_ticket",
|
|
|
- "value": "1",
|
|
|
- "class": "support",
|
|
|
- "is_public": 1,
|
|
|
- "type": "bool",
|
|
|
- "default": "1",
|
|
|
- "mark": "启用工单系统"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "mail_ticket",
|
|
|
- "value": "1",
|
|
|
- "class": "support",
|
|
|
- "is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "1",
|
|
|
- "mark": "启用工单邮件提醒"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "ticket_limit",
|
|
|
- "value": "3",
|
|
|
- "class": "support",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "3",
|
|
|
- "mark": "用戶工单配額(每月)"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "reg_mode",
|
|
|
- "value": "open",
|
|
|
- "class": "register",
|
|
|
- "is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "open",
|
|
|
- "mark": "注册模式"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "reg_email_verify",
|
|
|
+ "item": "enable_telegram",
|
|
|
"value": "0",
|
|
|
- "class": "register",
|
|
|
+ "class": "telegram",
|
|
|
"is_public": 1,
|
|
|
"type": "bool",
|
|
|
"default": "0",
|
|
|
- "mark": "邮箱验证"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "reg_forbidden_ip",
|
|
|
- "value": "127.0.0.0/8,::1/128",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "127.0.0.0/8,::1/128",
|
|
|
- "mark": "注册时默认禁止访问IP列表"
|
|
|
+ "mark": "是否启用Telegram机器人"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "reg_forbidden_port",
|
|
|
+ "item": "telegram_token",
|
|
|
"value": "",
|
|
|
- "class": "register",
|
|
|
+ "class": "telegram",
|
|
|
"is_public": 0,
|
|
|
"type": "string",
|
|
|
"default": "",
|
|
|
- "mark": "注册时默认禁止访问端口列表"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "random_group",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "0",
|
|
|
- "mark": "注册时随机分配到的分组"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "min_port",
|
|
|
- "value": "10000",
|
|
|
- "class": "register",
|
|
|
- "is_public": 1,
|
|
|
- "type": "int",
|
|
|
- "default": "10000",
|
|
|
- "mark": "用户端口池最小值"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "max_port",
|
|
|
- "value": "65535",
|
|
|
- "class": "register",
|
|
|
- "is_public": 1,
|
|
|
- "type": "int",
|
|
|
- "default": "65535",
|
|
|
- "mark": "用户端口池最大值"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "free_user_reset_day",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "0",
|
|
|
- "mark": "免费用戶的流量重置日"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "free_user_reset_bandwidth",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "0",
|
|
|
- "mark": "需要重置的免费流量"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "sign_up_for_free_traffic",
|
|
|
- "value": "20",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "20",
|
|
|
- "mark": "注册时赠送的流量(GB)"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "sign_up_for_free_time",
|
|
|
- "value": "365",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "365",
|
|
|
- "mark": "注册时设定的账户有效期(天)"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "connection_ip_limit",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "0",
|
|
|
- "mark": "注册时设定的连接 IP 限制"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "connection_rate_limit",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "0",
|
|
|
- "mark": "注册时设定的使用速率限制"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "sign_up_for_class",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "0",
|
|
|
- "mark": "注册时设定的等级"
|
|
|
+ "mark": "Telegram Bot Token"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "sign_up_for_class_time",
|
|
|
- "value": "7",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "7",
|
|
|
- "mark": "注册时设定的等级过期时间(天)"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "sign_up_for_method",
|
|
|
- "value": "aes-128-gcm",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "aes-128-gcm",
|
|
|
- "mark": "默认加密"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "sign_up_for_daily_report",
|
|
|
- "value": "0",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "0",
|
|
|
- "mark": "注册后是否默认接收每日用量邮件推送"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "sign_up_for_invitation_codes",
|
|
|
- "value": "10",
|
|
|
- "class": "register",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "10",
|
|
|
- "mark": "初始邀请注册链接使用次数限制"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "invitation_to_register_balance_reward",
|
|
|
- "value": "1",
|
|
|
- "class": "invite",
|
|
|
- "is_public": 1,
|
|
|
- "type": "int",
|
|
|
- "default": "1",
|
|
|
- "mark": "邀请注册余额奖励(元)"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "invitation_to_register_traffic_reward",
|
|
|
- "value": "10",
|
|
|
- "class": "invite",
|
|
|
- "is_public": 1,
|
|
|
- "type": "int",
|
|
|
- "default": "10",
|
|
|
- "mark": "邀请注册流量奖励(GB)"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "invitation_mode",
|
|
|
- "value": "after_paid",
|
|
|
- "class": "invite",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "after_paid",
|
|
|
- "mark": "邀请模式"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "invite_rebate_mode",
|
|
|
- "value": "limit_amount",
|
|
|
- "class": "invite",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "limit_amount",
|
|
|
- "mark": "返利模式"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "rebate_frequency_limit",
|
|
|
- "value": "3",
|
|
|
- "class": "invite",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "3",
|
|
|
- "mark": "返利总次数限制"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "rebate_amount_limit",
|
|
|
- "value": "100",
|
|
|
- "class": "invite",
|
|
|
+ "item": "telegram_chatid",
|
|
|
+ "value": "-1",
|
|
|
+ "class": "telegram",
|
|
|
"is_public": 0,
|
|
|
"type": "int",
|
|
|
- "default": "100",
|
|
|
- "mark": "返利总金额限制"
|
|
|
+ "default": "-1",
|
|
|
+ "mark": "Telegram 群组会话 ID"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "rebate_ratio",
|
|
|
- "value": "0.2",
|
|
|
- "class": "invite",
|
|
|
+ "item": "telegram_bot",
|
|
|
+ "value": "_bot",
|
|
|
+ "class": "telegram",
|
|
|
"is_public": 1,
|
|
|
- "type": "string",
|
|
|
- "default": "0.2",
|
|
|
- "mark": "返利比例"
|
|
|
- },
|
|
|
- {
|
|
|
- "id": null,
|
|
|
- "item": "rebate_time_range_limit",
|
|
|
- "value": "180",
|
|
|
- "class": "invite",
|
|
|
- "is_public": 0,
|
|
|
- "type": "int",
|
|
|
- "default": "180",
|
|
|
- "mark": "返利时间范围限制(天)"
|
|
|
+ "type": "string",
|
|
|
+ "default": "_bot",
|
|
|
+ "mark": "Telegram 机器人账号"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_enable",
|
|
|
- "value": "0",
|
|
|
+ "item": "telegram_request_token",
|
|
|
+ "value": "",
|
|
|
"class": "telegram",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "0",
|
|
|
- "mark": "是否启用Telegram机器人"
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "Telegram Webhook 密钥"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
@@ -1131,243 +811,503 @@
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_node_offline",
|
|
|
- "value": "1",
|
|
|
- "class": "telegram",
|
|
|
- "is_public": 0,
|
|
|
+ "item": "telegram_node_offline",
|
|
|
+ "value": "1",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "是否启用Telegram机器人节点离线通知"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_node_offline_text",
|
|
|
+ "value": "%node_name% 出现了一些故障",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "string",
|
|
|
+ "default": "%node_name% 出现了一些故障",
|
|
|
+ "mark": "Telegram机器人节点离线通知文本"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_daily_job",
|
|
|
+ "value": "1",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "是否启用Telegram机器人每日任务通知"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_daily_job_text",
|
|
|
+ "value": "成功执行每日任务",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "string",
|
|
|
+ "default": "成功执行每日任务",
|
|
|
+ "mark": "Telegram机器人每日任务通知文本"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_diary",
|
|
|
+ "value": "1",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "是否启用Telegram机器人系统运行状况通知"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_diary_text",
|
|
|
+ "value": "今日签到人数:%getTodayCheckinUser% \n 今日使用总流量:%lastday_total%",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "string",
|
|
|
+ "default": "今日签到人数:%getTodayCheckinUser% \n 今日使用总流量:%lastday_total%",
|
|
|
+ "mark": "Telegram机器人系统运行状况通知文本"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_unbind_kick_member",
|
|
|
+ "value": "0",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "0",
|
|
|
+ "mark": "解绑Telegram账户后自动踢出群组"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_group_bound_user",
|
|
|
+ "value": "0",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "0",
|
|
|
+ "mark": "是否仅允许已绑定Telegram账户的用户加入群组"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "enable_welcome_message",
|
|
|
+ "value": "0",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "0",
|
|
|
+ "mark": "Telegram 机器人发送欢迎消息"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "telegram_group_quiet",
|
|
|
+ "value": "1",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "Telegram 机器人在群组中不回应"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "allow_to_join_new_groups",
|
|
|
+ "value": "0",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "0",
|
|
|
+ "mark": "允许 Bot 加入下方配置之外的群组"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "group_id_allowed_to_join",
|
|
|
+ "value": "[]",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "array",
|
|
|
+ "default": "[]",
|
|
|
+ "mark": "允许加入的群组 ID"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "help_any_command",
|
|
|
+ "value": "0",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "0",
|
|
|
+ "mark": "允许任意未知的命令触发 /help 的回复"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "user_not_bind_reply",
|
|
|
+ "value": "您未绑定本站账号,您可以进入网站的 **资料编辑**,在右下方绑定您的账号。",
|
|
|
+ "class": "telegram",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "string",
|
|
|
+ "default": "您未绑定本站账号,您可以进入网站的 **资料编辑**,在右下方绑定您的账号。",
|
|
|
+ "mark": "未绑定账户的回复"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "discord_bot_token",
|
|
|
+ "value": "",
|
|
|
+ "class": "discord",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "Discord Bot Token"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "slack_token",
|
|
|
+ "value": "",
|
|
|
+ "class": "slack",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "Slack App Token"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "tawk_id",
|
|
|
+ "value": "",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "tawk_id"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "crisp_id",
|
|
|
+ "value": "",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "crisp_id"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "livechat_id",
|
|
|
+ "value": "",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "livechat_id"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "mylivechat_id",
|
|
|
+ "value": "",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "mylivechat_id"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "live_chat",
|
|
|
+ "value": "none",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "string",
|
|
|
+ "default": "none",
|
|
|
+ "mark": "客服系统开关"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "enable_ticket",
|
|
|
+ "value": "1",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "启用工单系统"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "mail_ticket",
|
|
|
+ "value": "1",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "bool",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "启用工单邮件提醒"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "ticket_limit",
|
|
|
+ "value": "3",
|
|
|
+ "class": "support",
|
|
|
+ "is_public": 0,
|
|
|
+ "type": "int",
|
|
|
+ "default": "3",
|
|
|
+ "mark": "用戶工单配額(每月)"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "reg_mode",
|
|
|
+ "value": "open",
|
|
|
+ "class": "register",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "string",
|
|
|
+ "default": "open",
|
|
|
+ "mark": "注册模式"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "reg_email_verify",
|
|
|
+ "value": "0",
|
|
|
+ "class": "register",
|
|
|
+ "is_public": 1,
|
|
|
"type": "bool",
|
|
|
- "default": "1",
|
|
|
- "mark": "是否启用Telegram机器人节点离线通知"
|
|
|
+ "default": "0",
|
|
|
+ "mark": "邮箱验证"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_node_offline_text",
|
|
|
- "value": "%node_name% 出现了一些故障",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "reg_forbidden_ip",
|
|
|
+ "value": "127.0.0.0/8,::1/128",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
"type": "string",
|
|
|
- "default": "%node_name% 出现了一些故障",
|
|
|
- "mark": "Telegram机器人节点离线通知文本"
|
|
|
+ "default": "127.0.0.0/8,::1/128",
|
|
|
+ "mark": "注册时默认禁止访问IP列表"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_daily_job",
|
|
|
- "value": "1",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "reg_forbidden_port",
|
|
|
+ "value": "",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "1",
|
|
|
- "mark": "是否启用Telegram机器人每日任务通知"
|
|
|
+ "type": "string",
|
|
|
+ "default": "",
|
|
|
+ "mark": "注册时默认禁止访问端口列表"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_daily_job_text",
|
|
|
- "value": "成功执行每日任务",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "random_group",
|
|
|
+ "value": "0",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
"type": "string",
|
|
|
- "default": "成功执行每日任务",
|
|
|
- "mark": "Telegram机器人每日任务通知文本"
|
|
|
+ "default": "0",
|
|
|
+ "mark": "注册时随机分配到的分组"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_diary",
|
|
|
- "value": "1",
|
|
|
- "class": "telegram",
|
|
|
- "is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "1",
|
|
|
- "mark": "是否启用Telegram机器人系统运行状况通知"
|
|
|
+ "item": "min_port",
|
|
|
+ "value": "10000",
|
|
|
+ "class": "register",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "int",
|
|
|
+ "default": "10000",
|
|
|
+ "mark": "用户端口池最小值"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_diary_text",
|
|
|
- "value": "今日签到人数:%getTodayCheckinUser% \n 今日使用总流量:%lastday_total%",
|
|
|
- "class": "telegram",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "今日签到人数:%getTodayCheckinUser% \n 今日使用总流量:%lastday_total%",
|
|
|
- "mark": "Telegram机器人系统运行状况通知文本"
|
|
|
+ "item": "max_port",
|
|
|
+ "value": "65535",
|
|
|
+ "class": "register",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "int",
|
|
|
+ "default": "65535",
|
|
|
+ "mark": "用户端口池最大值"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_unbind_kick_member",
|
|
|
+ "item": "free_user_reset_day",
|
|
|
"value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
+ "type": "int",
|
|
|
"default": "0",
|
|
|
- "mark": "解绑Telegram账户后自动踢出群组"
|
|
|
+ "mark": "免费用戶的流量重置日"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_group_bound_user",
|
|
|
+ "item": "free_user_reset_bandwidth",
|
|
|
"value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
+ "type": "int",
|
|
|
"default": "0",
|
|
|
- "mark": "是否仅允许已绑定Telegram账户的用户加入群组"
|
|
|
+ "mark": "需要重置的免费流量"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_show_group_link",
|
|
|
- "value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "sign_up_for_free_traffic",
|
|
|
+ "value": "20",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "0",
|
|
|
- "mark": "是否启用Telegram机器人显示用户群组链接"
|
|
|
+ "type": "int",
|
|
|
+ "default": "20",
|
|
|
+ "mark": "注册时赠送的流量(GB)"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_group_link",
|
|
|
- "value": "https://t.me/joinchat/XXXXX",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "sign_up_for_free_time",
|
|
|
+ "value": "365",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "https://t.me/joinchat/XXXXX",
|
|
|
- "mark": "用户群组链接"
|
|
|
+ "type": "int",
|
|
|
+ "default": "365",
|
|
|
+ "mark": "注册时设定的账户有效期(天)"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "enable_welcome_message",
|
|
|
+ "item": "connection_ip_limit",
|
|
|
"value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
+ "type": "int",
|
|
|
"default": "0",
|
|
|
- "mark": "Telegram 机器人发送欢迎消息"
|
|
|
+ "mark": "注册时设定的连接 IP 限制"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_group_quiet",
|
|
|
- "value": "1",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "connection_rate_limit",
|
|
|
+ "value": "0",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "1",
|
|
|
- "mark": "Telegram 机器人在群组中不回应"
|
|
|
+ "type": "int",
|
|
|
+ "default": "0",
|
|
|
+ "mark": "注册时设定的使用速率限制"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "allow_to_join_new_groups",
|
|
|
+ "item": "sign_up_for_class",
|
|
|
"value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
+ "type": "int",
|
|
|
"default": "0",
|
|
|
- "mark": "允许 Bot 加入下方配置之外的群组"
|
|
|
+ "mark": "注册时设定的等级"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "group_id_allowed_to_join",
|
|
|
- "value": "[]",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "sign_up_for_class_time",
|
|
|
+ "value": "7",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "array",
|
|
|
- "default": "[]",
|
|
|
- "mark": "允许加入的群组 ID"
|
|
|
+ "type": "int",
|
|
|
+ "default": "7",
|
|
|
+ "mark": "注册时设定的等级过期时间(天)"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_admins",
|
|
|
- "value": "[]",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "sign_up_for_method",
|
|
|
+ "value": "aes-128-gcm",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "array",
|
|
|
- "default": "[]",
|
|
|
- "mark": "额外的 Telegram 管理员 ID"
|
|
|
+ "type": "string",
|
|
|
+ "default": "aes-128-gcm",
|
|
|
+ "mark": "默认加密"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "enable_not_admin_reply",
|
|
|
+ "item": "sign_up_for_daily_report",
|
|
|
"value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
"type": "bool",
|
|
|
"default": "0",
|
|
|
- "mark": "非管理员操作管理员功能是否回复"
|
|
|
+ "mark": "注册后是否默认接收每日用量邮件推送"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "not_admin_reply_msg",
|
|
|
- "value": "",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "sign_up_for_invitation_codes",
|
|
|
+ "value": "10",
|
|
|
+ "class": "register",
|
|
|
"is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "非管理员操作管理员功能的回复内容"
|
|
|
+ "type": "int",
|
|
|
+ "default": "10",
|
|
|
+ "mark": "初始邀请注册链接使用次数限制"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "no_user_found",
|
|
|
- "value": "",
|
|
|
- "class": "telegram",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "管理员操作时,找不到用户的回复"
|
|
|
+ "item": "invitation_to_register_balance_reward",
|
|
|
+ "value": "1",
|
|
|
+ "class": "invite",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "int",
|
|
|
+ "default": "1",
|
|
|
+ "mark": "邀请注册余额奖励(元)"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "data_method_not_found",
|
|
|
- "value": "",
|
|
|
- "class": "telegram",
|
|
|
- "is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "管理员操作时,修改数据的字段没有找到的回复"
|
|
|
+ "item": "invitation_to_register_traffic_reward",
|
|
|
+ "value": "10",
|
|
|
+ "class": "invite",
|
|
|
+ "is_public": 1,
|
|
|
+ "type": "int",
|
|
|
+ "default": "10",
|
|
|
+ "mark": "邀请注册流量奖励(GB)"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "help_any_command",
|
|
|
- "value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "invitation_mode",
|
|
|
+ "value": "after_paid",
|
|
|
+ "class": "invite",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "0",
|
|
|
- "mark": "允许任意未知的命令触发 /help 的回复"
|
|
|
+ "type": "string",
|
|
|
+ "default": "after_paid",
|
|
|
+ "mark": "邀请模式"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "enable_user_email_group_show",
|
|
|
- "value": "0",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "invite_rebate_mode",
|
|
|
+ "value": "limit_amount",
|
|
|
+ "class": "invite",
|
|
|
"is_public": 0,
|
|
|
- "type": "bool",
|
|
|
- "default": "0",
|
|
|
- "mark": "开启在群组搜寻用户信息时显示用户完整邮箱,关闭则会对邮箱中间内容打码"
|
|
|
+ "type": "string",
|
|
|
+ "default": "limit_amount",
|
|
|
+ "mark": "返利模式"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "user_not_bind_reply",
|
|
|
- "value": "您未绑定本站账号,您可以进入网站的 **资料编辑**,在右下方绑定您的账号。",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "rebate_frequency_limit",
|
|
|
+ "value": "3",
|
|
|
+ "class": "invite",
|
|
|
"is_public": 0,
|
|
|
"type": "string",
|
|
|
- "default": "您未绑定本站账号,您可以进入网站的 **资料编辑**,在右下方绑定您的账号。",
|
|
|
- "mark": "未绑定账户的回复"
|
|
|
+ "default": "3",
|
|
|
+ "mark": "返利总次数限制"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_general_pricing",
|
|
|
- "value": "",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "rebate_amount_limit",
|
|
|
+ "value": "100",
|
|
|
+ "class": "invite",
|
|
|
"is_public": 0,
|
|
|
+ "type": "int",
|
|
|
+ "default": "100",
|
|
|
+ "mark": "返利总金额限制"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "id": null,
|
|
|
+ "item": "rebate_ratio",
|
|
|
+ "value": "0.2",
|
|
|
+ "class": "invite",
|
|
|
+ "is_public": 1,
|
|
|
"type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "面向游客的产品介绍"
|
|
|
+ "default": "0.2",
|
|
|
+ "mark": "返利比例"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|
|
|
- "item": "telegram_general_terms",
|
|
|
- "value": "",
|
|
|
- "class": "telegram",
|
|
|
+ "item": "rebate_time_range_limit",
|
|
|
+ "value": "180",
|
|
|
+ "class": "invite",
|
|
|
"is_public": 0,
|
|
|
- "type": "string",
|
|
|
- "default": "",
|
|
|
- "mark": "面向游客的服务条款"
|
|
|
+ "type": "int",
|
|
|
+ "default": "180",
|
|
|
+ "mark": "返利时间范围限制(天)"
|
|
|
},
|
|
|
{
|
|
|
"id": null,
|