perf: 优化
This commit is contained in:
@ -196,7 +196,7 @@ export const getPlacementAccountsDetail = (id: string) => {
|
||||
// 投放账号-授权
|
||||
export const putPlacementAccountsAuthorized = (params = {}) => {
|
||||
const { id, ...rest } = params as { id: string; [key: string]: any };
|
||||
return Http.put(`/v1/placement-accounts/${id}/authorized`, rest);
|
||||
return Http.put(`/v1/placement-accounts/${id}/authorize`, rest);
|
||||
};
|
||||
|
||||
// 投放账号-获取模板地址
|
||||
@ -206,7 +206,7 @@ export const getPlacementAccountsTemplateUrl = (params = {}) => {
|
||||
|
||||
// 投放账号-查询授权状态
|
||||
export const getPlacementAccountsAuthorizedStatus = (id: string) => {
|
||||
return Http.get(`/v1/placement-accounts/${id}/authorized-status`);
|
||||
return Http.get(`/v1/placement-accounts/${id}/status`);
|
||||
};
|
||||
|
||||
// 投放账户运营人员分组-列表
|
||||
|
||||
Reference in New Issue
Block a user