namespace app\index\Controller;
use app\index\Controller\Base;
use think\Request;
use app\index\model\User 作為 UserModel ;
class User 擴充Base
{
public function login()
{
return $this-> view ->fetch();
}
# public function checklogin(Request $request)
//資料表查詢,回傳模型物件
$user = UserModel::get($map);
$result = '沒有該用戶,請檢查';
} else {
&n