更新 QyWeChatURLService.java
parent
5f8f281bec
commit
b9c55d3928
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue