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:
@@ -196,7 +196,7 @@ import { applyFirst } from '@/api/shopentry';
|
||||
import * as RegExp from '@/plugins/RegExp.js';
|
||||
import multipleMap from "@/components/map/multiple-map";
|
||||
import storage from '@/plugins/storage';
|
||||
import { commonUrl } from '@/plugins/request.js';
|
||||
import { buyerUrl } from '@/plugins/request.js';
|
||||
const FIRST_APPLY_DRAFT_KEY = 'shopEntryFirstDraft';
|
||||
|
||||
export default {
|
||||
@@ -210,7 +210,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
action: commonUrl + '/common/common/upload/file', // 上传地址
|
||||
action: buyerUrl + '/buyer/common/upload/file', // 上传地址
|
||||
accessToken: {}, // 验证token
|
||||
visible: false, // 预览图片
|
||||
loading: false, // 加载状态
|
||||
|
||||
Reference in New Issue
Block a user