admin
2024-06-30 b6fdf185c7e8fb1f06da0e609e39aecaef6b66f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.taoke.autopay;
 
import com.taoke.autopay.entity.SystemConfigKeyEnum;
import com.taoke.autopay.service.SystemConfigService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
 
import javax.annotation.Resource;
 
/**
 * @author hxh
 * @title: SystemConfigTests
 * @description: TODO
 * @date 2024/6/30 0:19
 */
 
@SpringBootTest
public class SystemConfigTests {
 
    @Resource
    private SystemConfigService systemConfigService;
 
    @Test
    public void testGet() {
        String redictLink = systemConfigService.getValueCache(SystemConfigKeyEnum.WX_REDIRECT_LINK);
        System.out.println(redictLink);
    }
 
}