Administrator
4 hours ago decc54295e117b082ac0fae89f8578a17271196c
src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
@@ -147,6 +147,46 @@
        return FebsUtil.view("modules/system/lwPayConfig");
    }
    @GetMapping("bsPayConfig")
    @RequiresPermissions("bsPayConfig:update")
    public String bsPayConfig(Model model) {
        BsPayConfigDto dto = new BsPayConfigDto();
        DataDictionaryCustom memberId = dataDictionaryCustomMapper.selectDicDataByTypeAndCode("BSPAY_CONFIG", "MEMBER_ID");
        DataDictionaryCustom secretKey = dataDictionaryCustomMapper.selectDicDataByTypeAndCode("BSPAY_CONFIG", "SECRET_KEY");
        DataDictionaryCustom notifyUrl = dataDictionaryCustomMapper.selectDicDataByTypeAndCode("BSPAY_CONFIG", "NOTIFY_URL");
        DataDictionaryCustom apiBaseUrl = dataDictionaryCustomMapper.selectDicDataByTypeAndCode("BSPAY_CONFIG", "API_BASE_URL");
        if (memberId != null) dto.setMemberId(memberId.getValue());
        if (secretKey != null) dto.setSecretKey(secretKey.getValue());
        if (notifyUrl != null) dto.setNotifyUrl(notifyUrl.getValue());
        if (apiBaseUrl != null) dto.setApiBaseUrl(apiBaseUrl.getValue());
        model.addAttribute("bsPayConfig", dto);
        return FebsUtil.view("modules/system/bsPayConfig");
    }
    @GetMapping("firewallCountryList")
    @RequiresPermissions("firewallCountry:view")
    public String firewallCountryList() {
        return FebsUtil.view("modules/system/firewallCountryList");
    }
    @GetMapping("firewallSiteList")
    @RequiresPermissions("firewallSite:view")
    public String firewallSiteList() {
        return FebsUtil.view("modules/system/firewallSiteList");
    }
    @GetMapping("firewallCountryRuleList")
    @RequiresPermissions("firewallCountryRule:view")
    public String firewallCountryRuleList() {
        return FebsUtil.view("modules/system/firewallCountryRuleList");
    }
    @GetMapping("firewallIpWhiteList")
    @RequiresPermissions("firewallIpWhite:view")
    public String firewallIpWhiteList() {
        return FebsUtil.view("modules/system/firewallIpWhiteList");
    }
    @GetMapping("tokenviewConfig")
    @RequiresPermissions("tokenviewConfig:update")
    public String tokenviewConfig(Model model) {
@@ -194,7 +234,9 @@
    public String payLink(Model model) {
        PayLinkDto dto = new PayLinkDto();
        DataDictionaryCustom xtLink = dataDictionaryCustomMapper.selectDicDataByTypeAndCode("PAY_LINK", "XT_LINK");
        DataDictionaryCustom xtLinkImg = dataDictionaryCustomMapper.selectDicDataByTypeAndCode("PAY_LINK", "XT_LINK_IMG");
        if (xtLink != null) dto.setXtLink(xtLink.getValue());
        if (xtLinkImg != null) dto.setXtLinkImg(xtLinkImg.getValue());
        model.addAttribute("payLink", dto);
        return FebsUtil.view("modules/system/payLink");
    }