浏览代码

测试登录

彭俊 6 年之前
父节点
当前提交
f049d474a3
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 0 1
      Application/Api/Controller/Account.php
  2. 1 0
      Biz/Account/AccountManager.php

+ 0 - 1
Application/Api/Controller/Account.php

@@ -46,7 +46,6 @@ class Account extends BaseController {
     public function Login() {
         $result = $this->accountManager->login($_POST['account'], $_POST['password']);
 
-        dd($result);
         //$result = $this->accountManager->login('x0053', '123456');
 
         /*if ($result['status'] == 1) {

+ 1 - 0
Biz/Account/AccountManager.php

@@ -31,6 +31,7 @@ class AccountManager {
      */
     public function login($account, $password) {
 
+        dd(123);
         $password = trim($password);
         $account = strtolower(trim($account));
         define("OVERTIME", 1800);