24 lines
711 B
PHP
24 lines
711 B
PHP
<?php
|
|
defined('BASEPATH') or exit('No direct script access allowed');
|
|
|
|
class Pingan_users_cmmssn_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_pingan_users_cmmssn';
|
|
|
|
// 来源类型 1
|
|
const CF_TYPE_ORDER_OWN = 1;
|
|
const CF_TYPE_ORDER_TEAM = 2;
|
|
const CF_TYPE_CLUES_OWN = 3;
|
|
const CF_TYPE_CLUES_TEAM = 4;
|
|
const CF_TYPE_CN = [
|
|
self::CF_TYPE_ORDER_OWN => '订单', //自有订单
|
|
self::CF_TYPE_ORDER_TEAM => '订单', //团队订单
|
|
self::CF_TYPE_CLUES_OWN => '线索', //自有线索
|
|
self::CF_TYPE_CLUES_TEAM => '线索' //团队线索
|
|
];
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
} |