fix: java后端接口对接,联调测试问题修改。

This commit is contained in:
tianyongbao
2026-01-15 11:34:03 +08:00
parent f5ddf1e120
commit b1bc6c174c
16 changed files with 216 additions and 126 deletions

View File

@@ -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}`)
}
// 获取父级账号