no message
This commit is contained in:
parent
ab0ec8782d
commit
a05663827e
@ -7,56 +7,6 @@ class FreeNode extends Base {
|
|||||||
public $aHuodong; // 必须,注入,没用了
|
public $aHuodong; // 必须,注入,没用了
|
||||||
public $aShip;
|
public $aShip;
|
||||||
|
|
||||||
public function C($aArticle)
|
|
||||||
{
|
|
||||||
|
|
||||||
if (!$this->todayUpd()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
$sContent = "
|
|
||||||
|
|
||||||
# 公益免费v2ray节点订阅,每小时更新,最后更新时间:".date('Y-m-d H:i:s')."
|
|
||||||
|
|
||||||
## 性价比机场推荐:[福云](https://fuuu.cloud)
|
|
||||||
|
|
||||||
* 价格低 - 目前七折优惠,折后低至8元。
|
|
||||||
|
|
||||||
* 速度快 - 晚高峰看youtube高清不卡顿。
|
|
||||||
|
|
||||||
* 稳定 - 稳定运营二年多,海外团队。
|
|
||||||
|
|
||||||
".$this->aHuodong['str']."
|
|
||||||
|
|
||||||
点击进入[福云机场官网](https://fuuu.cloud)。
|
|
||||||
|
|
||||||
## 免费节点订阅链接
|
|
||||||
|
|
||||||
v2ray订阅链接:
|
|
||||||
|
|
||||||
https://clashfreenode.com/feed/v2ray-".date('Ymd').".txt
|
|
||||||
|
|
||||||
clash订阅链接:
|
|
||||||
|
|
||||||
https://clashfreenode.com/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;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function D($aArticle)
|
public function D($aArticle)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@ -119,6 +119,42 @@ class Article extends Base {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function Json($aParam)
|
||||||
|
{
|
||||||
|
$iId = $aParam["aOption"][1] ?? false;
|
||||||
|
$sJson = $aParam["aArg"] ?? false;
|
||||||
|
|
||||||
|
if (!$iId) {
|
||||||
|
return "需要id";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$sJson) {
|
||||||
|
return "需要json";
|
||||||
|
}
|
||||||
|
|
||||||
|
$oArticle = ModelArticle::find($iId);
|
||||||
|
|
||||||
|
if (!$oArticle) {
|
||||||
|
return "没到到这个";
|
||||||
|
}
|
||||||
|
|
||||||
|
$sJson = implode(" ", $sJson);
|
||||||
|
|
||||||
|
$aJson = json_decode($sJson, true);
|
||||||
|
|
||||||
|
foreach ($aJson as $k => $v) {
|
||||||
|
$oArticle->$k = $v;
|
||||||
|
}
|
||||||
|
|
||||||
|
$oArticle->save();
|
||||||
|
|
||||||
|
$aParam["aArg"][1] = $oArticle->id;
|
||||||
|
return $this->Find($aParam);
|
||||||
|
|
||||||
|
// return $this->toJson($oArticle);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
// /ArticleSet__id__user_name xxx
|
// /ArticleSet__id__user_name xxx
|
||||||
public function Set($aParams)
|
public function Set($aParams)
|
||||||
{
|
{
|
||||||
@ -136,8 +172,11 @@ class Article extends Base {
|
|||||||
// 处理未找到的情况
|
// 处理未找到的情况
|
||||||
throw new \Exception("Article not found");
|
throw new \Exception("Article not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$aParam["aArg"][1] = $article->id;
|
||||||
|
return $this->Find($aParam);
|
||||||
|
|
||||||
return $this->toJson($article);
|
// return $this->toJson($article);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -103,3 +103,5 @@ server {
|
|||||||
git config --global --add safe.directory /www/wwwroot/github-2.diaodu.us
|
git config --global --add safe.directory /www/wwwroot/github-2.diaodu.us
|
||||||
|
|
||||||
可一次运行可能需要777权限
|
可一次运行可能需要777权限
|
||||||
|
|
||||||
|
iphonevpn clash telegram nefilx vpn vless clashmeta vmess surge ssr
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user