Code format
This commit is contained in:
parent
8b711fa653
commit
fc609a9b67
|
|
@ -14,6 +14,7 @@ namespace Beike\Admin\Services;
|
|||
class FileManagerService
|
||||
{
|
||||
protected $fileBasePath = '';
|
||||
|
||||
protected $basePath = '';
|
||||
|
||||
public function __construct()
|
||||
|
|
@ -187,6 +188,7 @@ class FileManagerService
|
|||
public function uploadFile($file, $savePath, $originName)
|
||||
{
|
||||
$savePath = $this->basePath . $savePath;
|
||||
|
||||
return $file->storeAs($savePath, $originName, 'catalog');
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,5 +13,4 @@ namespace Beike\Exceptions;
|
|||
|
||||
class InvalidException extends \Exception
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -267,6 +267,7 @@ class OrderRepo
|
|||
OrderTotalRepo::createTotals($order, $totals);
|
||||
|
||||
hook_filter('repository.order.create.after', ['order' => $order, 'data' => $data]);
|
||||
|
||||
return $order;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue