|
@@ -142,7 +142,6 @@ public class RechargeRecordApiController {
|
|
|
.createTime(now)
|
|
|
.build();
|
|
|
rechargeRecordService.save(rechargeRecord);
|
|
|
- // TODO 发起第三方支付
|
|
|
// 获取渠道编码
|
|
|
String channelCode;
|
|
|
if (methodId == 1) {
|
|
@@ -198,7 +197,7 @@ public class RechargeRecordApiController {
|
|
|
throw new ServiceException("创建支付单失败");
|
|
|
}
|
|
|
|
|
|
- return Result.success(CreatePayVO.builder().orderNo("orderNo").payUrl(payUrl).build());
|
|
|
+ return Result.success(CreatePayVO.builder().orderNo(orderNo).payUrl(payUrl).build());
|
|
|
} catch (Exception e) {
|
|
|
log.error("新增对象操作异常e:{}", e);
|
|
|
return ResultGenerator.genFailResult(ResultCode.INTERNAL_SERVER_ERROR);
|