|
@@ -4,6 +4,7 @@ import { PageParams, RentListGetResultModel, SceneLiveItem, bindAnchorListParam
|
|
|
enum Api {
|
|
|
pageList = '/basic-api/brand/brandBindList',
|
|
|
bindAnchorList = '/zfb-api/zfb/shop/sys/user/bindList',
|
|
|
+ olderBindAnchorList = '/basic-api/sys/user/bindList',
|
|
|
// brandTypeList = '/zfb-api/zfb/shop/brand/brandTypeList',
|
|
|
brandTypeList = '/basic-api/brand/brandTypeList',
|
|
|
// bindUser = '/zfb-api/zfb/shop/sys/brand/bindUser',
|
|
@@ -23,6 +24,16 @@ export const ListApi = (params: PageParams) =>
|
|
|
ignoreCancelToken: true,
|
|
|
},
|
|
|
});
|
|
|
+export const bindOldAnchorListApi = (params: bindAnchorListParam) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.olderBindAnchorList,
|
|
|
+ params: params,
|
|
|
+ data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
export const bindAnchorListApi = (params: bindAnchorListParam) =>
|
|
|
defHttp.post<RentListGetResultModel>({
|
|
|
url: Api.bindAnchorList,
|