Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
064c9d8f
Commit
064c9d8f
authored
Jan 15, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chat
parent
b3a62841
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
AppChat.php
application/chat/controller/AppChat.php
+3
-9
ChatService.php
application/chat/service/ChatService.php
+7
-0
No files found.
application/chat/controller/AppChat.php
View file @
064c9d8f
...
...
@@ -10,19 +10,13 @@ namespace app\chat\controller;
* Intro:
*/
use
app\chat\consts\ConfigConst
;
use
app\chat\consts\ErrorCodeConst
;
use
app\chat\extend\Basic
;
use
app\chat\service\ChatService
;
use
app\chat\utils\RPush
;
use
app\extra\RedisPackage
;
use
app\model\Users
;
use
CurlUtil
;
use
HttpException
;
use
RPush
;
use
think\Cache
;
use
think\Exception
;
use
Think\Log
;
use
think\Request
;
class
AppChat
extends
Basic
{
...
...
@@ -42,8 +36,8 @@ class AppChat extends Basic
{
parent
::
__construct
(
$request
);
/*
$this->_push = new RPush();
$this->_chat = new ChatService();
*/
$this
->
_push
=
new
RPush
();
$this
->
_chat
=
new
ChatService
();
}
...
...
application/chat/service/ChatService.php
View file @
064c9d8f
<?php
namespace
app\chat\service
;
/**
* Created by PhpStorm.
* User : zw
* Date : 2018/1/8
* Time : 16:54
* Intro:
*/
use
app\chat\utils\RPush
;
use
app\model\Agents
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment