|
@@ -131,7 +131,7 @@ class Buy extends Core
|
|
|
} else {
|
|
|
$this->data['wallet']['type'] = 2;
|
|
|
$this->data['wallet']['price'] = $this->shop['price'];
|
|
|
- $this->data['price'] = $this->data['price'] - $this->shop['price'];
|
|
|
+ $this->data['price'] = round($this->data['price'] - $this->shop['price'],2);
|
|
|
$this->data['wallet']['yue'] = 0;
|
|
|
}
|
|
|
}
|