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
e4d8a757
Commit
e4d8a757
authored
Dec 27, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent_id
parent
a6d3bfd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Remark.php
application/index/controller/Remark.php
+3
-3
No files found.
application/index/controller/Remark.php
View file @
e4d8a757
...
@@ -45,7 +45,7 @@ class Remark extends Basic
...
@@ -45,7 +45,7 @@ class Remark extends Basic
}
}
$data
[
'status'
]
=
200
;
$data
[
'status'
]
=
200
;
$data
[
'msg'
]
=
''
;
$data
[
'msg'
]
=
''
;
$agent_where
=
[];
$agent_where
=
$where
=
[];
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
...
@@ -104,13 +104,13 @@ class Remark extends Basic
...
@@ -104,13 +104,13 @@ class Remark extends Basic
if
(
!
empty
(
$agent_where
))
{
if
(
!
empty
(
$agent_where
))
{
$m_agent
=
new
AAgents
();
$m_agent
=
new
AAgents
();
$agent_id
=
$m_agent
->
getAgentsByWhere
(
$agent_where
,
'id'
);
$agent_id
=
$m_agent
->
getAgentsByWhere
Column
(
$agent_where
,
'id'
);
if
(
empty
(
$agent_id
))
{
if
(
empty
(
$agent_id
))
{
$data
[
'data'
][
'list'
]
=
[];
$data
[
'data'
][
'list'
]
=
[];
return
$this
->
response
(
200
,
''
,
$data
);
//处理经纪人空数据
return
$this
->
response
(
200
,
''
,
$data
);
//处理经纪人空数据
}
else
{
}
else
{
$where
[
'agent_id'
]
=
$agent_id
;
$where
[
'agent_id'
]
=
[
'in'
,
$agent_id
]
;
}
}
}
}
$field
=
'id,user_id,create_time,content,user_status,labels_id,agent_id as f_agent_id'
;
$field
=
'id,user_id,create_time,content,user_status,labels_id,agent_id as f_agent_id'
;
...
...
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