Browse Source

出售记录

afa 7 months ago
parent
commit
22118b40b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/common/model/UserBuying.php

+ 1 - 1
application/common/model/UserBuying.php

@@ -44,7 +44,7 @@ class UserBuying  extends Model
     //出售记录
     public static function getCreateUserBuying(int $uid, int $orderId, int $fromId, float $amount)
     {
-        $fee = bcmul(config('app.market_transfer.serve_fee'), $amount, 2);
+        $fee = bcmul(config('market_transfer.serve_fee'), $amount, 2);
         $income = bcsub($amount, $fee, 2);
         self::create([
             'user_id'       => $uid,