Files
liche/common/models/app/App_different_qy_log_model.php
2022-06-28 16:47:26 +08:00

32 lines
852 B
PHP

<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Notes:异业店企微_日志
* Created on: 2022/6/27 14:52
* Created by: dengbw
*/
class App_different_qy_log_model extends HD_Model
{
private $table_name = 'lc_app_different_qy_log';
public function __construct()
{
parent::__construct($this->table_name, 'default');
}
/**
* Notes:操作类型
* Created on: 2022/7/27 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;
}
}