Browse Source

提货订单

afa 9 months ago
parent
commit
0df6e2406b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Order.php

+ 1 - 1
application/api/controller/Order.php

@@ -113,7 +113,7 @@ class Order extends Api
             if($order_info->popular_price > config('min_rwa_price')) $userModel::updateForRwaNum($order_info->user_id, $userModel::getByParentId($order_info->user_id), 1, '-');
 
             //扣除运费
-            $ledgerWalletModel->changeWalletAccount($this->auth->parent_id, Asset::TOKEN, $freight, $ledgerWalletModel::Freight, $this->auth->id);
+            $ledgerWalletModel->changeWalletAccount($this->auth->id, Asset::TOKEN, $freight, $ledgerWalletModel::Freight, $this->auth->id);
 
             $order_info->status= $productOrder::Shipped; 
             $order_info->save();