소스 검색

扫码上传带上分类pid

evoxwht 2 년 전
부모
커밋
c2920579e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      crmeb/app/adminapi/controller/v1/file/SystemAttachment.php

+ 1 - 1
crmeb/app/adminapi/controller/v1/file/SystemAttachment.php

@@ -145,7 +145,7 @@ class SystemAttachment extends AuthController
      */
     public function scanUploadQrcode()
     {
-        $pid = $this->request->getMore([
+        [$pid] = $this->request->getMore([
             ['pid', 0]
         ], true);
         $uploadToken = md5(time());