Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
ops
Commits
a7187fb8
Commit
a7187fb8
authored
Oct 11, 2024
by
wujipeng
Browse files
阿里云密钥修改
parent
eba69a41
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/task/SmsTask.java
View file @
a7187fb8
...
...
@@ -28,6 +28,7 @@ public class SmsTask {
* 每十五分钟执行一次
*/
@Scheduled
(
cron
=
"0 */15 * * * ?"
)
// @Scheduled(fixedRate = 10000)
public
void
projectRemind
()
{
//查询最新的一条数据
SmsInformEntity
smsInformEntity
=
smsInformService
...
...
src/main/java/com/ruzhoukj/sms/util/SmsUtil.java
View file @
a7187fb8
...
...
@@ -19,9 +19,9 @@ public class SmsUtil {
DefaultProfile
profile
=
DefaultProfile
.
getProfile
(
"cn-hangzhou"
,
//accessKeyId
"LTAI5t
ENboKK5bcuqHfPvEdr
"
,
"LTAI5t
9ynUemSWiT8rTgg1uh
"
,
//accessSecret
"
Q006EvMzC63i1ozDiVNxEAxo8eH9zA
"
);
"
biWNg6CI2EEwhXfsTmj4NZuxaWLnaf
"
);
IAcsClient
client
=
new
DefaultAcsClient
(
profile
);
CommonRequest
request
=
new
CommonRequest
();
request
.
setMethod
(
MethodType
.
POST
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment