修改oss上传路径参数问题
This commit is contained in:
@@ -17,7 +17,7 @@ class SafeService extends BaseService
|
||||
public function getOssSign(): array
|
||||
{
|
||||
$user_type = $this->request->input('user_type');
|
||||
$scene = $this->request->input('scene');
|
||||
$path = $this->request->input('path');
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
|
||||
if (empty($user_info)){
|
||||
@@ -32,7 +32,7 @@ class SafeService extends BaseService
|
||||
$dir = "applet/pharmacist/";
|
||||
}
|
||||
|
||||
$dir = $dir . $scene;
|
||||
$dir = $dir . $path;
|
||||
|
||||
// 获取用户数据
|
||||
$params = array();
|
||||
|
||||
Reference in New Issue
Block a user