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
c7adc67e
Commit
c7adc67e
authored
Jun 06, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
$source_type
parent
ad0ec2fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+5
-4
No files found.
application/api_broker/service/CallPhoneService.php
View file @
c7adc67e
...
...
@@ -72,10 +72,10 @@ class CallPhoneService
* @param int $agent_id
* @param string $agent_name
* @param int $landlord
* @param int $type
* @param int $
source_
type
* @return mixed
*/
public
function
bindAXB
(
$phone_a
,
$phone_b
,
$record
=
true
,
int
$user_id
,
$agent_id
,
string
$agent_name
,
int
$landlord
,
int
$type
)
public
function
bindAXB
(
$phone_a
,
$phone_b
,
$record
=
true
,
int
$user_id
,
$agent_id
,
string
$agent_name
,
int
$landlord
,
int
$
source_
type
)
{
$result
[
'status'
]
=
'failed'
;
$type
=
''
;
...
...
@@ -83,11 +83,12 @@ class CallPhoneService
$result
[
'msg'
]
=
'本机号码格式错误,请重新编辑!'
;
return
$result
;
}
if
(
!
empty
(
$user_id
))
{
if
(
$landlord
)
{
if
(
$type
==
1
)
{
if
(
$
source_
type
==
1
)
{
$phone_b
=
$this
->
getHouseLandlordPhone
(
$user_id
);
//商铺房东手机号
}
else
{
$phone_b
=
$this
->
getBuildingRoomLandlordPhone
(
$user_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