导致原因axios格式问题,解决方法
$post = json_decode(file_get_contents("php://input"), true);
// 验证用户名
$username = $post['username'];
$password = $post['password'];```
导致原因axios格式问题,解决方法
$post = json_decode(file_get_contents("php://input"), true);
// 验证用户名
$username = $post['username'];
$password = $post['password'];```