fix: telegram multiple notification issues

This commit is contained in:
Tokumeikoi 2020-09-01 15:41:01 +08:00
parent 31a222f3d8
commit 20911fb669

View File

@ -157,6 +157,7 @@ class OrderController extends Controller
private function handle($tradeNo, $callbackNo)
{
$order = Order::where('trade_no', $tradeNo)->first();
if ($order->status === 1) return true;
if (!$order) {
abort(500, 'order is not found');
}