1. fix
This commit is contained in:
2026-04-25 17:10:13 +08:00
parent 4094690c04
commit f079cc4d9c
3 changed files with 7 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/market/merchant-product/page',
url: '/market/merchant-catalog/page',
method: 'get',
params: {
...params,
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
export const getDetail = (id) => {
return request({
url: '/market/merchant-product/detail',
url: '/market/merchant-catalog/detail',
method: 'get',
params: {
id
@@ -24,7 +24,7 @@ export const getDetail = (id) => {
export const remove = (ids) => {
return request({
url: '/market/merchant-product/remove',
url: '/market/merchant-catalog/remove',
method: 'post',
params: {
ids,
@@ -34,7 +34,7 @@ export const remove = (ids) => {
export const add = (row) => {
return request({
url: '/market/merchant-product/submit-self-product',
url: '/market/merchant-catalog/submit-catalog',
method: 'post',
data: row
})
@@ -42,7 +42,7 @@ export const add = (row) => {
export const update = (row) => {
return request({
url: '/market/merchant-product/submit',
url: '/market/merchant-catalog/submit-catalog',
method: 'post',
data: row
})

View File

@@ -37,14 +37,9 @@
</template>
<script>
import {getList, getDetail, add, update, remove} from "@/api/market/merchantProduct";
import option from "@/option/market/merchantProduct";
import {getList, getDetail, add, update, remove} from "@/api/market/merchantCatalog";
import option from "@/option/market/merchantCatalog";
import {mapGetters} from "vuex";
import {exportBlob} from "@/api/common";
import {getToken} from '@/utils/auth';
import {downloadXls} from "@/utils/util";
import {dateNow} from "@/utils/date";
import NProgress from 'nprogress';
import 'nprogress/nprogress.css';
export default {