32 lines
854 B
PHP
32 lines
854 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Notes:狸车新能源企微_日志
|
|
* Created on: 2022/4/21 14:52
|
|
* Created by: dengbw
|
|
*/
|
|
class App_lichene_qy_log_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_app_lichene_qy_log';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
|
|
/**
|
|
* Notes:操作类型
|
|
* Created on: 2022/4/21 17:52
|
|
* Created by: dengbw
|
|
* @param string $type
|
|
* @return array|mixed
|
|
*/
|
|
public function change_type($type = '')
|
|
{
|
|
$ary = ['add_external_contact' => '添加企业客户', 'edit_external_contact' => '编辑企业客户'
|
|
, 'del_external_contact' => '删除企业客户', 'del_follow_user' => '删除跟进成员'];
|
|
return $type ? $ary[$type] : $ary;
|
|
}
|
|
}
|