...
|
...
|
@@ -156,9 +156,9 @@ class Config extends Api |
|
|
foreach ($Array as $k => $v) {
|
|
|
$Ids[] = $v['id'];
|
|
|
}
|
|
|
// $Id = array_rand($Ids, 1);
|
|
|
$NEW = $this->shuffle_assoc($Ids);
|
|
|
$List = Db::name('gift_message')->where('id', $NEW[0])->find();
|
|
|
// $Id = array_rand($Ids);
|
|
|
// $NEW = $this->shuffle_assoc($Ids);
|
|
|
$List = Db::name('gift_message')->where('id', array_rand($Ids))->find();
|
|
|
$data = [
|
|
|
'Content' => $List['content']
|
|
|
];
|
...
|
...
|
|