java110
2021-11-30 7eb2066056dc9a0f7ed459a5672e4fdb1ec1890c
service-acct/src/main/java/com/java110/acct/cmd/payment/QrCodePaymentCmd.java
@@ -60,13 +60,14 @@
        }
        logger.debug("适配器返回结果:" + resultVo.toString());
        if (ResultVo.CODE_OK != resultVo.getCode()) {
            reqJson.put("orderId", orderId);
            cmdDataFlowContext.setResponseEntity(ResultVo.error(resultVo.getMsg(), reqJson));
            return;
        }
        String appId = cmdDataFlowContext.getReqHeaders().get(CommonConstant.APP_ID);
        String userId = cmdDataFlowContext.getReqHeaders().get(CommonConstant.USER_ID);
        JSONObject paramOut = CallApiServiceFactory.postForApi(appId, reqJson, "fee.payFee", JSONObject.class, userId);
        cmdDataFlowContext.setResponseEntity(new ResponseEntity(paramOut.toJSONString(), HttpStatus.OK));
        cmdDataFlowContext.setResponseEntity(ResultVo.createResponseEntity(paramOut));
    }
}