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
cef80fe2
Commit
cef80fe2
authored
Jun 26, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fields
parent
6dc5e5e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
OfficeOrderLogService.php
application/api_broker/service/OfficeOrderLogService.php
+1
-1
OfficeBargain.php
application/index/controller/OfficeBargain.php
+9
-9
No files found.
application/api_broker/service/OfficeOrderLogService.php
View file @
cef80fe2
...
...
@@ -1519,7 +1519,7 @@ class OfficeOrderLogService
$where_house
[
"a.type"
]
=
[
'in'
,
'2,3'
];
$where_house
[
"a.is_del"
]
=
0
;
$where_house
[
"b.status"
]
=
0
;
$agent_house
=
$houseAgents
->
getAgentsByHouseId
(
$field
s
.
',a.type'
,
$where_house
);
$agent_house
=
$houseAgents
->
getAgentsByHouseId
(
$field
.
',a.type'
,
$where_house
);
$list
=
[];
$key
=
0
;
...
...
application/index/controller/OfficeBargain.php
View file @
cef80fe2
...
...
@@ -561,17 +561,17 @@ class OfficeBargain extends Basic
return
$this
->
response
(
"101"
,
"请求参数错误"
);
}
//
try {
try
{
$order_service
=
new
OfficeOrderLogService
();
$list
=
$order_service
->
searchBargainAllAgents
(
$params
[
"order_id"
]);
//
if (count($list) > 0) {
//
return $this->response("200", "request success", $list);
//
} else {
//
return $this->response("200", "request null");
//
}
//
} catch (\Exception $e) {
//
return $this->response("101", "request error,msg:" . $e);
//
}
if
(
count
(
$list
)
>
0
)
{
return
$this
->
response
(
"200"
,
"request success"
,
$list
);
}
else
{
return
$this
->
response
(
"200"
,
"request null"
);
}
}
catch
(
\Exception
$e
)
{
return
$this
->
response
(
"101"
,
"request error,msg:"
.
$e
);
}
}
/**
...
...
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