wesmiler 1 هفته پیش
والد
کامیت
5597310d0a
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      app/Services/Api/BalanceLogService.php

+ 1 - 2
app/Services/Api/BalanceLogService.php

@@ -229,8 +229,7 @@ class BalanceLogService extends BaseService
             ->where('id','>', $buyType)
             ->orderBy('id','asc')
             ->value('price');
-        var_dump($mealPrice);
-        $withdrawQuota = intval($mealPrice/0.27 * 0.73);
+        $withdrawQuota = intval($mealPrice/0.27 * 0.73/100)*100;
         if($money>$withdrawQuota){
             $this->error = "抱歉您的账号可提现额度为:{$withdrawQuota}元";
             RedisService::clear($cacheLockKey);