mirror of
https://github.com/v2board/v2board.git
synced 2025-01-31 02:29:14 +08:00
update
This commit is contained in:
parent
a53f413521
commit
5f90b80e46
@ -25,7 +25,7 @@ class OrderController extends Controller
|
||||
|
||||
$obj = $event->data->object;
|
||||
if ($obj['status'] == 'succeeded') {
|
||||
$order = Order::where('callback_no', $obj['id'])->first();
|
||||
$order = Order::where('callback_no', $obj['source']['id'])->first();
|
||||
if (!$order) {
|
||||
die('ERROR');
|
||||
}
|
||||
|
@ -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';
|
||||
}
|
Loading…
Reference in New Issue
Block a user