更新3.0

This commit is contained in:
admin
2025-03-28 17:00:42 +08:00
parent 86038423e1
commit 6cc49273b6
62 changed files with 6470 additions and 5240 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace netdisk\pan;
abstract class BasePan
{
protected $urlHeader;
protected $code;
protected $url;
protected $isType;
protected $expired_type;
protected $ad_fid;
protected $stoken;
public function __construct($config = [])
{
$this->code = $config['code'] ?? '';
$this->url = $config['url'] ?? '';
$this->isType = $config['isType'] ?? 0;
$this->expired_type = $config['expired_type'] ?? 1;
$this->ad_fid = $config['ad_fid'] ?? '';
$this->stoken = $config['stoken'] ?? '';
}
abstract public function transfer($share_id);
}