You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
496 B
23 lines
496 B
<?php
|
|
|
|
namespace App\Service;
|
|
|
|
interface AttachmentServiceInterface
|
|
{
|
|
/**
|
|
* 表单上传,单文件
|
|
* @param $file
|
|
* @param $path
|
|
* @param $filesystem
|
|
* @param string $attachmenttype
|
|
*/
|
|
public function formUpload($file, $path, $filesystem, $attachmenttype = 'image');
|
|
|
|
/**
|
|
* base64code上传,单文件
|
|
* @param $contents
|
|
* @param $path
|
|
* @param $filesystem
|
|
*/
|
|
public function base64Upload($contents, $path, $filesystem);
|
|
}
|