Commit ff15fa2974102266542744344993842ac8091986
1 parent
7738fe37
ci(trash-common): 新增pom依赖
Showing
3 changed files
with
19 additions
and
19 deletions
trash-common/pom.xml
| @@ -16,11 +16,7 @@ | @@ -16,11 +16,7 @@ | ||
| 16 | </description> | 16 | </description> |
| 17 | 17 | ||
| 18 | <dependencies> | 18 | <dependencies> |
| 19 | - <dependency> | ||
| 20 | - <groupId>com.aliyun</groupId> | ||
| 21 | - <artifactId>aliyun-java-sdk-core</artifactId> | ||
| 22 | - <version>4.5.16</version> | ||
| 23 | - </dependency> | 19 | + |
| 24 | <dependency> | 20 | <dependency> |
| 25 | <groupId>com.aliyun</groupId> | 21 | <groupId>com.aliyun</groupId> |
| 26 | <artifactId>aliyun-java-sdk-dysmsapi</artifactId> | 22 | <artifactId>aliyun-java-sdk-dysmsapi</artifactId> |
| @@ -31,7 +27,11 @@ | @@ -31,7 +27,11 @@ | ||
| 31 | <groupId>org.springframework</groupId> | 27 | <groupId>org.springframework</groupId> |
| 32 | <artifactId>spring-context-support</artifactId> | 28 | <artifactId>spring-context-support</artifactId> |
| 33 | </dependency> | 29 | </dependency> |
| 34 | - | 30 | + <dependency> |
| 31 | + <groupId>com.aliyun</groupId> | ||
| 32 | + <artifactId>aliyun-java-sdk-core</artifactId> | ||
| 33 | + <version>4.5.16</version> | ||
| 34 | + </dependency> | ||
| 35 | <!-- SpringWeb模块 --> | 35 | <!-- SpringWeb模块 --> |
| 36 | <dependency> | 36 | <dependency> |
| 37 | <groupId>org.springframework</groupId> | 37 | <groupId>org.springframework</groupId> |
trash-common/src/main/java/com/trash/common/utils/util/SmsConf.java
| @@ -3,16 +3,16 @@ package com.trash.common.utils.util; | @@ -3,16 +3,16 @@ package com.trash.common.utils.util; | ||
| 3 | import java.util.Calendar; | 3 | import java.util.Calendar; |
| 4 | 4 | ||
| 5 | public class SmsConf { | 5 | public class SmsConf { |
| 6 | - //基础地址 请参文档填写 | ||
| 7 | - public static String smsSendUrl = "http://172.31.253.178:5050/ims/sms/sendSms";//发送地址 | ||
| 8 | - public static String queyrbalanceUrl = "http://172.31.253.178:5050/ims/sms/queryBalance";//查询发送能力地址 | ||
| 9 | - public static String smsMoUrl = "http://172.31.253.178:9090/ims/sms/queryMo";//取上行地址 | ||
| 10 | - public static String smsRptUrl = "http://172.31.253.178:9090/ims/sms/queryRpt";//取回执地址 | ||
| 11 | - public static String smsUserName="账户名";//账户名 | ||
| 12 | - public static String smsPasswd="账号密码";//账号密码 | 6 | + //鍩虹鍦板潃 璇峰弬鏂囨。濉啓 |
| 7 | + public static String smsSendUrl = "http://172.31.253.178:5050/ims/sms/sendSms";//鍙戦佸湴鍧 | ||
| 8 | + public static String queyrbalanceUrl = "http://172.31.253.178:5050/ims/sms/queryBalance";//鏌ヨ鍙戦佽兘鍔涘湴鍧 | ||
| 9 | + public static String smsMoUrl = "http://172.31.253.178:9090/ims/sms/queryMo";//鍙栦笂琛屽湴鍧 | ||
| 10 | + public static String smsRptUrl = "http://172.31.253.178:9090/ims/sms/queryRpt";//鍙栧洖鎵у湴鍧 | ||
| 11 | + public static String smsUserName="璐︽埛鍚";//璐︽埛鍚 | ||
| 12 | + public static String smsPasswd="璐﹀彿瀵嗙爜";//璐﹀彿瀵嗙爜 | ||
| 13 | 13 | ||
| 14 | 14 | ||
| 15 | - | 15 | + |
| 16 | public static String getSysTime() { | 16 | public static String getSysTime() { |
| 17 | Calendar now = Calendar.getInstance(); | 17 | Calendar now = Calendar.getInstance(); |
| 18 | String year = Integer.toString(now.get(Calendar.YEAR)); | 18 | String year = Integer.toString(now.get(Calendar.YEAR)); |
trash-garbage/pom.xml
| @@ -21,17 +21,17 @@ | @@ -21,17 +21,17 @@ | ||
| 21 | <!-- <artifactId>trash-common</artifactId>--> | 21 | <!-- <artifactId>trash-common</artifactId>--> |
| 22 | <!-- </dependency>--> | 22 | <!-- </dependency>--> |
| 23 | 23 | ||
| 24 | - <dependency> | ||
| 25 | - <groupId>com.trash</groupId> | ||
| 26 | - <artifactId>trash-framework</artifactId> | ||
| 27 | - </dependency> | 24 | + |
| 28 | <!--二维码扫描工具包--> | 25 | <!--二维码扫描工具包--> |
| 29 | <dependency> | 26 | <dependency> |
| 30 | <groupId>com.google.zxing</groupId> | 27 | <groupId>com.google.zxing</groupId> |
| 31 | <artifactId>core</artifactId> | 28 | <artifactId>core</artifactId> |
| 32 | <version>3.3.0</version> | 29 | <version>3.3.0</version> |
| 33 | </dependency> | 30 | </dependency> |
| 34 | - | 31 | + <dependency> |
| 32 | + <groupId>com.trash</groupId> | ||
| 33 | + <artifactId>trash-framework</artifactId> | ||
| 34 | + </dependency> | ||
| 35 | <dependency> | 35 | <dependency> |
| 36 | <groupId>org.projectlombok</groupId> | 36 | <groupId>org.projectlombok</groupId> |
| 37 | <artifactId>lombok</artifactId> | 37 | <artifactId>lombok</artifactId> |