mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 10:57:26 +08:00
解决 Profile.vue 合并冲突,同步master代码
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
import {commonUrl, getRequestWithNoToken, postRequestWithNoToken} from '@/libs/axios';
|
||||
import {sellerUrl, getRequestWithNoToken, postRequestWithNoToken} from '@/libs/axios';
|
||||
|
||||
|
||||
// 获取拼图验证
|
||||
export const getVerifyImg = (verificationEnums) => {
|
||||
return getRequestWithNoToken(`${commonUrl}/common/common/slider/${verificationEnums}`);
|
||||
return getRequestWithNoToken(`${sellerUrl}/store/common/slider/${verificationEnums}`);
|
||||
};
|
||||
|
||||
// 拼图验证
|
||||
export const postVerifyImg = (params) => {
|
||||
return postRequestWithNoToken(`${commonUrl}/common/common/slider/${params.verificationEnums}`, params);
|
||||
return postRequestWithNoToken(`${sellerUrl}/store/common/slider/${params.verificationEnums}`, params);
|
||||
};
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
<el-upload
|
||||
v-if="canUploadImages"
|
||||
ref="up"
|
||||
:action="commonUrl + '/common/common/upload/file'"
|
||||
:action="sellerUrl + '/store/common/upload/file'"
|
||||
:data="uploadData"
|
||||
:headers="accessToken"
|
||||
:before-upload="beforeUpload"
|
||||
@@ -317,7 +317,7 @@ import {
|
||||
updateFileDirectory,
|
||||
} from "@/api/index";
|
||||
import DPlayer from "dplayer";
|
||||
import {commonUrl} from "@/libs/axios";
|
||||
import {sellerUrl} from "@/libs/axios";
|
||||
|
||||
import config from "@/config/index";
|
||||
import playImg from "@/assets/play.png";
|
||||
@@ -342,7 +342,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
commonUrl, // 上传文件路径
|
||||
sellerUrl, // 上传文件路径
|
||||
config, // api地址
|
||||
fileDirectoryId: "",
|
||||
groupFormValidate: {
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<el-form-item v-if="canUploadImages">
|
||||
<el-upload
|
||||
ref="up"
|
||||
:action="commonUrl + '/common/common/upload/file'"
|
||||
:action="sellerUrl + '/store/common/upload/file'"
|
||||
:data="uploadData"
|
||||
:headers="accessToken"
|
||||
:before-upload="beforeUpload"
|
||||
@@ -313,7 +313,7 @@ import {
|
||||
updateFileDirectory,
|
||||
} from "@/api/index";
|
||||
import DPlayer from "dplayer";
|
||||
import {commonUrl} from "@/libs/axios";
|
||||
import {sellerUrl} from "@/libs/axios";
|
||||
|
||||
import config from "@/config/index";
|
||||
import playImg from "@/assets/play.png";
|
||||
@@ -342,7 +342,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
commonUrl, // 上传文件路径
|
||||
sellerUrl, // 上传文件路径
|
||||
config, // api地址
|
||||
fileDirectoryId: "",
|
||||
groupFormValidate: {
|
||||
|
||||
@@ -151,7 +151,7 @@
|
||||
<el-upload
|
||||
v-if="canUploadImages"
|
||||
ref="up"
|
||||
:action="commonUrl + '/common/common/upload/file'"
|
||||
:action="sellerUrl + '/store/common/upload/file'"
|
||||
:data="uploadData"
|
||||
:headers="accessToken"
|
||||
:before-upload="beforeUpload"
|
||||
@@ -323,7 +323,7 @@ import {
|
||||
updateFileDirectory,
|
||||
} from "@/api/index";
|
||||
import DPlayer from "dplayer";
|
||||
import {commonUrl} from "@/libs/axios";
|
||||
import {sellerUrl} from "@/libs/axios";
|
||||
|
||||
import config from "@/config/index";
|
||||
|
||||
@@ -351,7 +351,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
commonUrl, // 上传文件路径
|
||||
sellerUrl, // 上传文件路径
|
||||
config, // api地址
|
||||
fileDirectoryId: "",
|
||||
groupFormValidate: {
|
||||
|
||||
Reference in New Issue
Block a user