|
@@ -46,6 +46,8 @@ class Content extends Core
|
|
|
$time = Dever::maketime('2019-01-29 14:44:30');
|
|
|
if ($data) {
|
|
|
foreach ($data as $k => $v) {
|
|
|
+ echo $time;
|
|
|
+ print_r($v);die;
|
|
|
if ($v['cdate'] < $time && isset($id[$v['buy_id']]) && $id[$v['buy_id']]) {
|
|
|
$num = $id[$v['buy_id']] - 1;
|
|
|
$score = $num * $info['score'];
|