| | |
| | | } |
| | | return FebsUtil.view("modules/system/cashOutSetting"); |
| | | } |
| | | |
| | | |
| | | @GetMapping("xcxSetting") |
| | | @RequiresPermissions("xcxSetting:update") |
| | | public String xcxSetting(Model model) { |
| | | String appId = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.XCX_APP_ID.getType(), |
| | | DataDictionaryEnum.XCX_APP_ID.getCode() |
| | | ).getValue(); |
| | | String mchId = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.XCX_MCH_ID.getType(), |
| | | DataDictionaryEnum.XCX_MCH_ID.getCode() |
| | | ).getValue(); |
| | | String mchKey = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.XCX_MCH_KEY.getType(), |
| | | DataDictionaryEnum.XCX_MCH_KEY.getCode() |
| | | ).getValue(); |
| | | String keyPath = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.XCX_MCH_KEY_PATH_P12.getType(), |
| | | DataDictionaryEnum.XCX_MCH_KEY_PATH_P12.getCode() |
| | | ).getValue(); |
| | | String notifyUrl = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | DataDictionaryEnum.XCX_NOTICE_URL.getType(), |
| | | DataDictionaryEnum.XCX_NOTICE_URL.getCode() |
| | | ).getValue(); |
| | | XcxSettingDto xcxSettingDto = new XcxSettingDto(); |
| | | xcxSettingDto.setAppId(appId); |
| | | xcxSettingDto.setMchId(mchId); |
| | | xcxSettingDto.setMchKey(mchKey); |
| | | xcxSettingDto.setKeyPath(keyPath); |
| | | xcxSettingDto.setNotifyUrl(notifyUrl); |
| | | model.addAttribute("xcxSetting", xcxSettingDto); |
| | | return FebsUtil.view("modules/system/xcxSetting"); |
| | | } |
| | | } |