<?php
namespace app\index\Controller;
use app\index\Controller\Base;
use think\Request;
use app\index\model\User as UserModel;
class User extends Base
{
public function login()
{
return $this-> view ->fetch();
}
public function checklogin(Request $request)
{//初始返回参数
//$status = 0;##
//Data table query, return model object
$user = UserModel::get($map);
// ,Please check';
} else {