|
@@ -11,6 +11,19 @@ use KIF\Core\Request;
|
|
|
|
|
|
class UserHelp extends EventsController {
|
|
|
|
|
|
+ public function doTest() {
|
|
|
+
|
|
|
+ $this->LotteryUserHelp = new LotteryUserHelp ();
|
|
|
+
|
|
|
+ $condition = array();
|
|
|
+ $helpData = $this->objLotteryUserHelp->fetchAll ($condition, 1000000, 'id desc');
|
|
|
+
|
|
|
+ foreach ($helpData as $k => $v) {
|
|
|
+ $this->LotteryUserHelp->modify(array('nums' => $v['num']), array('id' => $v['id']));
|
|
|
+ }
|
|
|
+
|
|
|
+ echo 'yes';die;
|
|
|
+ }
|
|
|
public function doApply() {
|
|
|
|
|
|
|