feat: 账号管理-授权、添加、分组管理、标签管理
This commit is contained in:
@ -56,7 +56,12 @@ export const getTemplateUrl = (params = {}) => {
|
||||
};
|
||||
|
||||
// 媒体账号分组-分页
|
||||
export const getGroupList = (params = {}) => {
|
||||
export const getAccountGroup = (data: any) => {
|
||||
return Http.get('/v1/media-account-groups', data);
|
||||
};
|
||||
|
||||
// 媒体账号分组-列表
|
||||
export const getAccountGroupList = (params = {}) => {
|
||||
return Http.get('/v1/media-account-groups/list', params);
|
||||
};
|
||||
|
||||
@ -124,7 +129,7 @@ export const startPatchAccount = (id: string) => {
|
||||
|
||||
// 媒体账号-获取授权图片
|
||||
export const getAuthorizedImage = (id: string) => {
|
||||
return Http.get(`/v1/media-accounts/${id}/authorized-image`);
|
||||
return Http.get(`/v1/media-accounts/${id}/authorize/image`);
|
||||
};
|
||||
|
||||
// 账号看板-数据总览
|
||||
@ -259,3 +264,13 @@ export const getPlacementAccountDataList = (params = {}) => {
|
||||
export const postPlacementAccountDataListExport = (params = {}) => {
|
||||
return Http.post('/v1/placement-account-projects/export', params);
|
||||
};
|
||||
|
||||
// 媒体账号-批量添加
|
||||
export const batchMediaAccounts = (params = {}, config = {}) => {
|
||||
return Http.post('/v1/media-accounts/batch', params, config);
|
||||
};
|
||||
|
||||
// 媒体账号-查询授权状态
|
||||
export const getMediaAccountsAuthorizedStatus = (id: string) => {
|
||||
return Http.get(`/v1/media-accounts/${id}/status`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user