36 lines
773 B
PHP
36 lines
773 B
PHP
<?php
|
|
/**
|
|
* Notes:车主操作日志表
|
|
* Created on: 2022/6/15 16:51
|
|
* Created by: dengbw
|
|
*/
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Receiver_owners_oplogs_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_receiver_owners_oplogs';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
|
|
/**
|
|
* Notes:类型
|
|
* Created on: 2022/6/15 16:51
|
|
* Created by: dengbw
|
|
* @param int $id
|
|
* @return array|mixed
|
|
*/
|
|
public function typeAry($id = '')
|
|
{
|
|
$arr = [0 => '小记', 1 => '发短信', 2 => '拨打号码', 3 => '系统'];
|
|
if (strlen($id)) {
|
|
return $arr[$id];
|
|
} else {
|
|
return $arr;
|
|
}
|
|
}
|
|
|
|
} |