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
ee018bbb
Commit
ee018bbb
authored
Feb 28, 2025
by
wujipeng
Browse files
修改为读取配置文件
parent
d4f2d24b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/ruzhoukj/sms/ding/PermissionConfig.java
View file @
ee018bbb
...
...
@@ -17,11 +17,11 @@ import org.springframework.context.annotation.Configuration;
@Configuration
public
class
PermissionConfig
{
//
@Value("ding.key")
private
String
key
=
"dingatpypxs4jlryvh85"
;
@Value
(
"ding.key"
)
private
String
key
;
//
@Value("ding.secret")
private
String
secret
=
"_GVhUwb1bX3_tEAuIMxbD9LIsJsTGlzpUvBroG83_NPt3nxbL4jzbBAPkd_dijD6"
;
@Value
(
"ding.secret"
)
private
String
secret
;
public
String
getAccessToken
()
{
try
{
...
...
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