更新 QyWeChatURLService.java
This commit is contained in:
@@ -14,13 +14,16 @@ import org.springframework.stereotype.Service;
|
||||
@Service
|
||||
public class QyWeChatURLService {
|
||||
private final Logger logger = LoggerFactory.getLogger(QyWeChatURLService.class);
|
||||
@Autowired
|
||||
private QyWeChatURLMapper qyWeChatURLMapper;
|
||||
@Autowired
|
||||
private UserConfig userConfig;
|
||||
private final QyWeChatURLMapper qyWeChatURLMapper;
|
||||
private final UserConfig userConfig;
|
||||
private String sendTextCardMessageUrl;
|
||||
private String qyWechatGetTokenUrl;
|
||||
|
||||
public QyWeChatURLService(QyWeChatURLMapper qyWeChatURLMapper, UserConfig userConfig) {
|
||||
this.qyWeChatURLMapper = qyWeChatURLMapper;
|
||||
this.userConfig = userConfig;
|
||||
}
|
||||
|
||||
public String getSendTextCardMessageUrl() {
|
||||
if (sendTextCardMessageUrl == null){
|
||||
queryURL();
|
||||
|
||||
Reference in New Issue
Block a user