Kaynağa Gözat

Update Index.php

邹景立 4 yıl önce
ebeveyn
işleme
57eed3eaed
1 değiştirilmiş dosya ile 0 ekleme ve 21 silme
  1. 0 21
      app/index/controller/Index.php

+ 0 - 21
app/index/controller/Index.php

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