Browse Source

增加登录方法

sandm 2 năm trước cách đây
mục cha
commit
d73af968f3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/index/controller/Auth.php

+ 1 - 1
app/index/controller/Auth.php

@@ -191,7 +191,7 @@ class Auth extends BaseController {
                 ]);
                 break;
             case 2:
-                $user = Db::table("new_enterprise")->where("id", $id)->findOrEmpty();
+                $user = Db::table("un_enterprise")->where("id", $id)->findOrEmpty();
                 session("user", [
                     "uid" => $user["id"],
                     "account" => $user["username"],