<?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 {
Can you please help me point it out? Thank you.
jrhhy Are you sure you got it right? ? ? ?