소스 검색

出售记录

afa 7 달 전
부모
커밋
22118b40b0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,