|
@@ -192,7 +192,7 @@ class CommonController extends Controller
|
192
|
192
|
$data["comment"] = false;
|
193
|
193
|
}
|
194
|
194
|
// 未支付订单3小时后过期
|
195
|
|
- if($order->status = 0) {
|
|
195
|
+ if($order->status === 0) {
|
196
|
196
|
if(Carbon::now()->subDay(1)->gt($order->created_at)) {
|
197
|
197
|
continue;
|
198
|
198
|
}
|
|
@@ -216,7 +216,7 @@ class CommonController extends Controller
|
216
|
216
|
$data["comment"] = false;
|
217
|
217
|
}
|
218
|
218
|
// 未支付订单3小时后过期
|
219
|
|
- if($order->status = 0) {
|
|
219
|
+ if($order->status === 0) {
|
220
|
220
|
if(Carbon::now()->subDay(1)->gt($order->created_at)) {
|
221
|
221
|
continue;
|
222
|
222
|
}
|