...
|
...
|
@@ -158,9 +158,7 @@ class Config extends Api |
|
|
}
|
|
|
// $Id = array_rand($Ids);
|
|
|
// $NEW = $this->shuffle_assoc($Ids);
|
|
|
dump(array_rand($Ids));
|
|
|
die;
|
|
|
$List = Db::name('gift_message')->where('id', array_rand($Ids))->find();
|
|
|
$List = Db::name('gift_message')->where('id', array_rand($Ids) + 1)->find();
|
|
|
$data = [
|
|
|
'Content' => $List['content']
|
|
|
];
|
...
|
...
|
|