Your Name 2 years ago
parent
commit
e6a6e0d90d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      learn/active/src/Home.php
  2. 1 1
      learn/active/src/Off.php

+ 1 - 1
learn/active/src/Home.php

@@ -295,7 +295,7 @@ Class Home extends Core
 			$admin = Dever::load('manage/auth.info');
 			$where['where_id'] = $code_id;
 			$where['status'] = 2;
-			$where['time'] = time();
+			$where['offdate'] = time();
 			$where['audit_admin'] = $admin['id'];
 			$ids = Dever::db('active/code')->update($where);
 			if ($ids) {

+ 1 - 1
learn/active/src/Off.php

@@ -123,7 +123,7 @@ Class Off extends Coreoff
 			}
 			$where['where_id'] = $code_id;
 			$where['status'] = 2;
-			$where['time'] = time();
+			$where['offdate'] = time();
 			$where['top_admin'] = $this->uid;
 			$ids = Dever::db('active/code')->update($where);
 			if ($ids) {