|
@@ -194,6 +194,8 @@ class Lave extends Api
|
|
|
$orderInfo = LaveMonthModel::where('order_id', $orderId)->find();
|
|
|
@file_put_contents("quanju.txt", $orderId."-订单id\r\n", 8);
|
|
|
@file_put_contents("quanju.txt", json_encode($orderInfo)."-创建支付订单搜索\r\n", 8);
|
|
|
+ var_dump(!$orderInfo);
|
|
|
+ var_dump(!isset($orderInfo['paid']));die();
|
|
|
if (!$orderInfo || !isset($orderInfo['paid'])) $this->error('支付订单不存在!');
|
|
|
if ($orderInfo['paid']) $this->error('支付已支付!');
|
|
|
|