|
@@ -4,7 +4,8 @@ import { PageParams, RentListGetResultModel, SceneLiveItem } from './model';
|
|
enum Api {
|
|
enum Api {
|
|
pageList = '/basic-api/brand/brandBindList',
|
|
pageList = '/basic-api/brand/brandBindList',
|
|
bindAnchorList = '/zfb-api/zfb/shop/sys/user/bindList',
|
|
bindAnchorList = '/zfb-api/zfb/shop/sys/user/bindList',
|
|
- brandTypeList = '/zfb-api/zfb/shop/brand/brandTypeList',
|
|
|
|
|
|
+ // brandTypeList = '/zfb-api/zfb/shop/brand/brandTypeList',
|
|
|
|
+ brandTypeList = '/basic-api//brand/brandTypeList',
|
|
}
|
|
}
|
|
export type SceneLiveItemResult = SceneLiveItem;
|
|
export type SceneLiveItemResult = SceneLiveItem;
|
|
/**
|
|
/**
|
|
@@ -29,3 +30,12 @@ export const bindAnchorListApi = (params: PageParams) =>
|
|
ignoreCancelToken: true,
|
|
ignoreCancelToken: true,
|
|
},
|
|
},
|
|
});
|
|
});
|
|
|
|
+export const brandTypeListApi = (params: PageParams) =>
|
|
|
|
+ defHttp.get<RentListGetResultModel>({
|
|
|
|
+ url: Api.brandTypeList,
|
|
|
|
+ params,
|
|
|
|
+ headers: {
|
|
|
|
+ // @ts-ignore
|
|
|
|
+ ignoreCancelToken: true,
|
|
|
|
+ },
|
|
|
|
+ });
|