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
007c4105
Commit
007c4105
authored
Jun 10, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
楼盘房东电话类型
parent
b97d05af
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 @
007c4105
...
...
@@ -83,14 +83,15 @@ class CallPhoneService
$result
[
'msg'
]
=
'本机号码格式错误,请重新编辑!'
;
return
$result
;
}
$user_type
=
0
;
//0客户1商铺房东2楼盘房东
if
(
!
empty
(
$user_id
))
{
if
(
$landlord
)
{
if
(
$source_type
==
1
)
{
$phone_b
=
$this
->
getHouseLandlordPhone
(
$user_id
);
//商铺房东手机号
$user_type
=
1
;
}
else
{
$phone_b
=
$this
->
getBuildingRoomLandlordPhone
(
$user_id
);
//楼盘房源房东手机号
$user_type
=
2
;
}
}
else
{
$this
->
user_id
=
$user_id
;
...
...
@@ -167,7 +168,7 @@ class CallPhoneService
$this
->
release
=
1
;
//是否释放
if
(
empty
(
$this
->
day_num
))
{
$this
->
expiry_date
=
_EXPIRATION
;
$user_type
=
0
;
//
$user_type = 0;
}
else
{
if
(
$landlord
)
{
if
(
$this
->
day_num
==
0
)
{
...
...
@@ -179,7 +180,7 @@ class CallPhoneService
$user_type
=
1
;
}
else
{
$this
->
expiry_date
=
date
(
'Y-m-d H:i:s'
,
strtotime
(
"+
{
$this
->
day_num
}
day"
));
$user_type
=
0
;
//
$user_type = 0;
}
}
...
...
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