 
                        node.js 访问 java api 的地址: 
http://localhost:9000/zlkcxd/...
如果在 js 中使用 ajax 可以得到正常的返回
{exception: null, message: '账号密码错误', success: false}
但是使用 http.get("http:...上面的地址", fuction(res){console.log(res)})
此处 res 打印出来的是很多乱七八糟的参数
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
出处: http://nqdeng.github.io/7-day...