更新 SMSService.java
parent
3ebb79170c
commit
4fefc8136f
|
|
@ -19,12 +19,15 @@ import java.io.IOException;
|
|||
public class SMSService {
|
||||
private final Logger logger = LoggerFactory.getLogger(SMSService.class);
|
||||
|
||||
@Autowired
|
||||
private ApiSettingService apiSettingService;
|
||||
@Autowired
|
||||
private TokenService tokenService;
|
||||
@Autowired
|
||||
private QyWeChatURLService qyWeChatURLService;
|
||||
private final ApiSettingService apiSettingService;
|
||||
private final TokenService tokenService;
|
||||
private final QyWeChatURLService qyWeChatURLService;
|
||||
|
||||
public SMSService(ApiSettingService apiSettingService, TokenService tokenService, QyWeChatURLService qyWeChatURLService) {
|
||||
this.apiSettingService = apiSettingService;
|
||||
this.tokenService = tokenService;
|
||||
this.qyWeChatURLService = qyWeChatURLService;
|
||||
}
|
||||
|
||||
public ServerResponseEntity getSMSInfo(String accessToken, SMSInfo smsInfo){
|
||||
String correctAccessToken = tokenService.getApiAccessToken();
|
||||
|
|
|
|||
Loading…
Reference in New Issue