tanghc 6 years ago
parent f8d8273d22
commit d4c4c7f7de
  1. 2
      doc/docs/files/10100_对接前端.md

@ -41,6 +41,8 @@ public class ZuulConfig extends AlipayZuulConfiguration {
封装请求,方便调用,针对vue的封装如下:
```js
import axios from 'axios'
// 创建axios实例
const client = axios.create({
baseURL: process.env.BASE_API, // api 的 base_url

Loading…
Cancel
Save