记得上下班打卡 | git大法好,push需谨慎

Commit 8403c480 authored by zhengfuxin's avatar zhengfuxin

修改预支付返参

parent f6968b4e
......@@ -63,5 +63,9 @@ public class DragonPayBaseRespDto implements Serializable {
private String redirectUrl;
private String orderStr;
private String orderId;
private String orderToken;
}
}
......@@ -103,7 +103,7 @@ public abstract class AbstractDouYinPayStrategy implements IDouYinpayStrategy {
//成功
respDto = this.buildResponseDto(respDto,result);
//支付订单持久化
// dragonServiceCommonBiz.buildPayOrders(dragonPayBaseReqDto,respDto);
dragonServiceCommonBiz.buildPayOrders(dragonPayBaseReqDto,respDto);
log.info("douYinpay-->dragonPay--> 耗时:{}",(System.currentTimeMillis() - startTimeTotal)+"毫秒");
return ResponseDto.success(respDto);
}else {
......
......@@ -37,7 +37,10 @@ public class DouYinPayStrategyAppletImpl extends AbstractDouYinPayStrategy {
@Override
DragonPayBaseRespDto buildResponseDto(DragonPayBaseRespDto payBaseRespDto, Map result) {
return null;
Map data= (Map) result.get("data");
payBaseRespDto.getPayData().setOrderId(data.get("order_id").toString());
payBaseRespDto.getPayData().setOrderToken(data.get("order_token").toString());
return payBaseRespDto;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment