您应该像这样传递一个配置对象
$http.post(url, {withCredentials: true, ...})
或旧版本中:
$http({withCredentials: true, ...}).post(...)
AngularJS withCredentials
您应该像这样传递一个配置对象
$http.post(url, {withCredentials: true, ...})
或旧版本中:
$http({withCredentials: true, ...}).post(...)