【程序目录】优化漏洞

This commit is contained in:
evoxwht 2024-04-22 15:45:46 +08:00
parent 15526273de
commit 0e70226961

View File

@ -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));
}