@@ -684,6 +684,19 @@
<artifactId>spring-boot-starter-amqp</artifactId>
</dependency>
+ <!-- 百度云短信 -->
+ <dependency>
+ <groupId>com.baidubce</groupId>
+ <artifactId>bce-java-sdk</artifactId>
+ <version>0.10.393</version>
+ </dependency>
+
+ <groupId>com.tencentcloudapi</groupId>
+ <artifactId>tencentcloud-sdk-java-sms</artifactId>
+ <version>3.1.1281</version>
</dependencies>
@@ -9,6 +9,7 @@ import com.aliyun.teautil.models.RuntimeOptions;
import com.ydtech.exception.SystemException;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
+import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
@@ -9,7 +9,7 @@ import lombok.Getter;
public enum SendSmsEnum {
SMS_220650023("SMS_220650023", "山西掌柜鼎科技", "验证码短信"),
- SMS_481735501("SMS_481735501", "晋掌柜", "验证码短信");
+ SMS_496835079("SMS_496835079", "山西掌柜鼎科技", "验证码");
private final String code;
@@ -0,0 +1,17 @@
+package com.ydtech.components.baidu;
+import lombok.Data;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.stereotype.Component;
+@Data
+@Component
+@ConfigurationProperties(prefix = "baiud.api")
+public class BaiduApiProperties {
+ // AccessKeyID
+ private String accessKeyId;
+ // AccessKeySecret
+ private String accessKeySecret;
+}
@@ -0,0 +1,16 @@
+package com.ydtech.components.tencent;
+@ConfigurationProperties(prefix = "tencent.api")
+public class TencentApiProperties {
+ private String appId;
+ private String appSecret;
@@ -488,4 +488,9 @@ jzg:
referrerId: "99140121M09D01001"
lg-ip:
dateServer: http://192.168.0.59:8081/system/record/receiveDistributeServices
- withdrawal: http://192.168.0.59:8081/withdrawal/record/acceptPushWithdrawalData
+ withdrawal: http://192.168.0.59:8081/withdrawal/record/acceptPushWithdrawalData
+#新合伙人配置佣金过期天数
+partner:
+ expireDays: 30
@@ -226,7 +226,7 @@
<!--开发环境:打印控制台-->
- <springProfile name="dev,test,prod,pre">
+ <springProfile name="dev,test,prod,pre,local">
<root level="info">
<appender-ref ref="console"/>
<appender-ref ref="file_console"/>