admin
2024-09-27 17caebabf7a6a529b7039c71e21e5a324e31ea20
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
30
31
32
33
34
35
36
package com.taoke.autopay;
 
import com.taoke.autopay.entity.SystemConfigKeyEnum;
import com.taoke.autopay.exception.KeyVerifyException;
import com.taoke.autopay.service.SystemConfigService;
import com.taoke.autopay.utils.MoneyUtil;
import com.taoke.autopay.utils.StringUtil;
import net.sf.json.JSONArray;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
 
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;
 
/**
 * @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);
    }
 
}