diff --git a/src/api/sub.ts b/src/api/sub.ts index 6323bb1..e4e7521 100644 --- a/src/api/sub.ts +++ b/src/api/sub.ts @@ -13,7 +13,7 @@ export function add_user_child(mobilePhone) { // 删除 export function delete_user_child(id) { - return httpService.delete(`${API.SUB_ACCOUNT.DELETE()}/${id}`) + return httpService.delete(API.SUB_ACCOUNT.DELETE(), { data: { id } }) } // 获取父级账号