\DtApp\ThinkLibrary\service\upyunUssService

又拍云存储 https://www.upyun.com/products/file-storage Class UssService

Summary

Methods
Properties
Constants
__construct()
instance()
serviceName()
operatorName()
operatorPassword()
upload()
No public properties found
No constants found
initialize()
$app
N/A
No private methods found
$serviceName
$operatorName
$operatorPassword
N/A

Properties

$app

$app : \think\App

应用实例

Type

\think\App

$serviceName

$serviceName : 

Type

$operatorName

$operatorName : 

Type

$operatorPassword

$operatorPassword : 

Type

Methods

__construct()

__construct(\think\App  $app) 

Service constructor.

Parameters

\think\App $app

instance()

instance(array  $args) : static

静态实例对象

Parameters

array $args

Returns

static

serviceName()

serviceName(string  $serviceName) : $this

Parameters

string $serviceName

Returns

$this

operatorName()

operatorName(string  $operatorName) : $this

Parameters

string $operatorName

Returns

$this

operatorPassword()

operatorPassword(string  $operatorPassword) : $this

Parameters

string $operatorPassword

Returns

$this

upload()

upload(string  $object, string  $filePath) : boolean

Parameters

string $object
string $filePath

Throws

\Exception

Returns

boolean

initialize()

initialize() : $this

初始化服务

Returns

$this