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
b4958556
Commit
b4958556
authored
Jul 06, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
56885084
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
ChatService.php
application/chat/service/ChatService.php
+0
-1
GeTuiUtils.php
application/chat/utils/GeTuiUtils.php
+1
-3
RPush.php
application/chat/utils/RPush.php
+1
-1
No files found.
application/chat/service/ChatService.php
View file @
b4958556
...
@@ -65,7 +65,6 @@ class ChatService
...
@@ -65,7 +65,6 @@ class ChatService
*/
*/
public
function
register
(
$user_id
,
$mobile
,
$source
)
public
function
register
(
$user_id
,
$mobile
,
$source
)
{
{
//todo
$params
[
"type"
]
=
$source
;
$params
[
"type"
]
=
$source
;
$params
[
"user_id"
]
=
$user_id
;
$params
[
"user_id"
]
=
$user_id
;
$params
[
"phone"
]
=
$mobile
;
$params
[
"phone"
]
=
$mobile
;
...
...
application/chat/utils/GeTuiUtils.php
View file @
b4958556
<?php
<?php
namespace
app\chat\utils
;
/**
/**
* Created by PhpStorm.
* Created by PhpStorm.
* User: hujun
* User: hujun
...
@@ -6,9 +7,6 @@
...
@@ -6,9 +7,6 @@
* Time: 21:09
* Time: 21:09
*/
*/
namespace
app\chat\utils
;
use
RequestException
;
use
RequestException
;
define
(
'IGT_APP_ID'
,
'A8raBWQxuX9bcVmk3rkWa5'
);
define
(
'IGT_APP_ID'
,
'A8raBWQxuX9bcVmk3rkWa5'
);
...
...
application/chat/utils/RPush.php
View file @
b4958556
...
@@ -66,7 +66,7 @@ class RPush
...
@@ -66,7 +66,7 @@ class RPush
{
{
$arr
=
array
(
$arr
=
array
(
'target_type'
=>
$target_type
,
'target_type'
=>
$target_type
,
'target'
=>
$target
,
'target'
=>
$target
,
//[1,2,3]
'msg'
=>
[
"type"
=>
"txt"
,
"msg"
=>
$msg_content
],
'msg'
=>
[
"type"
=>
"txt"
,
"msg"
=>
$msg_content
],
'from'
=>
$from
,
'from'
=>
$from
,
'ext'
=>
[
"msg_type"
=>
$type
,
"user_name"
=>
$user_name
]
'ext'
=>
[
"msg_type"
=>
$type
,
"user_name"
=>
$user_name
]
...
...
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