修改渠道
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user