|
@@ -78,7 +78,7 @@ public class AppPayController extends BaseController {
|
|
if (null == orderInfo) {
|
|
if (null == orderInfo) {
|
|
return Result.failure("订单不存在");
|
|
return Result.failure("订单不存在");
|
|
}
|
|
}
|
|
- if(null != orderInfo.getStatus() && OrderPayStatusEnum.PAY_SUCCESS.getStatus().compareTo(orderInfo.getPayStatus()) == 0){
|
|
|
|
|
|
+ if(null != orderInfo.getPayStatus() && OrderPayStatusEnum.PAY_SUCCESS.getStatus().compareTo(orderInfo.getPayStatus()) == 0){
|
|
return Result.failure("订单已经支付过了,无需重复支付");
|
|
return Result.failure("订单已经支付过了,无需重复支付");
|
|
}
|
|
}
|
|
String nonceStr = DataUtils.getRandomString(32);
|
|
String nonceStr = DataUtils.getRandomString(32);
|