|
@@ -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);
|