Commit e033f51a by 水库浪子

添加单元测试相关配置等

1 parent 33f8a79b
......@@ -74,11 +74,14 @@
</dependency>
<!--企业微信模块-->
<!-- <dependency>-->
<!-- <groupId>com.linkwechat</groupId>-->
<!-- <artifactId>linkwe-wecom</artifactId>-->
<!-- </dependency>-->
<!-- 企业微信模块-->
<dependency>
<groupId>com.linkwechat</groupId>
<artifactId>linkwe-wecom</artifactId>
</dependency>
</dependencies>
<build>
......
......@@ -24,7 +24,11 @@ import java.util.List;
public class WeCorpAccountController extends BaseController
{
@Autowired
<<<<<<< Updated upstream:linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCorpAccountController.java
private IWeCorpAccountService weCorpAccountService;
=======
private IWeCorpAccountService wxCorpAccountService;
>>>>>>> Stashed changes:linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WxCorpAccountController.java
/**
* 查询企业id相关配置列表
......
......@@ -129,6 +129,12 @@
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package com.linkwechat.wecom.service.impl;
import com.linkwechat.wecom.client.WeAccessTokenClient;
import com.linkwechat.wecom.domain.dto.WeAccessTokenDtoDto;
import com.linkwechat.wecom.domain.WeCorpAccount;
import com.linkwechat.wecom.service.IWeAccessTokenService;
import com.linkwechat.wecom.service.IWeCorpAccountService;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -24,6 +22,7 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
@Autowired
private IWeCorpAccountService iWxCorpAccountService;
@Autowired
private RedisTemplate redisTemplate;
......@@ -47,6 +46,8 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
// }
}
......
......@@ -13,6 +13,7 @@
<description>若依管理系统</description>
<properties>
<springboot.vaerion>2.1.1.RELEASE</springboot.vaerion>
<linkwe.version>3.1.0</linkwe.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
......@@ -42,7 +43,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.1.1.RELEASE</version>
<version>${springboot.vaerion}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
......@@ -204,7 +205,12 @@
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${springboot.vaerion}</version>
<scope>test</scope>
</dependency>
</dependencies>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!