| | |
| | | return new FebsResponse().success().data(objects); |
| | | } |
| | | |
| | | @Override |
| | | public FebsResponse createOrderByXtPay() { |
| | | |
| | | DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode( |
| | | "PAY_LINK", "XT_LINK" |
| | | ); |
| | | if (ObjectUtil.isEmpty(dataDictionaryCustom)){ |
| | | return new FebsResponse().fail().message("Payment channel exception"); |
| | | } |
| | | if (StrUtil.isEmpty(dataDictionaryCustom.getValue())){ |
| | | return new FebsResponse().fail().message("Payment channel exception"); |
| | | } |
| | | return new FebsResponse().success().data(dataDictionaryCustom.getValue()); |
| | | } |
| | | |
| | | } |