...
|
...
|
@@ -25,6 +25,7 @@ class VoteController extends AdminBaseController{ |
|
|
$arr['title'] = $title;
|
|
|
$arr['pid'] = 0;
|
|
|
$arr['radio'] = $radio;
|
|
|
$arr['time'] = time();
|
|
|
$id = Db::name('vote') -> insertGetId($arr);
|
|
|
foreach ($option as $key => $value) {
|
|
|
$data['pid'] = $id;
|
...
|
...
|
|