Commit acc79611 authored by GuanHua's avatar GuanHua

fix:店铺模板装修修改查询品牌列表的接口

parent b1d55385
...@@ -68,14 +68,13 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => { ...@@ -68,14 +68,13 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => {
const fetchBrandsList = () => { const fetchBrandsList = () => {
const param: any = { const param: any = {
type: 0, type: 2,
templateId: templateid, templateId: templateid,
categoryId: categoryid, categoryId: categoryid,
current: 1, current: 1,
pageSize: 100 pageSize: 100
} }
PublicApi.getTemplateShopFindBrandList(param).then((res: any) => {
PublicApi.getTemplatePlatformFindBrandList(param).then((res: any) => {
if (res.code === 1000) { if (res.code === 1000) {
const dataInfo = res.data const dataInfo = res.data
setNoSelectBrands(dataInfo.data || []) setNoSelectBrands(dataInfo.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