Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
notice-service
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
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
back-end
notice-service
Commits
cfe03d08
Commit
cfe03d08
authored
Apr 20, 2020
by
huangcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release模式下不打包配置文件
parent
15b3848d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
pom.xml
pom.xml
+0
-12
SmsCaptchaUtilsTest.java
...m/esv/freight/notice/common/util/SmsCaptchaUtilsTest.java
+12
-0
No files found.
pom.xml
View file @
cfe03d08
...
@@ -195,18 +195,6 @@
...
@@ -195,18 +195,6 @@
</configuration>
</configuration>
</plugin>
</plugin>
</plugins>
</plugins>
<resources>
<resource>
<directory>
src/main/resources
</directory>
<includes>
<include>
**/*.*
</include>
</includes>
<excludes>
</excludes>
<filtering>
true
</filtering>
</resource>
</resources>
</build>
</build>
</project>
</project>
src/test/java/com/esv/freight/notice/common/util/SmsCaptchaUtilsTest.java
View file @
cfe03d08
package
com
.
esv
.
freight
.
notice
.
common
.
util
;
package
com
.
esv
.
freight
.
notice
.
common
.
util
;
import
com.alibaba.fastjson.JSONObject
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
org.junit.After
;
import
org.junit.After
;
import
org.junit.Assert
;
import
org.junit.Assert
;
import
org.junit.Before
;
import
org.junit.Before
;
...
@@ -30,6 +32,16 @@ public class SmsCaptchaUtilsTest {
...
@@ -30,6 +32,16 @@ public class SmsCaptchaUtilsTest {
log
.
info
(
"=================================== Test End ==================================="
);
log
.
info
(
"=================================== Test End ==================================="
);
}
}
@Test
public
void
test
()
{
log
.
info
(
new
JSONObject
().
getString
(
"abc"
));
log
.
info
(
String
.
valueOf
(
StringUtils
.
isBlank
(
new
JSONObject
().
getString
(
"abc"
))));
log
.
info
(
String
.
valueOf
(
StringUtils
.
isBlank
(
null
)));
log
.
info
(
String
.
valueOf
(
StringUtils
.
isBlank
(
""
)));
log
.
info
(
String
.
valueOf
(
StringUtils
.
isBlank
(
" "
)));
log
.
info
(
String
.
valueOf
(
StringUtils
.
isBlank
(
"abc"
)));
}
/**
/**
* 获取默认长度的短信验证码
* 获取默认长度的短信验证码
**/
**/
...
...
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