From fc395682d8598ab24db47a074c2d4cde34257a56 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 29 Aug 2022 10:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue b/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue index f43df6ce..751bf31f 100644 --- a/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue +++ b/project/xiushan/apps/AppAccountXiushan/AppAccountXiushan.vue @@ -204,7 +204,7 @@ export default { if (this.lock) return this.$message.error("请勿多次提交!") this.lock = true let areaFullName = this.dialogForm.areaName - this.instance.post("/user/empower", {...this.dialogForm, areaFullName}).then(res => { + this.instance.post("/app/user/empower", {...this.dialogForm, areaFullName}).then(res => { this.lock = false if (res?.code == 0) { this.dialog = false; @@ -224,7 +224,7 @@ export default { this.$refs.addAccountForm.validate(v => { if (v) { let {account} = this - this.instance.post("/user/add", account).then(res => { + this.instance.post("/app/user/add", account).then(res => { if (res?.code == 0) { this.$message.success("提交成功!") this.accountDialog = false @@ -236,7 +236,7 @@ export default { }, handleDelete(ids) { this.$confirm("是否要删除该账号?").then(() => { - this.instance.post("/user/del", null, { + this.instance.post("/app/user/del", null, { params: {ids} }).then(res => { if (res?.code == 0) {