配置:
"proxy": {
"/api": {
"target": "https://s2.lakala.com",
"changeOrigin": true,
"pathRewrite": {
"^/api": "/api"
}
}
}
目标路径
https://s2.lakala.com/api/v3/labs/relation/refund
配置路径
/api/v3/labs/relation/refund