|
@@ -543,6 +543,10 @@ public class WorkerLogic {
|
|
|
|
|
|
PolicyOrder policyOrder = policyOrderService.getById(policyOrderId);
|
|
|
|
|
|
+ if (DateUtil.offsetMinute(policyOrder.getCreateTime(),5).before(new Date())){
|
|
|
+ throw new RemoteServiceException("订单超过五分钟支付时间,请刷新重新购买");
|
|
|
+ }
|
|
|
+
|
|
|
AdminWebsit adminWebsit = adminWebsitService.getById(policyOrder.getWebsitId());
|
|
|
|
|
|
if (StringUtil.isEmpty(adminWebsit.getPayWorkerCodeId()))
|