Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-rt-dc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
qg-rt-dc
Commits
090c390d
Commit
090c390d
authored
Jun 03, 2019
by
data爬虫-冯 军凯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
明天上线
parent
e4334f8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
20 deletions
+13
-20
pom.xml
qg-data-service/pom.xml
+12
-19
PhoneUtils.java
...in/java/cn/quantgroup/qgdataservice/utils/PhoneUtils.java
+1
-1
No files found.
qg-data-service/pom.xml
View file @
090c390d
...
@@ -5,26 +5,10 @@
...
@@ -5,26 +5,10 @@
<groupId>
cn.quantgroup
</groupId>
<groupId>
cn.quantgroup
</groupId>
<artifactId>
qg-data-service
</artifactId>
<artifactId>
qg-data-service
</artifactId>
<version>
1.
0.4
-SNAPSHOT
</version>
<version>
1.
1.6
-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
qg-data-service
</name>
<name>
qg-data-service
</name>
<!--<parent>-->
<!--<groupId>cn.quantgroup</groupId>-->
<!--<artifactId>commons-parent</artifactId>-->
<!--<version>0.2.4</version>-->
<!--</parent>-->
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
1.5.8.RELEASE
</version>
</parent>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
...
@@ -36,7 +20,7 @@
...
@@ -36,7 +20,7 @@
<dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<artifactId>
fastjson
</artifactId>
<version>
1.2.
46
</version>
<version>
1.2.
35
</version>
</dependency>
</dependency>
<dependency>
<dependency>
...
@@ -54,7 +38,7 @@
...
@@ -54,7 +38,7 @@
<dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<artifactId>
commons-lang3
</artifactId>
<version>
3.
5
</version>
<version>
3.
4
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
...
@@ -81,6 +65,15 @@
...
@@ -81,6 +65,15 @@
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.3
</version>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
</configuration>
</plugin>
</plugins>
</plugins>
</build>
</build>
...
...
qg-data-service/src/main/java/cn/quantgroup/qgdataservice/utils/PhoneUtils.java
View file @
090c390d
...
@@ -27,7 +27,7 @@ public class PhoneUtils {
...
@@ -27,7 +27,7 @@ public class PhoneUtils {
if
(
StringUtils
.
startsWith
(
phoneNo
,
"86125832"
))
{
if
(
StringUtils
.
startsWith
(
phoneNo
,
"86125832"
))
{
return
phoneNo
.
replaceFirst
(
"86125832"
,
""
);
return
phoneNo
.
replaceFirst
(
"86125832"
,
""
);
}
else
if
(
StringUtils
.
startsWith
(
phoneNo
,
"0086125832"
))
{
}
else
if
(
StringUtils
.
startsWith
(
phoneNo
,
"0086125832"
))
{
return
StringUtils
.
replaceFirst
(
phoneNo
,
"0086125832"
,
""
);
return
phoneNo
.
replaceFirst
(
"0086125832"
,
""
);
}
else
if
(
13
==
phoneNo
.
length
()
&&
StringUtils
.
startsWith
(
phoneNo
,
"86"
))
{
}
else
if
(
13
==
phoneNo
.
length
()
&&
StringUtils
.
startsWith
(
phoneNo
,
"86"
))
{
return
phoneNo
.
replaceFirst
(
"86"
,
""
);
return
phoneNo
.
replaceFirst
(
"86"
,
""
);
}
else
if
(
13
==
phoneNo
.
length
()
&&
StringUtils
.
startsWith
(
phoneNo
,
"001"
))
{
}
else
if
(
13
==
phoneNo
.
length
()
&&
StringUtils
.
startsWith
(
phoneNo
,
"001"
))
{
...
...
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