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
1b446ea8
Commit
1b446ea8
authored
Aug 08, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
4e22718a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
Performance.php
application/api_broker/controller/Performance.php
+5
-5
OBargainModel.php
application/model/OBargainModel.php
+2
-0
No files found.
application/api_broker/controller/Performance.php
View file @
1b446ea8
...
...
@@ -123,13 +123,13 @@ class Performance extends Basic
{
header
(
'Access-Control-Allow-Origin:*'
);
$params
=
$this
->
params
;
/*
$params = array(
"agent_id" =>
6
,
"start_time" => "2018-0
4-09
",
"end_time" => "2018-0
4-12
",
/*
$params = array(
"agent_id" =>
5741
,
"start_time" => "2018-0
8-08
",
"end_time" => "2018-0
8-08
",
"is_case" => 1,//1经纪人 2案场
"house_id" => 0,
"type" =>
1
// 1带看 2进场 3收款 4成交报告
"type" =>
4
// 1带看 2进场 3收款 4成交报告
);*/
if
(
!
isset
(
$params
[
"agent_id"
])
||
!
isset
(
$params
[
"start_time"
])
||
!
isset
(
$params
[
"end_time"
])
||
!
isset
(
$params
[
"type"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
...
...
application/model/OBargainModel.php
View file @
1b446ea8
...
...
@@ -796,6 +796,8 @@ class OBargainModel extends Model
}
if
(
isset
(
$params
[
"create_time"
]))
{
$where_
[
"a.create_time"
]
=
$params
[
"create_time"
];
$where_
[
"a.father_id"
]
=
0
;
$where_
[
"a.trade_type"
]
=
10
;
}
if
(
isset
(
$params
[
"house_ids"
]))
{
...
...
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