diff --git a/api/controllers/wxapp/licheb/Finance.php b/api/controllers/wxapp/licheb/Finance.php index 89953870..9e44c197 100644 --- a/api/controllers/wxapp/licheb/Finance.php +++ b/api/controllers/wxapp/licheb/Finance.php @@ -36,11 +36,11 @@ class Finance extends Wxapp{ ]; //$count = $this->sys_finance_model->count($where); $where['type'] = 3; - $count = $this->auto_supplier_model->count($where); + $count = $this->sys_supplier_model->count($where); $lists = []; if($count){ //$rows = $this->sys_finance_model->select($where,'id desc',$page,$size,'id,title'); - $rows = $this->auto_supplier_model->select($where,'id desc',$page,$size,'id,title'); + $rows = $this->sys_supplier_model->select($where,'id desc',$page,$size,'id,title'); foreach($rows as $key => $val){ $lists[] = $val; }