Explorar el Código

wesmiler 抢表商城

APPLE hace 3 años
padre
commit
df01d7f208
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      app/Services/Common/LoginService.php
  2. 1 1
      app/Services/Common/TradeService.php

+ 1 - 1
app/Services/Common/LoginService.php

@@ -133,7 +133,7 @@ class LoginService extends BaseService
         }
         }
         // 密码校验
         // 密码校验
         $password = get_password($password . $username);
         $password = get_password($password . $username);
-        //var_dump($password);
+//        var_dump($password);
         if ($password != $info['password']) {
         if ($password != $info['password']) {
             return message("您的登录密码不正确", false);
             return message("您的登录密码不正确", false);
         }
         }

+ 1 - 1
app/Services/Common/TradeService.php

@@ -252,7 +252,7 @@ class TradeService extends BaseService
             $where['status'] = $status;
             $where['status'] = $status;
         }
         }
         return $this->model->where($where)
         return $this->model->where($where)
-            ->sum('price');
+            ->sum('real_price');
     }
     }
 
 
     /**
     /**