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
94ebbd76
Commit
94ebbd76
authored
Aug 02, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增和编辑验证客户手机号
parent
9b2e2055
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Client.php
application/api_broker/controller/Client.php
+3
-0
Users.php
application/model/Users.php
+3
-0
No files found.
application/api_broker/controller/Client.php
View file @
94ebbd76
...
...
@@ -98,6 +98,9 @@ class Client extends Basic
case
-
3
:
$this
->
code
=
101
;
$this
->
msg
=
'没有新增VIP权限'
;
break
;
case
-
4
:
$this
->
code
=
101
;
$this
->
msg
=
'客户信息错误,请检查!'
;
break
;
}
}
else
{
...
...
application/model/Users.php
View file @
94ebbd76
...
...
@@ -249,6 +249,9 @@ class Users extends Model
$insert_data
[
'user_nick'
]
=
$data
[
'user_nick'
];
}
if
(
!
empty
(
$data
[
'user_phone'
])
&&
$id
==
0
)
{
if
(
strlen
(
$data
[
'user_phone'
])
!=
11
)
{
return
-
4
;
}
$insert_data
[
'user_phone'
]
=
$data
[
'user_phone'
];
}
if
(
!
empty
(
$data
[
'sex'
]))
{
...
...
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