40 lines
874 B
PHP
40 lines
874 B
PHP
<?php
|
|
/**
|
|
* Notes:晓致虚拟号通话记录
|
|
* Created on: 2021/7/26 13:38
|
|
* Created by: dengbw
|
|
*/
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
class Receiver_xz_model extends HD_Model
|
|
{
|
|
private $table_name = 'lc_receiver_xz';
|
|
|
|
public function __construct()
|
|
{
|
|
parent::__construct($this->table_name, 'default');
|
|
}
|
|
|
|
/**
|
|
* Notes:虚似号码
|
|
* Created on: 2021/7/26 14:20
|
|
* Created by: dengbw
|
|
* @param string $type
|
|
* @return array
|
|
*/
|
|
public function get_mobiles($type = 'admin')
|
|
{
|
|
if ($type == 'api') {//小程序接口专用
|
|
$mobile = array(
|
|
'18916735350','18916689195',
|
|
);
|
|
} else {//后台专用
|
|
$mobile = array(
|
|
'18916735350','18916689195',
|
|
);
|
|
}
|
|
return $mobile;
|
|
}
|
|
}
|