Commit a0204d4a by 周晓航

修改sdk调用使用

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 03eede3e
...@@ -143,7 +143,7 @@ public class WeChatLiveMsgHandle { ...@@ -143,7 +143,7 @@ public class WeChatLiveMsgHandle {
accessToken = this.refreshAccessToken(createPrepayRequestDto.getWxAppId(), createPrepayRequestDto.getPartnerId()); accessToken = this.refreshAccessToken(createPrepayRequestDto.getWxAppId(), createPrepayRequestDto.getPartnerId());
WeChatBaseResponse<OrderCreateResponseVO> agResponse = weChatClient.orderApply(accessToken, requestVO, WeChatConstant.OrderMethod.ORDER_ADD); WeChatBaseResponse<OrderCreateResponseVO> agResponse = weChatClient.orderApply(accessToken, requestVO, WeChatConstant.OrderMethod.ORDER_ADD);
if (weChatBaseResponse == null) { if (agResponse == null) {
// 调用失败 // 调用失败
return ResponseUtil.error(ResponseResult.SYSTEM_BUSINESS_ERROR.getCode(), "错误码" + ResponseResult.SYSTEM_BUSINESS_ERROR.getCode() + ",创建视频号订单异常,请稍后再试。"); return ResponseUtil.error(ResponseResult.SYSTEM_BUSINESS_ERROR.getCode(), "错误码" + ResponseResult.SYSTEM_BUSINESS_ERROR.getCode() + ",创建视频号订单异常,请稍后再试。");
} }
......
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