Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e033f51a
authored
Sep 04, 2020
by
水库浪子
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加单元测试相关配置等
1 parent
33f8a79b
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
9 deletions
linkwe-admin/pom.xml
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCorpAccountController.java
linkwe-common/pom.xml
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeAccessTokenServiceImpl.java
pom.xml
linkwe-admin/pom.xml
View file @
e033f51
...
@@ -74,11 +74,14 @@
...
@@ -74,11 +74,14 @@
</dependency>
</dependency>
<!--企业微信模块-->
<!-- 企业微信模块-->
<!-- <dependency>-->
<dependency>
<!-- <groupId>com.linkwechat</groupId>-->
<groupId>
com.linkwechat
</groupId>
<!-- <artifactId>linkwe-wecom</artifactId>-->
<artifactId>
linkwe-wecom
</artifactId>
<!-- </dependency>-->
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeCorpAccountController.java
View file @
e033f51
...
@@ -24,7 +24,11 @@ import java.util.List;
...
@@ -24,7 +24,11 @@ import java.util.List;
public
class
WeCorpAccountController
extends
BaseController
public
class
WeCorpAccountController
extends
BaseController
{
{
@Autowired
@Autowired
<<<<<<<
Updated
upstream:
linkwe
-
admin
/
src
/
main
/
java
/
com
/
linkwechat
/
web
/
controller
/
wecom
/
WeCorpAccountController
.
java
private
IWeCorpAccountService
weCorpAccountService
;
private
IWeCorpAccountService
weCorpAccountService
;
=======
private
IWeCorpAccountService
wxCorpAccountService
;
>>>>>>>
Stashed
changes:
linkwe
-
admin
/
src
/
main
/
java
/
com
/
linkwechat
/
web
/
controller
/
wecom
/
WxCorpAccountController
.
java
/**
/**
* 查询企业id相关配置列表
* 查询企业id相关配置列表
...
...
linkwe-common/pom.xml
View file @
e033f51
...
@@ -129,6 +129,12 @@
...
@@ -129,6 +129,12 @@
<artifactId>
lombok
</artifactId>
<artifactId>
lombok
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
\ No newline at end of file
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeAccessTokenServiceImpl.java
View file @
e033f51
package
com
.
linkwechat
.
wecom
.
service
.
impl
;
package
com
.
linkwechat
.
wecom
.
service
.
impl
;
import
com.linkwechat.wecom.client.WeAccessTokenClient
;
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.IWeAccessTokenService
;
import
com.linkwechat.wecom.service.IWeCorpAccountService
;
import
com.linkwechat.wecom.service.IWeCorpAccountService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -24,6 +22,7 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
...
@@ -24,6 +22,7 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
@Autowired
@Autowired
private
IWeCorpAccountService
iWxCorpAccountService
;
private
IWeCorpAccountService
iWxCorpAccountService
;
@Autowired
@Autowired
private
RedisTemplate
redisTemplate
;
private
RedisTemplate
redisTemplate
;
...
@@ -47,6 +46,8 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
...
@@ -47,6 +46,8 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
// }
// }
}
}
...
...
pom.xml
View file @
e033f51
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
<description>
若依管理系统
</description>
<description>
若依管理系统
</description>
<properties>
<properties>
<springboot.vaerion>
2.1.1.RELEASE
</springboot.vaerion>
<linkwe.version>
3.1.0
</linkwe.version>
<linkwe.version>
3.1.0
</linkwe.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
...
@@ -42,7 +43,7 @@
...
@@ -42,7 +43,7 @@
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-dependencies
</artifactId>
<artifactId>
spring-boot-dependencies
</artifactId>
<version>
2.1.1.RELEASE
</version>
<version>
${springboot.vaerion}
</version>
<type>
pom
</type>
<type>
pom
</type>
<scope>
import
</scope>
<scope>
import
</scope>
</dependency>
</dependency>
...
@@ -204,7 +205,12 @@
...
@@ -204,7 +205,12 @@
<version>
${lombok.version}
</version>
<version>
${lombok.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<version>
${springboot.vaerion}
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
</dependencies>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment