dever 6 anni fa
parent
commit
a22159ec62

+ 1 - 1
tm/lib/Controller/UserHelp.class.php

@@ -19,7 +19,7 @@ class UserHelp  extends EventsController {
 		$helpData = $this->LotteryUserHelp->fetchAll ($condition, 1000000, 'id desc');
 
 		foreach ($helpData as $k => $v) {
-			$this->LotteryUserHelp->modify(array('nums' => $v['num']), array('id' => $v['id']));
+			$this->LotteryUserHelp->modify(array('num' => $v['nums']), array('id' => $v['id']));
 		}
 
 		echo 'yes';die;

+ 1 - 1
tm/lib/Dao/LotteryUserHelp.class.php

@@ -23,7 +23,7 @@ class LotteryUserHelp extends DBAgileDev {
 	protected $other_field = array (
 			'events_id',
 			'uid',
-			//'nums',
+			'nums',
 			'num',
 	);
 }