# news.php(CF 拉 token / source) ## 改了什么 - 不再把 token 写死在客户端为主 - 启动时从 Cloudflare Worker 拉 JSON:source_url + token - 本地 .news-cache/cf_remote_config.json 缓存 300 秒 ## CF 配置地址 - 主:https://news-proxy-config.sanmao20261987.workers.dev/ - 备:https://config.daizuoguanggaotelegramidcaishentai.com/ (绑路由中,橙云生效后可用) ## 换主控/换 token 只改 Worker 脚本 /root/private_path_exports/cf_workers/news-proxy-config.js 后重新上传 当前 source 默认:https://sanshanyouya.com/news_source.php ## 部署 把 news.php 放到站点运行目录(网站根),伪静态把需要进程序的路径指到 news.php ## 宝塔批量 见同目录 BAOTA_DEPLOY_STATUS.txt