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
44d4ac23
Commit
44d4ac23
authored
Aug 22, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已绑定号码返回绑定号码
parent
fbfb0874
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+8
-0
PerformanceInfo.php
application/index/controller/PerformanceInfo.php
+4
-1
No files found.
application/api_broker/service/CallPhoneService.php
View file @
44d4ac23
...
...
@@ -130,6 +130,14 @@ class CallPhoneService
$result
[
'status'
]
=
'success'
;
$result
[
'phone'
]
=
$phone_x
[
'phone_x'
];
$result
[
'msg'
]
=
'已绑定,返回隐私号码。'
;
if
(
$landlord
)
{
$result
[
'follow_id'
]
=
$this
->
addPhoneFollow
();
//打默认跟进(客源)
}
else
{
if
(
$house_id
)
{
$result
[
'follow_id'
]
=
$this
->
addPhoneFollow
(
false
,
$house_id
);
//打默认跟进(客源)
}
}
return
$result
;
//绑定过了,返回隐号
}
...
...
application/index/controller/PerformanceInfo.php
View file @
44d4ac23
...
...
@@ -74,7 +74,10 @@ class PerformanceInfo extends Basic
$where
[
'Agent.phone'
]
=
[
'like'
,
'%'
.
$this
->
params
[
'phone'
]
.
'%'
];
}
//todo 成交报告id
if
(
$this
->
params
[
'bargain_id'
]
!=
NULL
)
{
$where
[
'Obargain.id'
]
=
$this
->
params
[
'bargain_id'
];
}
$field
=
'Obargain.create_time,'
;
$field
.=
'Obargain.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