比如说
这个链接是访问到登录页面的,在浏览器地址栏中输入http://localhost/项目名称/public/index.php/admin/auth/login,get方式
然后同样的点击登录也是这个请求,post方式,但是点击登录后发现请求的地址变为了
http://localhost/admin/auth/login
请各位大佬施以援手
比如说
这个链接是访问到登录页面的,在浏览器地址栏中输入http://localhost/项目名称/public/index.php/admin/auth/login,get方式
然后同样的点击登录也是这个请求,post方式,但是点击登录后发现请求的地址变为了
http://localhost/admin/auth/login
请各位大佬施以援手
你把url写成http://localhost/项目名称/public/index.php/admin/auth/login