rabin преди 3 години
родител
ревизия
3701cc4bbe
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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['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'];