mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
refactor: 更新 API 请求路径与配置
This commit is contained in:
@@ -98,7 +98,7 @@ import { applyThird } from '@/api/shopentry';
|
||||
import { getCategory } from '@/api/goods';
|
||||
|
||||
import storage from '@/plugins/storage';
|
||||
import { commonUrl } from '@/plugins/request.js';
|
||||
import { buyerUrl } from '@/plugins/request.js';
|
||||
|
||||
|
||||
import multipleMap from "@/components/map/multiple-map";
|
||||
@@ -117,7 +117,7 @@ export default {
|
||||
return {
|
||||
loading: false, // 加载状态
|
||||
uploadLoading: false, // 上传加载状态
|
||||
action: commonUrl + '/common/common/upload/file', // 上传地址
|
||||
action: buyerUrl + '/buyer/common/upload/file', // 上传地址
|
||||
accessToken: {}, // 验证token
|
||||
previewPicture: '', // 预览图片
|
||||
|
||||
|
||||
Reference in New Issue
Block a user