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
f0df18d6
Commit
f0df18d6
authored
Jul 08, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a9d30e0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Report.php
application/api_broker/controller/Report.php
+2
-1
ReportService.php
application/api_broker/service/ReportService.php
+2
-1
No files found.
application/api_broker/controller/Report.php
View file @
f0df18d6
...
...
@@ -201,7 +201,8 @@ class Report extends Basic
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$field
=
"a.id,a.user_id,a.report_agent_name,a.report_agent_phone,a.user_phone,a.user_name,a.predict_see_time,a.create_time,b.id as order_id,b.order_no,b.house_id,b.house_title"
;
$field
=
"a.id,a.user_id,a.report_agent_name,a.report_agent_phone,a.user_phone,a.user_name,a.predict_see_time,
a.create_time,b.id as order_id,b.order_no,b.house_id,b.house_title"
;
if
(
isset
(
$params
[
"report_id"
]))
{
$params
[
"a.id"
]
=
$params
[
"report_id"
];
...
...
application/api_broker/service/ReportService.php
View file @
f0df18d6
...
...
@@ -3,6 +3,7 @@
namespace
app\api_broker\service
;
use
app\api\untils\GeTuiUtils
;
use
app\model\AAgents
;
use
app\model\GHouses
;
use
app\model\GHousesToAgents
;
use
app\model\OrderModel
;
...
...
@@ -112,7 +113,7 @@ class ReportService
//todo 获取我报备的我的案场的,
//如果是店长则获取其下所有的经纪人 这里去掉了for190218
$agentModel
=
new
AAgents
();
$agents_data
=
$agentModel
->
getAgentInfo
(
'id,level'
,
$
this
->
agentId
);
$agents_data
=
$agentModel
->
getAgentInfo
(
'id,level'
,
$
params
[
"agent_id"
]
);
if
(
$agents_data
[
"level"
]
==
30
||
$agents_data
[
"level"
]
==
40
)
{
$vModel
=
new
VerifyService
();
...
...
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