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
8b83137a
Commit
8b83137a
authored
Apr 10, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
d6c3400e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
OrderLog.php
application/api_broker/controller/OrderLog.php
+3
-3
OrderLogService.php
application/api_broker/service/OrderLogService.php
+3
-1
VerifyService.php
application/api_broker/service/VerifyService.php
+8
-3
No files found.
application/api_broker/controller/OrderLog.php
View file @
8b83137a
...
...
@@ -291,10 +291,10 @@ class OrderLog extends Basic
public
function
searchOrder
()
{
$params
=
$this
->
params
;
/*
$params = array(
/*
$params = array(
"type" => 4, //0.客户电话 1.客户姓名 2.报备人电话 3.报备人姓名 4.商铺名称 5.商铺地址
"agent_id" => 1,
"search_keyword" => "
福气
"
"agent_id" => 1
0031
,
"search_keyword" => "
小
"
);*/
if
(
!
isset
(
$params
[
"type"
])
||
!
isset
(
$params
[
"agent_id"
])
||
!
isset
(
$params
[
"search_keyword"
]))
{
return
$this
->
response
(
"101"
,
"请求参数错误"
);
...
...
application/api_broker/service/OrderLogService.php
View file @
8b83137a
...
...
@@ -578,7 +578,9 @@ class OrderLogService
$vModel
=
new
VerifyService
();
$agentArr
=
$vModel
->
getAgentsByAgentId
(
$params
[
"report_agent_id"
]);
$agentArr
=
$vModel
->
getAgentsByAgentId
(
$params
[
"agent_id"
]);
if
(
$agentArr
)
{
//$params["report_agent_id"] = $agentArr;
$condition
.=
"and b.report_agent_id in ("
.
trim
(
$agentArr
)
.
") "
;
...
...
application/api_broker/service/VerifyService.php
View file @
8b83137a
...
...
@@ -42,6 +42,9 @@ class VerifyService
case
40
:
$arr_list
=
$this
->
agentModel
->
searchAgentsByKeyword
(
"id"
,
[
"district_id"
=>
$result
[
0
][
"district_id"
]
]);
break
;
default
:
return
$agent_id
;
break
;
}
$ids
=
""
;
if
(
count
(
$arr_list
)
>
0
)
{
...
...
@@ -103,12 +106,13 @@ class VerifyService
}
/**
*
获取楼盘的盘方经纪人id
*
* @param $house_id
* @return false|\PDOStatement|string|\think\Collection
*/
public
function
getPanpartyAgentsByHouseId
(
$house_id
){
$houseToAgentModel
=
new
GHousesToAgents
();
public
function
getPanpartyAgentsByHouseId
(
$house_id
)
{
$houseToAgentModel
=
new
GHousesToAgents
();
return
$houseToAgentModel
->
getHousesAgents
(
$house_id
);
}
}
\ No newline at end of file
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