mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-16 20:15:06 +08:00
增加 pay.html 前端,对接微信 JS SDK
This commit is contained in:
@ -18,7 +18,7 @@ public class PayOrderCreateReqDTO implements Serializable {
|
||||
/**
|
||||
* 应用编号
|
||||
*/
|
||||
@NotEmpty(message = "应用编号不能为空")
|
||||
@NotNull(message = "应用编号不能为空")
|
||||
private Long appId;
|
||||
/**
|
||||
* 用户 IP
|
||||
|
@ -18,6 +18,6 @@ public class PayOrderSubmitRespDTO implements Serializable {
|
||||
/**
|
||||
* 调用支付渠道的响应结果
|
||||
*/
|
||||
private String invokeResponse;
|
||||
private Object invokeResponse;
|
||||
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ public class PayOrderCoreServiceImpl implements PayOrderCoreService {
|
||||
// TODO 轮询三方接口,是否已经支付的任务
|
||||
// 返回成功
|
||||
return new PayOrderSubmitRespDTO().setExtensionId(orderExtension.getId())
|
||||
.setInvokeResponse(JsonUtils.toJsonString(unifiedOrderResult));
|
||||
.setInvokeResponse(unifiedOrderResult.getData());
|
||||
}
|
||||
|
||||
private String generateOrderExtensionNo() {
|
||||
|
Reference in New Issue
Block a user