This commit is contained in:
root 2019-11-04 13:47:12 +08:00
parent 4d75f5a7f2
commit b4a7b20159

View File

@ -32,6 +32,7 @@ class OrderController extends Controller
die('SUCCESS');
}
$order->status = 1;
$order->callback_no = $_POST['trade_no'];
if (!$order->save()) {
abort(500, 'ERROR');
}