Administrator
11 hours ago 9dfd9506d0743a22d404046ffe7cda6081404a8a
src/main/java/cc/mrbird/febs/mall/controller/ViewSystemController.java
@@ -188,4 +188,16 @@
    public String moneyChange() {
        return FebsUtil.view("modules/system/moneyChange");
    }
    @GetMapping("payLink")
    @RequiresPermissions("payLink:update")
    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");
    }
}