Sfoglia il codice sorgente

【程序目录】优化漏洞

evoxwht 1 anno fa
parent
commit
0e70226961

+ 3 - 1
crmeb/app/adminapi/controller/v1/system/SystemDatabackup.php

@@ -50,7 +50,9 @@ class SystemDatabackup extends AuthController
      */
     public function read()
     {
-        $tablename = request()->param('tablename', '', 'htmlspecialchars');
+        [$tablename] = $this->request->getMore([
+            ['tablename', ''],
+        ], true);
         return app('json')->success($this->services->getRead($tablename));
     }