|
@@ -143,11 +143,6 @@ class OrderService
|
|
|
if (!$orderRes['status']) {
|
|
|
throw new Exception($orderRes['msg']);
|
|
|
}
|
|
|
- $orderId = isset($orderRes['data']['order_id']) ? $orderRes['data']['order_id'] : 0;
|
|
|
- $wallet_rs = model('walletcompany')->lockChangeAccountRemain($companyId,'money',$package['price'],207,'购买套餐订单','order',$orderId);
|
|
|
- if($wallet_rs['status'] === false){
|
|
|
- throw new Exception($wallet_rs['msg']);
|
|
|
- }
|
|
|
//更新支付状态
|
|
|
$payOrderData['order_status'] = 1;
|
|
|
$payOrderWhere['id'] = $payOrderId;
|