rabin 3 years ago
parent
commit
3701cc4bbe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/mshop/src/Buy.php

+ 2 - 2
app/mshop/src/Buy.php

@@ -107,8 +107,8 @@ class Buy extends Core
                     $this->data['method']['price'] = $this->data['price'];
                     $this->data['method']['price'] = $this->data['price'];
                     $this->data['price'] = 0;
                     $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']['type'] = 2;
                     $this->data['method']['price'] = $this->shop['price'];
                     $this->data['method']['price'] = $this->shop['price'];
                     $this->data['price'] = $this->data['price'] - $this->shop['price'];
                     $this->data['price'] = $this->data['price'] - $this->shop['price'];