mirror of
https://github.com/ctwj/urldb.git
synced 2025-11-25 03:15:04 +08:00
25 lines
625 B
PHP
25 lines
625 B
PHP
<?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);
|
|
} |