更新 QyWeChatURLService.java
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user