This commit is contained in:
root 2019-10-25 17:35:41 +08:00
parent a53f413521
commit 5f90b80e46
2 changed files with 1 additions and 12 deletions

View File

@ -25,7 +25,7 @@ class OrderController extends Controller
$obj = $event->data->object; $obj = $event->data->object;
if ($obj['status'] == 'succeeded') { if ($obj['status'] == 'succeeded') {
$order = Order::where('callback_no', $obj['id'])->first(); $order = Order::where('callback_no', $obj['source']['id'])->first();
if (!$order) { if (!$order) {
die('ERROR'); die('ERROR');
} }

View File

@ -1,11 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class V2rayUser extends Model
{
protected $table = 'v2_v2ray_user';
protected $dateFormat = 'U';
}