|
@@ -107,8 +107,8 @@ class Buy extends Core
|
|
|
$this->data['method']['price'] = $this->data['price'];
|
|
|
$this->data['price'] = 0;
|
|
|
|
|
|
- $this->data['method']['yue'] = $this->shop['price'] - $this->data['price']
|
|
|
- }else {
|
|
|
+ $this->data['method']['yue'] = $this->shop['price'] - $this->data['price'];
|
|
|
+ } else {
|
|
|
$this->data['method']['type'] = 2;
|
|
|
$this->data['method']['price'] = $this->shop['price'];
|
|
|
$this->data['price'] = $this->data['price'] - $this->shop['price'];
|