修改渠道

This commit is contained in:
liaozetao
2024-01-06 16:33:09 +08:00
parent 32b56cc66b
commit 71e3589f10

View File

@@ -70,10 +70,10 @@ public class ChargeRecordController extends BaseController {
if (chargeRecord == null) {
return BusiResult.fail("儲值失敗");
}
String paymentType = chargeRecord.getPaymentType();
String channel = chargeRecord.getChannel();
String metadata = chargeRecord.getMetadata();
if (StrUtil.isNotEmpty(metadata)) {
if (Constant.ChargeChannel.my_card.equals(paymentType)) {
if (Constant.ChargeChannel.my_card.equals(channel)) {
AuthGlobalResp authGlobalResp = JSONObject.parseObject(metadata, AuthGlobalResp.class);
if (!authGlobalResp.isSuccess()) {
return BusiResult.fail(authGlobalResp.getReturnMsg());