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
b35c7ca9
Commit
b35c7ca9
authored
Sep 11, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
719eeaca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
AppChat.php
application/chat/controller/AppChat.php
+3
-3
MPushMessage.php
application/model/MPushMessage.php
+1
-1
No files found.
application/chat/controller/AppChat.php
View file @
b35c7ca9
...
@@ -480,11 +480,11 @@ class AppChat extends Basic
...
@@ -480,11 +480,11 @@ class AppChat extends Basic
public
function
getSystemMessageByUser
()
public
function
getSystemMessageByUser
()
{
{
$params
=
$this
->
params
;
$params
=
$this
->
params
;
/*
$params = array(
$params
=
array
(
"agent_id" => 574
0
,
"agent_id"
=>
574
1
,
'page_no'
=>
'1'
,
//第几页
'page_no'
=>
'1'
,
//第几页
'page_size'
=>
'15'
//每页多少条
'page_size'
=>
'15'
//每页多少条
);
*/
);
if
(
!
isset
(
$params
[
'agent_id'
]))
{
if
(
!
isset
(
$params
[
'agent_id'
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
}
...
...
application/model/MPushMessage.php
View file @
b35c7ca9
...
@@ -214,7 +214,7 @@ class MPushMessage
...
@@ -214,7 +214,7 @@ class MPushMessage
public
function
getListByWhere
(
string
$field
,
array
$params
,
int
$page_no
=
1
,
int
$page_size
=
15
)
public
function
getListByWhere
(
string
$field
,
array
$params
,
int
$page_no
=
1
,
int
$page_size
=
15
)
{
{
$this
->
db_
return
$this
->
db_
->
field
(
$field
)
->
field
(
$field
)
->
where
(
$params
)
->
where
(
$params
)
->
order
(
" id desc"
)
->
order
(
" id desc"
)
...
...
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