fix: java后端接口对接,联调测试问题修改。
This commit is contained in:
@@ -7,13 +7,13 @@ export function list_user_child() {
|
||||
}
|
||||
|
||||
// 添加
|
||||
export function add_user_child(data) {
|
||||
return httpService.post(`${API.SUB_ACCOUNT.ADD()}?mobilePhone=${data}`)
|
||||
export function add_user_child(mobilePhone) {
|
||||
return httpService.post(API.SUB_ACCOUNT.ADD(), { mobilePhone })
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function delete_user_child(data) {
|
||||
return httpService.delete(API.SUB_ACCOUNT.DELETE(), {data})
|
||||
export function delete_user_child(id) {
|
||||
return httpService.delete(`${API.SUB_ACCOUNT.DELETE()}/${id}`)
|
||||
}
|
||||
|
||||
// 获取父级账号
|
||||
|
||||
Reference in New Issue
Block a user