After clicking to log in, it still prompts that the verification code is wrong, but the verification code is correct. Is it because the database is not connected?
致明
致明 2019-09-26 22:28:49
0
2
1198

<?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 {
                                                     

致明
致明

reply all(2)
致明

Can you please help me point it out? Thank you.

血脉仙境

jrhhy Are you sure you got it right? ? ? ?


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template