wesmiler 1 year ago
parent
commit
796bc6ddc4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/CregisPayService.php

+ 1 - 0
app/Services/CregisPayService.php

@@ -332,6 +332,7 @@ class CregisPayService extends BaseService
 
             try {
                 DB::beginTransaction();
+                $amount = moneyFormat($realAmount, 2);
                 $updateData = ['update_time' => time()];
                 $updateData['usdt'] = DB::raw("usdt + {$amount}");
                 if (!MemberModel::where(['id' => $userId])->update($updateData)) {