Your Name před 3 roky
rodič
revize
6e53866cd3
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      learn/active/lib/Manage.php

+ 2 - 2
learn/active/lib/Manage.php

@@ -117,7 +117,7 @@ Class Manage
             $where['where_id'] = $data['id'];
             $where['status'] = 2;
             $where['offdate'] = time();
-            $admin = Dever::load('manage/admin-find');
+            $admin = Dever::load('manage/auth.info');
             $where['audit_admin'] = $admin['id'];
             Dever::db('active/code')->update($where);
         }
@@ -461,7 +461,7 @@ Class Manage
                 //throw new \Exception('退款失败');
                 Dever::alert('退款失败,请联系管理员');
             } else { 
-                $admin = Dever::load('manage/auth.data');
+                $admin = Dever::load('manage/auth.info');
                 $time = time();
                 $where['where_id'] = $data['id'];
                 $where['status'] = 6;