|
|
@@ -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();
|