Commit ee018bbb authored by wujipeng's avatar wujipeng
Browse files

修改为读取配置文件

parent d4f2d24b
......@@ -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 {
......
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