response.statusText=“OK” but falls into error callback from ajax with jQuery

后端 未结 6 892
余生分开走
余生分开走 2021-01-13 16:16

Server side:

 ....
    $_SESSION[\'accountId\'] = $accountId;
    $_SESSION[\'type\'] = $_POST[\'accountType\'];
    echo \'1\';
    return;
<
6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-13 16:38

    1) go to the url in your browser (the one you're fetching with ajax)

    2) set the error callback for the jquery ajax request.

提交回复
热议问题