初始化本地仓库
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
namespace core\upload;
|
||||
|
||||
interface UploadFileInterface
|
||||
{
|
||||
/**
|
||||
* @desc: 上传文件
|
||||
*
|
||||
* @param array $options
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function uploadFile(array $options): mixed;
|
||||
|
||||
/**
|
||||
* @desc: 上传服务端文件
|
||||
*
|
||||
* @param string $filePath
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function uploadServerFile(string $filePath): mixed;
|
||||
|
||||
/**
|
||||
* @desc: Base64上传文件
|
||||
*
|
||||
* @param string $base64
|
||||
* @param string $extension
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function uploadBase64(string $base64, string $extension = 'image'): mixed;
|
||||
}
|
||||
Reference in New Issue
Block a user