Files
spacestation/common/models/receiver/Receiver_call_model.php
T
2025-09-15 14:20:03 +08:00

25 lines
752 B
PHP

<?php
defined('BASEPATH') or exit('No direct script access allowed');
class Receiver_call_model extends HD_Model
{
private $table_name = 'lc_receiver_call';
// cfType 类型 1线索
const CF_TYPE_CLUE = 1;
// cfPlatform 来源平台
const CF_PLATFORM_AGENT_PINGAN = 'AgentPingAn';
const finishTypeList = [0 => '通话未完成', 1 => '通话完成', 2 => '通话失败'];
const callTypeList = [0 => '呼入', 1 => '呼出'];
const hangupTypeList = [0 => '客户挂断', 1 => '坐席挂断'];
//状态 0 未拨打 1 已拨打
const STATUS_WAIT = 0;
const STATUS_FINISH = 1;
public function __construct()
{
parent::__construct($this->table_name, 'default');
}
}