📖 code review:【分销】我的团队

This commit is contained in:
YunaiV
2024-01-04 22:22:37 +08:00
parent 2317d14ef5
commit 8b239a0aae
3 changed files with 11 additions and 9 deletions
+2 -2
View File
@@ -214,8 +214,8 @@ const request = (config) => {
}
// TODO 芋艿:额外拼接
if (config.url.indexOf('/app-api/') >= 0) {
config.url = 'http://api-dashboard.yudao.iocoder.cn' + config.url; // 调用【云端】
// config.url = 'http://127.0.0.1:48080' + config.url; // 调用【本地】
// config.url = 'http://api-dashboard.yudao.iocoder.cn' + config.url; // 调用【云端】
config.url = 'http://127.0.0.1:48080' + config.url; // 调用【本地】
// config.url = 'http://yunai.natapp1.cc' + config.url; // 调用【natapp】
}
return http.middleware(config);