更新 QyWeChatURLService.java
parent
5f8f281bec
commit
b9c55d3928
|
|
@ -14,13 +14,16 @@ import org.springframework.stereotype.Service;
|
||||||
@Service
|
@Service
|
||||||
public class QyWeChatURLService {
|
public class QyWeChatURLService {
|
||||||
private final Logger logger = LoggerFactory.getLogger(QyWeChatURLService.class);
|
private final Logger logger = LoggerFactory.getLogger(QyWeChatURLService.class);
|
||||||
@Autowired
|
private final QyWeChatURLMapper qyWeChatURLMapper;
|
||||||
private QyWeChatURLMapper qyWeChatURLMapper;
|
private final UserConfig userConfig;
|
||||||
@Autowired
|
|
||||||
private UserConfig userConfig;
|
|
||||||
private String sendTextCardMessageUrl;
|
private String sendTextCardMessageUrl;
|
||||||
private String qyWechatGetTokenUrl;
|
private String qyWechatGetTokenUrl;
|
||||||
|
|
||||||
|
public QyWeChatURLService(QyWeChatURLMapper qyWeChatURLMapper, UserConfig userConfig) {
|
||||||
|
this.qyWeChatURLMapper = qyWeChatURLMapper;
|
||||||
|
this.userConfig = userConfig;
|
||||||
|
}
|
||||||
|
|
||||||
public String getSendTextCardMessageUrl() {
|
public String getSendTextCardMessageUrl() {
|
||||||
if (sendTextCardMessageUrl == null){
|
if (sendTextCardMessageUrl == null){
|
||||||
queryURL();
|
queryURL();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue