Basechat.php
945 Bytes
<?php
/**
* tpshop
* ============================================================================
* 版权所有 2015-2027 深圳搜豹网络科技有限公司,并保留所有权利。
* 网站地址: http://www.tp-shop.cn
* ----------------------------------------------------------------------------
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用 .
* 不允许对程序代码以任何形式任何目的的再发布。
* ============================================================================
* Author: hsj
* Date: 2015-09-09
*/
namespace app\mchat\controller;
use think\Controller;
use think\Config;
use think\Page;
use think\Validate;
use think\Db;
use think\Cookie;
use app\admin\controller\Base;
class Basechat extends Base
{
public $chat_db='';
public function _initialize() {
$this->chat_db=Db::connect('chat_db');
}
}