|
@@ -46,8 +46,9 @@ class Content extends Core
|
|
$time = Dever::maketime('2019-01-29 14:44:30');
|
|
$time = Dever::maketime('2019-01-29 14:44:30');
|
|
if ($data) {
|
|
if ($data) {
|
|
foreach ($data as $k => $v) {
|
|
foreach ($data as $k => $v) {
|
|
- echo $time;
|
|
|
|
- print_r($v);die;
|
|
|
|
|
|
+ echo date('Y-m-d H:i:s', $time);
|
|
|
|
+ echo "\r\n";
|
|
|
|
+ echo date('Y-m-d H:i:s', $v['cdate']);
|
|
if ($v['cdate'] < $time && isset($id[$v['buy_id']]) && $id[$v['buy_id']]) {
|
|
if ($v['cdate'] < $time && isset($id[$v['buy_id']]) && $id[$v['buy_id']]) {
|
|
$num = $id[$v['buy_id']] - 1;
|
|
$num = $id[$v['buy_id']] - 1;
|
|
$score = $num * $info['score'];
|
|
$score = $num * $info['score'];
|