Commit 0bb4e16d authored by GuanHua's avatar GuanHua

fix: 小程序B端商城装修页面接口更换

parent a177a3a8
......@@ -9,7 +9,7 @@ import styles from './index.less';
import { priceFormat } from '@/utils/numberFomat';
import { getManageShopListAdorn, getManageContentInformationListAdorn } from '@/services/ManageV2Api';
import { getProductCommodityGetPlatformCommodityList } from '@/services/ProductV2Api';
import { postSearchCommodityTemplateGetCommodityList, getSearchCommodityTemplateGetBrandList } from '@/services/SearchV2Api';
import { postSearchCommodityTemplateSearchCommodityList, getSearchCommodityTemplateGetBrandList } from '@/services/SearchV2Api';
import { getTemplateWebMemberShopWebMemberShopListAdorn } from '@/services/TemplateV2Api';
......@@ -103,7 +103,7 @@ const MixDrawer: React.FC<MixDrawerProps> = (props: MixDrawerProps) => {
_params.priceTypeList = [3];
_params.idNotInList = selectId;
_params.shopId = getPointMallId()
_fetch = postSearchCommodityTemplateGetCommodityList;
_fetch = postSearchCommodityTemplateSearchCommodityList;
}
break;
......
......@@ -4,7 +4,7 @@ import { updatePageConfig } from '@lingxi-design/core';
import { resolveMappingPageConfig } from '@lingxi-design/react'
import { message } from 'antd';
import { getTemplateAdornAppEnterpriseFind, postTemplateMobileMemberShopMobileMemberShopInGoodsList, getTemplateWebActivityPageGet } from '@/services/TemplateV2Api';
import { getSearchCommodityTemplateGetFirstCategoryListByMemberId, getSearchCommodityTemplateGetBrandList, postSearchCommodityTemplateGetCommodityList } from '@/services/SearchV2Api';
import { getSearchCommodityTemplateGetFirstCategoryListByMemberId, getSearchCommodityTemplateGetBrandList, postSearchCommodityTemplateSearchCommodityList } from '@/services/SearchV2Api';
import { getMarketingAdornGoodsListAdorn, } from '@/services/MarketingV2Api';
import { getManageContentInformationListAdorn, getManageContentInformationPage } from '@/services/ManageV2Api';
import { isEmpty, cloneDeep } from 'lodash';
......@@ -313,7 +313,7 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
idInList: showCaseItem.id,
priceTypeList: [3],
}
res = await postSearchCommodityTemplateGetCommodityList(params)
res = await postSearchCommodityTemplateSearchCommodityList(params)
message.destroy()
if (res.code === 1000) {
dataList = res.data.data
......
......@@ -4,7 +4,7 @@ import { updatePageConfig } from '@lingxi-design/core';
import { resolveMappingPageConfig } from '@lingxi-design/react'
import { message } from 'antd';
import { getTemplateAdornAppEnterpriseFind, postTemplateMobileMemberShopMobileMemberShopInGoodsList, getTemplateWebActivityPageGet, getTemplateWebMemberShopWebFindByIdIn, getTemplateWebMemberShopWebRecommendList } from '@/services/TemplateV2Api';
import { getSearchCommodityTemplateGetFirstCategoryListByMemberId, getSearchCommodityTemplateGetBrandList, postSearchCommodityTemplateGetCommodityList, postSearchMobileShopEnterpriseGetCommodityList, postSearchMobileShopEnterpriseGetCategoryBrand } from '@/services/SearchV2Api';
import { getSearchCommodityTemplateGetFirstCategoryListByMemberId, getSearchCommodityTemplateGetBrandList, postSearchCommodityTemplateSearchCommodityList, postSearchMobileShopEnterpriseGetCommodityList, postSearchMobileShopEnterpriseGetCategoryBrand } from '@/services/SearchV2Api';
import { getMarketingAdornGoodsListAdorn, } from '@/services/MarketingV2Api';
import { getManageContentInformationListAdorn, getManageContentInformationPageByIdIn } from '@/services/ManageV2Api';
import { isEmpty } from 'lodash';
......@@ -349,7 +349,7 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
idInList: showCaseItem.id,
priceTypeList: [3],
}
res = await postSearchCommodityTemplateGetCommodityList(params)
res = await postSearchCommodityTemplateSearchCommodityList(params)
message.destroy()
if (res.code === 1000) {
dataList = res.data.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment