dever 6 years ago
parent
commit
3b489acb5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/src/Journal.php

+ 1 - 1
main/src/Journal.php

@@ -527,7 +527,7 @@ class Journal extends Core
             return $this->data;
             return $this->data;
         }
         }
         # 获取购买列表
         # 获取购买列表
-        $this->data['buy_list'] = Dever::db('journal/buy_num')->getAll(array('info_id' => $id));
+        $this->data['buy_list'] = Dever::db('journal/buy_num')->getAlls(array('info_id' => $id));
 
 
         if ($this->data['info']['cash'] <= 0) {
         if ($this->data['info']['cash'] <= 0) {
             $this->data['info']['cash'] = 100000;
             $this->data['info']['cash'] = 100000;