Commit 03eede3e by 周晓航

修改sdk调用使用

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 6f81e3a1
......@@ -115,7 +115,7 @@ public class WeChatLiveMsgHandle {
*/
public BaseResponse reportOrder(CreatePrepayRequestDto createPrepayRequestDto,
CreateOrderResponseVo prepayOrder, String scene, String productPath) {
AppLogUtil.printLog("视频直播订单-参数组装", JSON.toJSONString(createPrepayRequestDto), JSON.toJSONString(prepayOrder));
// 组装 request
OrderCreateRequestVO requestVO = this.getOrderCreateRequest(createPrepayRequestDto, prepayOrder, scene, productPath);
......@@ -246,7 +246,7 @@ public class WeChatLiveMsgHandle {
// payinfo
OrderCreateRequestVO.PayInfo payInfo = new OrderCreateRequestVO.PayInfo();
payInfo.setPay_method_type(0);
payInfo.setPrepay_id(prepayOrder.getPayId());
payInfo.setPrepay_id(prepayOrder.getPackageX());
String gmtCreate = prepayOrder.getTimestamp();
payInfo.setPrepay_time(DateUtil.convert2Str(new Date(Long.parseLong(gmtCreate + "000")), DateUtil.FORMAT_YYYY_MM_DD_HHMMSS));
detail.setPay_info(payInfo);
......
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