diff --git a/app/Services/Github/Mod/Base.php b/app/Services/Github/Mod/Base.php
index 6304e0f..b88f595 100755
--- a/app/Services/Github/Mod/Base.php
+++ b/app/Services/Github/Mod/Base.php
@@ -40,8 +40,19 @@ class Base {
$this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/getlast';
$sFreenodeNow = $this->oHttp->send();
$aFreenodeNow = json_decode($sFreenodeNow, 1);
-// $sTitleSub = $aFreenodeNow['title_sub'];
return $aFreenodeNow;
}
+ public function getFreenodeCountryFromMaster()
+ {
+ $this->oHttp->sToUrl = "https://".env('www_master').'/api/freenode/country/rand';
+ $sFreenodeCountry = $this->oHttp->send();
+ $aFreenodeCountry = json_decode($sFreenodeCountry, 1);
+
+ $aData["freenodeCountry"] = $aFreenodeCountry;
+ $aData["str"] = date('Y年m月d日').",本次更新共".$aFreenodeCountry["nodeCount"]."个可用节点,最高速度".$aFreenodeCountry["speed"]."M/S。覆盖".implode("、", $aFreenodeCountry["country"])."等多个区域。";
+
+ return $aData;
+ }
+
}
diff --git a/app/Services/Github/Mod/FreeNode.php b/app/Services/Github/Mod/FreeNode.php
index a10acbd..d5c2b8b 100755
--- a/app/Services/Github/Mod/FreeNode.php
+++ b/app/Services/Github/Mod/FreeNode.php
@@ -7,52 +7,6 @@ class FreeNode extends Base {
public $aHuodong; // 必须,注入,没用了
public $aShip;
-
- public function B($aArticle)
- {
- if (!$this->todayUpd()) {
- return false;
- }
-
- $aArticleFreenode = $this->getArticleFreenode();
-
-$sContent = "
-
-# clash节点、免费clash节点、clash订阅链接、clash免费节点、clash科学上网、clash翻墙、clash for windows、clash教程 每日更新 更新时间 ".date('Y-m-d H:i:s')."
-
-".date("Y年m月d日").$aArticleFreenode['title_sub']."
-
-## clash使用教程:
-
-clash科学上网:clash for windows 详细教程
-
-## [福云](https://fuuu.cloud) — 性价比机场最佳之选,折后低至8元。
-
-- 全球众多节点,8K不卡顿。
-- 解锁奈飞、迪士尼、TikTok 、ChatGPT。
-- 流量不虚标,所有节点都是1倍率。
-- 不限登陆设备数,不设置每日封顶流量。
-- 按流量付费、包月等多种套餐可选,价格便宜。
-
-网站地址:[福云](https://fuuu.cloud)
-
-".$this->aHuodong['str']."
-
-## 免费节点订阅链接
-
-v2ray订阅链接:
-
-https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
-
-clash订阅链接:
-
-https://clashfreenode.com/feed/clash-".date('Ymd').".yaml
-
-";
- return $sContent;
-
- }
-
public function C($aArticle)
{
diff --git a/app/Services/Github/Mod/FreeNode/B.php b/app/Services/Github/Mod/FreeNode/B.php
new file mode 100755
index 0000000..270b6c7
--- /dev/null
+++ b/app/Services/Github/Mod/FreeNode/B.php
@@ -0,0 +1,110 @@
+todayUpd()) {
+ return false;
+ }
+
+ $aArticleFreenode = $this->getArticleFreenode();
+
+$sContent = "
+
+# 「".date("m月d日")."」每日更新免费节点,SSR/V2ray/Clash/Shadowrocket免费节点订阅链接。
+
+".date("Y年m月d日").",".$aArticleFreenode['title_sub']."
+
+## 性价比机场推荐:[".$this->aShip["name"]."](https://".$this->aShip["www"].")
+
+* 价格低 - 目前七折优惠,折后低至8元。
+
+* 速度快 - 晚高峰看youtube高清不卡顿。
+
+* 稳定 - 海外团队稳定运营第3年。
+
+* 无限试用 - 注册免费试用3天,签到无限试用。
+
+".$this->aShip['youhui_str']."
+
+点击进入[".$this->aShip["name"]."机场官网](https://".$this->aShip["www"].")。
+
+## 免费节点订阅链接
+
+v2ray订阅链接:
+
+https://".$aArticle["fn_www"]."/feed/v2ray-".date('Ymd').".txt
+
+clash订阅链接:
+
+https://".$aArticle["fn_www"]."/feed/clash-".date('Ymd').".yaml
+
+## 温馨提示
+
+本站提供的都是免费且公益的节点,稳定性与长时间连接速率无法与收费版的高速机场节点相提并论,不能奢望太多。
+
+注意你自己的网络环境(本地连接当中的DNS,手动配置一下:114.114.114.114,8.8.8.8或是其它公共的DNS。)
+
+如果某个网址无法代理访问,可切换到全局代理模式,一般可解决。
+
+";
+
+ return $sContent;
+
+ }
+
+ public function B($aArticle)
+ {
+ if (!$this->todayUpd()) {
+ return false;
+ }
+
+ $aArticleFreenode = $this->getArticleFreenode();
+
+$sContent = "
+
+# clash节点、免费clash节点、clash订阅链接、clash免费节点、clash科学上网、clash翻墙、clash for windows、clash教程 每日更新 更新时间 ".date('Y-m-d H:i:s')."
+
+".date("Y年m月d日").$aArticleFreenode['title_sub']."
+
+## clash使用教程:
+
+clash科学上网:clash for windows 详细教程
+
+## [".$this->aShip["name"]."](https://".$this->aShip["www"].") — 性价比机场最佳之选,折后低至8元。
+
+- 全球众多节点,8K不卡顿。
+- 解锁奈飞、迪士尼、TikTok 、ChatGPT。
+- 流量不虚标,所有节点都是1倍率。
+- 不限登陆设备数,不设置每日封顶流量。
+- 按流量付费、包月等多种套餐可选,价格便宜。
+
+网站地址:[".$this->aShip["name"]."](https://".$this->aShip["www"].")
+
+".$this->aShip['youhui_str']."
+
+## 免费节点订阅链接
+
+v2ray订阅链接:
+
+https://".$aArticle["fn_www"]."/feed/v2ray-".date('Ymd').".txt
+
+clash订阅链接:
+
+https://".$aArticle["fn_www"]."/feed/clash-".date('Ymd').".yaml
+
+";
+ return $sContent;
+
+ }
+
+
+}
diff --git a/app/Services/Github/Mod/FreeNode/C.php b/app/Services/Github/Mod/FreeNode/C.php
new file mode 100755
index 0000000..dff2a4f
--- /dev/null
+++ b/app/Services/Github/Mod/FreeNode/C.php
@@ -0,0 +1,71 @@
+todayUpd()) {
+// return false;
+// }
+
+ $aFreenodeCountry = $this->getFreenodeCountryFromMaster();
+
+// tomd($aFreenodeCountry, 1);
+
+$sContent = "
+
+# 公益免费v2ray/clash节点订阅,每小时更新,最后更新时间:".date('Y-m-d H:i:s')."
+
+## 性价比机场推荐:[".$this->aShip["name"]."](https://".$this->aShip["www"].")
+
+* 价格低 - 目前七折优惠,折后低至8元。
+
+* 速度快 - 晚高峰看youtube高清不卡顿。
+
+* 稳定 - 开业于2022年,稳定运营第3年。
+
+* 无限试用 - 注册免费试用3天,签到无限试用。
+
+".$this->aShip['youhui_str']."
+
+点击进入[".$this->aShip["name"]."机场官网](https://".$this->aShip["www"].")。
+
+## 免费节点订阅链接
+
+".$aFreenodeCountry["str"]."复制下方的v2ray/Clash订阅链接,在客户端添加即可正常使用。
+
+v2ray订阅链接:
+
+https://".$aArticle["fn_www"]."/feed/v2ray-".date('Ymd').".txt
+
+clash订阅链接:
+
+https://".$aArticle["fn_www"]."/feed/clash-".date('Ymd').".yaml
+
+## 客户端下载
+
+| 名称 | 操作系统 | 地址 |
+|------|----------|------|
+| SingBox | Mac/Linux/Android/Ios | [https://sing-box.sagernet.org/clients/](https://sing-box.sagernet.org/clients/) |
+| FlClash | Mac/Linux/Windows/Android | [https://github.com/chen08209/FlClash](https://github.com/chen08209/FlClash) |
+| Clash Verge | Mac/Linux/Windows | [https://github.com/clash-verge-rev/clash-verge-rev](https://github.com/clash-verge-rev/clash-verge-rev) |
+| Clash Meta Android | Android | [https://github.com/MetaCubeX/ClashMetaForAndroid](https://github.com/MetaCubeX/ClashMetaForAndroid) |
+| ClashX Meta | Mac | [https://github.com/MetaCubeX/ClashX.Meta](https://github.com/MetaCubeX/ClashX.Meta) |
+| V2RayN | Windows | [https://github.com/2dust/v2rayN](https://github.com/2dust/v2rayN) |
+| V2RayNG | Android | [https://github.com/2dust/v2rayNG](https://github.com/2dust/v2rayNG) |
+| V2RayU | Mac | [https://github.com/yanue/V2rayU](https://github.com/yanue/V2rayU) |
+
+";
+
+ return $sContent;
+
+ }
+
+}