Compare commits
20 Commits
dev
...
715dd2108e
| Author | SHA1 | Date | |
|---|---|---|---|
| 715dd2108e | |||
| 391686628e | |||
| 09835f490e | |||
| 46a2de73ff | |||
| fc80657dc5 | |||
| 6ccd000785 | |||
| 2be32c4d9f | |||
| 8aea9de61c | |||
| 4164b69aca | |||
| 4414ad9a26 | |||
| db949ace34 | |||
| 68e4571077 | |||
| 1d3eaf451f | |||
| e8ccd78a39 | |||
| 3324865570 | |||
| 9e42d4676a | |||
| 6bb83e186d | |||
| 6923440a89 | |||
| 8d39b4938a | |||
| b40f5cc0c4 |
7
pom.xml
7
pom.xml
@@ -9,11 +9,14 @@
|
|||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<!-- 打包文件名版本信息 -->
|
<!-- 打包文件名版本信息 -->
|
||||||
|
|
||||||
<groupId>com.kimgo</groupId>
|
<groupId>com.kimgo</groupId>
|
||||||
<artifactId>wePush</artifactId>
|
<artifactId>wePush</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.1.3</version>
|
||||||
<name>wePush</name>
|
<name>wePush</name>
|
||||||
<description>wePush</description>
|
<description>Added new function, WeChat notification forwarding</description>
|
||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: prod
|
||||||
@@ -15,6 +15,7 @@ public class QyWeChatAppInfoMapperTest {
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private QyWeChatAppInfoMapper qyWeChatAppInfoMapper;
|
private QyWeChatAppInfoMapper qyWeChatAppInfoMapper;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSelect() {
|
public void testSelect() {
|
||||||
System.out.println(("----- select by id test ------"));
|
System.out.println(("----- select by id test ------"));
|
||||||
@@ -41,12 +42,12 @@ public class QyWeChatAppInfoMapperTest {
|
|||||||
|
|
||||||
System.out.println("Test complete");
|
System.out.println("Test complete");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testAllColum() {
|
public void testAllColum() {
|
||||||
for (int i = 1; i < 12; i++) {
|
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(1);
|
||||||
QyWeChatAppInfo qyWeChatAppInfo = qyWeChatAppInfoMapper.selectById(i);
|
|
||||||
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
|
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
|
||||||
phoneNumberValidation.isValidPhoneNumber(qyWeChatAppInfo.getPhoneNumber());
|
phoneNumberValidation.isValidPhoneNumber(qyWeChatAppInfo.getPhoneNumber());
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ class WeChatMsgTest {
|
|||||||
weChatMsg.setTitle("Example Title");
|
weChatMsg.setTitle("Example Title");
|
||||||
weChatMsg.setSender("Example Sender");
|
weChatMsg.setSender("Example Sender");
|
||||||
weChatMsg.setMessage("Example Message");
|
weChatMsg.setMessage("Example Message");
|
||||||
|
weChatMsg.setCurrentTime("dqdd");
|
||||||
|
|
||||||
assertFalse(weChatMsg.isInvalid(), "WeChatMsg should be valid when all fields are valid.");
|
assertFalse(weChatMsg.isInvalid(), "WeChatMsg should be valid when all fields are valid.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user