refactor: 更新 API 请求路径与配置

This commit is contained in:
pikachu1995@126.com
2026-07-13 14:30:09 +08:00
parent c90559981e
commit e67ea56651
29 changed files with 88 additions and 227 deletions

View File

@@ -1,5 +1,5 @@
import request, {
Method, commonUrl
Method, buyerUrl
} from '@/plugins/request.js';
// 会员收货地址列表
@@ -55,7 +55,7 @@ export function getAddrDetail (id) {
// 传给后台citycode 获取城市街道等id
export function handleRegion (params) {
return request({
url: `${commonUrl}/common/common/region/region`,
url: `${buyerUrl}/buyer/common/region/region`,
needToken: true,
method: Method.GET,
params