|
|
@@ -262,7 +262,6 @@ class OrderService extends BaseService
|
|
|
->select(['id', 'openid','vip_expired', 'member_level', 'status'])
|
|
|
->first();
|
|
|
$userInfo = $userInfo?$userInfo->toArray() : [];
|
|
|
- var_dump($userInfo);
|
|
|
$status = isset($userInfo['status']) ? $userInfo['status'] : 0;
|
|
|
$openid = isset($userInfo['openid']) ? $userInfo['openid'] : 0;
|
|
|
$vipExpired = isset($userInfo['vip_expired']) ? $userInfo['vip_expired'] : 0;
|
|
|
@@ -293,8 +292,6 @@ class OrderService extends BaseService
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- var_dump($result);
|
|
|
-
|
|
|
$orderGoods = isset($result['goods']) ? $result['goods'] : [];
|
|
|
$goodsTotal = isset($result['goods_total']) ? $result['goods_total'] : 0; // 商品总价
|
|
|
$orderTotal = isset($result['order_total']) ? $result['order_total'] : 0; // 订单结算金额(折后)
|