Explorar o código

扫码上传带上分类pid

evoxwht %!s(int64=2) %!d(string=hai) anos
pai
achega
c2920579e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());