1.只要苹果cms采集有官方链接 资源站弹幕就会匹配
2.使用教程设置好 苹果cms数据库 就可以 远程数据库也行
以下部分代码
<?php
error_reporting(0);
header('Content-type:text/json');
//只要苹果cms采集有官方链接 资源站弹幕就会匹配
//使用教程设置好 苹果cms数据库 就可以 远程数据库也行
$api = "https://www.baidu.com/dmku/?ac=dm&url="; //弹幕接口
$ml = "dm/dm/"; //目录
if (!file_exists($ml)) {
if (mkdir($ml, 0777, true)) {
}
}
$jm = $_GET["url"];
if(strstr($jm,"index.m3u8")){
if(empty($jm) == true) {
$data['code'] = 201;
$data['调用ip'] = $userip;
$data['msg'] = '缺少参数';
exit(json_encode($data, 456));
}
$file = $ml . md5($jm) . '.m3u8';
if (file_exists($file) == true) {
$url = file_get_contents($file);
// $data['code'] = 200;
// $data['url'] = $url;
// $data['yurl'] = $jm;
// exit(json_encode($data, 456));
header('cache-control:public');
header('Access-Control-Allow-Origin:*');
header('content-type:application/octet-stream;');
header("Location: $api$url");
exit();
}
//$servername = "数据库地址:3306"; //远程服务器ip
$servername = "localhost";//本地服务器
$username = "";//服务器账号
$dbname = "";//服务器账号
$password = "";//服务器密码


不错不错,很详细!
教程不错!
https://cccimg.com/view.php/60d24926ca7a812d3962afc7b73f284b.jpg
这个链接是付款后的截图,带有北京时间
从新下载即可
dfsfsdtryrt
测试订单撒旦撒神丢
输入方式地方
发顺丰大苏打