|
|
@@ -18,10 +18,10 @@ use Biz\TokenManager;
|
|
|
class AccountManager {
|
|
|
|
|
|
public function __construct() {
|
|
|
- dd(123);
|
|
|
-
|
|
|
$this->model = lm('account', 'Commons');
|
|
|
+ echo 1;
|
|
|
$this->repository = new AccountRepository();
|
|
|
+ echo 2;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -33,6 +33,7 @@ class AccountManager {
|
|
|
*/
|
|
|
public function login($account, $password) {
|
|
|
|
|
|
+ echo 3;exit;
|
|
|
$password = trim($password);
|
|
|
$account = strtolower(trim($account));
|
|
|
define("OVERTIME", 1800);
|