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