dd/github的blade说明.md
2026-01-15 13:35:05 +08:00

26 lines
1.1 KiB
Markdown

========可用变量================
$ex["good_rand"] = $sGoodRand;
$sGoodShip = ModelGoodPool::_goodToGithub($aShip["good"]);
$ex["good_ship"] = $sGoodShip;
$ex["url_sub_v2ray"] = "https://".$aArticle["fn_www"]."/sub/v2ray-".date("Ymd").".txt";
$ex["url_sub_clash"] = "https://".$aArticle["fn_www"]."/sub/v2ray-".date("Ymd").".yaml";
$ex["youhui"] = "购买套餐时输入【".$aArticle['sale_code']."】优惠码,可享".$aArticle['sale_rate']."折优惠,折后低至".$aArticle['sale_price']."元/月。";
$ex["url_github_clash"] = "https://raw.githubusercontent.com/".$aArticle["user_name"]."/".$aArticle["project_name"]."/main/feed/clash-".$sDateCode.".yaml";
$ex["url_github_v2ray"] = "https://raw.githubusercontent.com/".$aArticle["user_name"]."/".$aArticle["project_name"]."/main/feed/v2ray-".$sDateCode.".txt";
$ex["url_github_io_clash"] = "https://".$aArticle["user_name"].".github.io/feed/clash-".$sDateCode.".yaml";
$ex["url_github_io_v2ray"] = "https://".$aArticle["user_name"].".github.io/feed/v2ray-".$sDateCode.".txt";
$ex["huodong"] = $this->getHuodong($aShip);
用法:
{$this->date(\"m月d日\")}
{$ex["url_github_clash"]}