摘要:
第一方式:使用angular-cli代理来实现,适用于开发 API:https://localhost:8443 工程:http://localhost:4200 假如需要调用https://localhost:8443/user这个接口,那么只须这样调用: this.http.get("/api/ 阅读全文
posted @ 2018-01-12 14:44
西风古道
阅读(307)
评论(0)
推荐(0)
|
摘要:
第一方式:使用angular-cli代理来实现,适用于开发 API:https://localhost:8443 工程:http://localhost:4200 假如需要调用https://localhost:8443/user这个接口,那么只须这样调用: this.http.get("/api/ 阅读全文
posted @ 2018-01-12 14:44
西风古道
阅读(307)
评论(0)
推荐(0)
|