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