Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
ruer_cms
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蔡闯
ruer_cms
Commits
a91ada19
Commit
a91ada19
authored
Jan 07, 2021
by
蔡闯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020-1-7
parent
b55a73a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
app/common/controller/Common.php
app/common/controller/Common.php
+6
-3
No files found.
app/common/controller/Common.php
View file @
a91ada19
...
...
@@ -199,11 +199,12 @@ class Common extends BaseController
}
$name
=
$dataAll
[
$j
][
1
];
//业主名字
$id_card
=
$dataAll
[
$j
][
2
];
//布局;//身份证id
if
(
!
isCreditNo
(
$id_card
))
{
if
(
$id_card
&&
!
isCreditNo
(
$id_card
))
{
$msg
.=
"身份证id不符合!"
;
}
$phone
=
$dataAll
[
$j
][
3
];
//布局;//手机号
if
(
!
isPhoneNo
(
$phone
))
{
if
(
$phone
&&
!
isPhoneNo
(
$phone
))
{
$msg
.=
"手机号不符合!"
;
}
$area
=
$dataAll
[
$j
][
4
];
//面积
...
...
@@ -245,7 +246,9 @@ class Common extends BaseController
//导入到userbind表中
$bind
[
'type'
]
=
0
;
$bind
[
'status'
]
=
1
;
if
(
$bind
){
Db
::
name
(
'house_user_bind'
)
->
save
(
$bind
);
}
}
else
{
$dataAll
[
$j
][]
=
$msg
;
$errorData
[]
=
$dataAll
[
$j
];
...
...
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