Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
f5e8b9b0
Commit
f5e8b9b0
authored
Sep 28, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手机号
parent
a2909f70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gsb-marketplat/app/base/service/impl/media/needinfoSve.js
+1
-1
No files found.
gsb-marketplat/app/base/service/impl/media/needinfoSve.js
View file @
f5e8b9b0
...
@@ -47,7 +47,7 @@ class NeedinfoService extends ServiceBase {
...
@@ -47,7 +47,7 @@ class NeedinfoService extends ServiceBase {
return
system
.
getResultFail
(
-
107
,
"联系电话不能为空!"
)
return
system
.
getResultFail
(
-
107
,
"联系电话不能为空!"
)
}
}
var
reg
=
/^
(((
13
[
0-9
]{1})
|
(
15
[
0-9
]{1})
|
(
18
[
0-9
]{1})
|
(
14
[
0-9
]{1})
|
)
+
\d{8})
$/
;
var
reg
=
/^
(((
13
[
0-9
]{1})
|
(
15
[
0-9
]{1})
|
(
18
[
0-9
]{1})
|
(
14
[
0-9
]{1})
|
)
+
\d{8})
$/
;
if
(
ab
.
contact_mobile
.
length
!=
11
||
!
reg
.
test
(
ab
.
contact_mobile
)
){
if
(
ab
.
contact_mobile
.
length
!=
11
){
return
system
.
getResultFail
(
-
108
,
"联系电话格式错误!"
)
return
system
.
getResultFail
(
-
108
,
"联系电话格式错误!"
)
}
}
var
channel
=
await
this
.
launchchannelDao
.
model
.
findOne
({
var
channel
=
await
this
.
launchchannelDao
.
model
.
findOne
({
...
...
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