wesmiler 1 năm trước cách đây
mục cha
commit
796bc6ddc4
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)) {