改进 扣费
This commit is contained in:
parent
521fd538da
commit
3035a57301
@ -114,7 +114,7 @@ public function cost($price = null)
|
||||
]);
|
||||
}
|
||||
|
||||
$this->price = (string)($this->price);
|
||||
$this->price = intval(log10(abs($this->price)) / 3);;
|
||||
|
||||
Cache::decrement($cache_key, $this->price);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user