修改oss上传路径参数问题

This commit is contained in:
2023-02-22 11:38:54 +08:00
parent c7813e779b
commit fe23aee366
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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();