彭俊 6 år sedan
förälder
incheckning
0568845c1e
2 ändrade filer med 2 tillägg och 3 borttagningar
  1. 2 2
      Biz/Account/AccountManager.php
  2. 0 1
      Biz/Account/Repository/AccountRepository.php

+ 2 - 2
Biz/Account/AccountManager.php

@@ -20,7 +20,7 @@ class AccountManager {
     public function __construct() {
         $this->model = lm('account', 'Commons');
         echo 1;
-        $this->repository = new AccountRepository();
+//        $this->repository = new AccountRepository();
         echo 2;
     }
 
@@ -33,7 +33,7 @@ class AccountManager {
      */
     public function login($account, $password) {
 
-        echo 3;exit;
+        echo 3;
         $password = trim($password);
         $account = strtolower(trim($account));
         define("OVERTIME", 1800);

+ 0 - 1
Biz/Account/Repository/AccountRepository.php

@@ -14,7 +14,6 @@ class AccountRepository {
     private $tokenManager;
 
     public function __construct() {
-        echo 4;
         $this->tokenManager = new TokenManager();
     }