29 lines
577 B
PHP
29 lines
577 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
class Auto_finance_model extends HD_Model{
|
|
private $table_name = 'lc_auto_car_finance';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
/**
|
|
* 期数
|
|
* @return array
|
|
*/
|
|
public function get_nums(){
|
|
$nums = [24,36];
|
|
return $nums;
|
|
}
|
|
|
|
/**
|
|
* 状态
|
|
* @return array
|
|
*/
|
|
function status_ary(){
|
|
$statusAry = ['0' => '关闭', '1' => '开启'];
|
|
|
|
return $statusAry;
|
|
}
|
|
}
|