41 lines
962 B
PHP
41 lines
962 B
PHP
<?php
|
|
/**
|
|
* Created by Vim
|
|
* User: lcc
|
|
* Date: 2021/06/29
|
|
* Time: 13:47
|
|
*/
|
|
|
|
defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
class Receiver_customer_oplogs_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_receiver_customer_oplogs';
|
|
|
|
const SUB_TYPE_XZ = 'xz';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
|
|
/**
|
|
* Notes:类型
|
|
* Created on: 2022/4/12 16:51
|
|
* Created by: dengbw
|
|
* @param string $id
|
|
* @return array|mixed
|
|
*/
|
|
public function typeAry($id = '')
|
|
{
|
|
$arr = [0 => '小记', 1 => '发短信', 2 => '拨打电话', 3 => '新增', 4 => '到店', 5 => '试驾', 6 => '订单', 7 => '战败'
|
|
, 8 => '企微跟进', 9 => '系统', 10 => '加个微'];
|
|
if (strlen($id)) {
|
|
return $arr[$id];
|
|
} else {
|
|
return $arr;
|
|
}
|
|
}
|
|
|
|
}
|