Commit a7187fb8 authored by wujipeng's avatar wujipeng
Browse files

阿里云密钥修改

parent eba69a41
...@@ -28,6 +28,7 @@ public class SmsTask { ...@@ -28,6 +28,7 @@ public class SmsTask {
* 每十五分钟执行一次 * 每十五分钟执行一次
*/ */
@Scheduled(cron = "0 */15 * * * ?") @Scheduled(cron = "0 */15 * * * ?")
// @Scheduled(fixedRate = 10000)
public void projectRemind() { public void projectRemind() {
//查询最新的一条数据 //查询最新的一条数据
SmsInformEntity smsInformEntity = smsInformService SmsInformEntity smsInformEntity = smsInformService
......
...@@ -19,9 +19,9 @@ public class SmsUtil { ...@@ -19,9 +19,9 @@ public class SmsUtil {
DefaultProfile profile = DefaultProfile.getProfile( DefaultProfile profile = DefaultProfile.getProfile(
"cn-hangzhou", "cn-hangzhou",
//accessKeyId //accessKeyId
"LTAI5tENboKK5bcuqHfPvEdr", "LTAI5t9ynUemSWiT8rTgg1uh",
//accessSecret //accessSecret
"Q006EvMzC63i1ozDiVNxEAxo8eH9zA"); "biWNg6CI2EEwhXfsTmj4NZuxaWLnaf");
IAcsClient client = new DefaultAcsClient(profile); IAcsClient client = new DefaultAcsClient(profile);
CommonRequest request = new CommonRequest(); CommonRequest request = new CommonRequest();
request.setMethod(MethodType.POST); request.setMethod(MethodType.POST);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment