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
79b801fd
Commit
79b801fd
authored
Aug 15, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绑定手机号客户与经纪人人手机号分别判断
parent
1df5db88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+7
-2
No files found.
application/api_broker/service/CallPhoneService.php
View file @
79b801fd
...
...
@@ -48,8 +48,13 @@ class CallPhoneService
return
$result
;
}
if
((
strlen
(
$phone_a
)
!=
11
)
||
(
strlen
(
$phone_b
)
!=
11
))
{
$result
[
'msg'
]
=
'号码格式错误,请重新填写!'
;
if
(
strlen
(
$phone_a
)
!=
11
)
{
$result
[
'msg'
]
=
'本机号码格式错误!'
;
return
$result
;
}
if
(
strlen
(
$phone_b
)
!=
11
)
{
$result
[
'msg'
]
=
'客户手机号码格式错误,请与客方沟通!'
;
return
$result
;
}
...
...
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