refactor isSeedBox judgement

This commit is contained in:
xiaomlove
2025-05-11 02:33:22 +07:00
parent 6ff9d70ebc
commit 4b39d708d2
32 changed files with 1030 additions and 233 deletions
+2 -2
View File
@@ -281,10 +281,10 @@ return [
'type' => '添加类型',
'operator' => '运营商',
'bandwidth' => '带宽(Mbps)',
'ip' => 'IP(段)',
'ip' => 'IP',
'ip_begin' => '起始 IP',
'ip_end' => '结束 IP',
'ip_help' => '填写 ASN/起始 IP + 结束 IP/IP(段),不要同时填写',
'ip_help' => '填写IP地址或ASN,不要同时填写',
'status' => '状态',
'is_allowed' => '是否白名单',
'is_allowed_help' => '位于白名单中的 IP 不受 SeedBox 规则影响',
+2 -2
View File
@@ -14,6 +14,6 @@ return [
'subject' => 'SeedBox 记录状态变更',
'body' => '你的 ID 为 :id 的 SeedBox 记录状态被 :operator 由 :old_status 变更为 :new_status。原因::reason',
],
'is_seed_box_yes' => '此 IP 是 SeedBox, 由 ID 为 :id 的记录确定',
'is_seed_box_no' => '此 IP 不是 SeedBox',
'is_seed_box_yes' => "此 IP 是 SeedBox",
'is_seed_box_no' => "此 IP 不是 SeedBox",
];