Commit 090c390d authored by data爬虫-冯 军凯's avatar data爬虫-冯 军凯

明天上线

parent e4334f8d
......@@ -5,26 +5,10 @@
<groupId>cn.quantgroup</groupId>
<artifactId>qg-data-service</artifactId>
<version>1.0.4-SNAPSHOT</version>
<version>1.1.6-SNAPSHOT</version>
<packaging>jar</packaging>
<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>
<dependency>
......@@ -36,7 +20,7 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.46</version>
<version>1.2.35</version>
</dependency>
<dependency>
......@@ -54,7 +38,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.5</version>
<version>3.4</version>
</dependency>
</dependencies>
......@@ -81,6 +65,15 @@
</execution>
</executions>
</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>
</build>
......
......@@ -27,7 +27,7 @@ public class PhoneUtils {
if (StringUtils.startsWith(phoneNo, "86125832")) {
return phoneNo.replaceFirst("86125832", "");
} else if (StringUtils.startsWith(phoneNo, "0086125832")) {
return StringUtils.replaceFirst(phoneNo, "0086125832", "");
return phoneNo.replaceFirst("0086125832", "");
} else if (13 == phoneNo.length() && StringUtils.startsWith(phoneNo, "86")) {
return phoneNo.replaceFirst("86", "");
} else if (13 == phoneNo.length() && StringUtils.startsWith(phoneNo, "001")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment