refill_error.model.php 547 B

123456789101112131415161718
  1. <?php
  2. defined('InShopNC') or exit('Access Invalid!');
  3. class refill_errorModel extends Model
  4. {
  5. public function __construct()
  6. {
  7. parent::__construct('refill_error');
  8. }
  9. public function getRefillErrorlList($condition, $pagesize = '',$total = 0, $field = '*', $order = 'add_time desc', $limit = '', $master = false)
  10. {
  11. $list = $this->field($field)->where($condition)->page($pagesize,$total)->order($order)->limit($limit)->master($master)->select();
  12. if (empty($list)) return [];
  13. return $list;
  14. }
  15. }