@ -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