perf:调整依赖

This commit is contained in:
曾文豪
2023-01-10 15:31:33 +08:00
parent 6e67f5cbe0
commit 2a0b99c9da
10 changed files with 52 additions and 59 deletions

View File

@@ -28,12 +28,12 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>tea-openapi</artifactId>
<scope>compile</scope>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>dysmsapi20170525</artifactId>
<scope>compile</scope>
<scope>provided</scope>
</dependency>
</dependencies>

View File

@@ -9,6 +9,7 @@ import com.aliyun.teaopenapi.models.Config;
import com.tiesheng.message.pojos.MessageReqResp;
import com.tiesheng.message.service.TieshengMessageConfigurer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
@@ -19,6 +20,7 @@ import java.util.Objects;
*/
@Configuration
@ConfigurationProperties(prefix = "tiesheng.aliyun")
@ConditionalOnClass(SendSmsResponse.class)
public class AliyunSmsConfig {
@Autowired