dever 6 years ago
parent
commit
788ee6a2fc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main/src/Content.php

+ 2 - 0
main/src/Content.php

@@ -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'];