dever 3 years ago
parent
commit
6bdd92f28b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      service/option/src/My.php

+ 4 - 1
service/option/src/My.php

@@ -80,7 +80,10 @@ class My extends Core
                 $total += $v['daijiaofu'];
             }
         }
-        $audit['date'] = date('Y.m.d H:i', $date);
+        if ($date) {
+            $audit['date'] = date('Y.m.d H:i', $date);
+        }
+        
         $total = number_format($total, 2, '.', '');
 
         $this->data['audit'] = $audit;