From 9dfd9506d0743a22d404046ffe7cda6081404a8a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 30 Jun 2026 17:09:36 +0800
Subject: [PATCH] feat(order): 添加XT支付功能和确认收款功能
---
src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java
index 07af1ff..e9aee27 100644
--- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java
+++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java
@@ -1008,13 +1008,27 @@
DataDictionaryCustom dataDictionaryCustom = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
"PAY_LINK", "XT_LINK"
);
+
+ DataDictionaryCustom dataDictionaryCustomImg = dataDictionaryCustomMapper.selectDicDataByTypeAndCode(
+ "PAY_LINK", "XT_LINK_IMG"
+ );
if (ObjectUtil.isEmpty(dataDictionaryCustom)){
+ return new FebsResponse().fail().message("Payment channel exception");
+ }
+ if (ObjectUtil.isEmpty(dataDictionaryCustomImg)){
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());
+ if (StrUtil.isEmpty(dataDictionaryCustomImg.getValue())){
+ return new FebsResponse().fail().message("Payment channel exception");
+ }
+
+ Map<String, Object> result = new HashMap<>();
+ result.put("link", dataDictionaryCustom.getValue());
+ result.put("linkImg", dataDictionaryCustomImg.getValue());
+ return new FebsResponse().success().data(result);
}
}
--
Gitblit v1.9.1