MCPcopy Create free account
hub / github.com/C-176/LeoBlog-back / BaseConfig

Class BaseConfig

src/main/java/com/chen/LeoBlog/config/BaseConfig.java:8–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import org.springframework.context.annotation.Configuration;
7
8@Configuration
9public class BaseConfig {
10 @Value("${yuapi.client.access-key}")
11 String accessKey;
12
13 @Value("${yuapi.client.secret-key}")
14 String secretKey;
15
16 @Bean
17 public YuCongMingClient yuCongMingClient() {
18 return new YuCongMingClient(accessKey, secretKey);
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected