mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
1.7.0
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user