Update Index.php

This commit is contained in:
邹景立 2021-04-07 13:29:44 +08:00
parent 1245523a83
commit 57eed3eaed

View File

@ -27,25 +27,4 @@ class Index extends Controller
{
$this->redirect(sysuri('admin/login/index'));
}
/**
* 重置系统数据
*/
public function reset()
{
exit('Disable Reset.');
$this->_query('DataUser')->empty();
$this->_query('DataUserToken')->empty();
$this->_query('DataUserAddress')->empty();
$this->_query('DataUserRebate')->empty();
$this->_query('DataUserBalance')->empty();
$this->_query('DataUserTransfer')->empty();
$this->_query('ShopOrder')->empty();
$this->_query('ShopOrderItem')->empty();
$this->_query('ShopOrderSend')->empty();
$this->_query('DataUserPayment')->empty();
}
}