添加api
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user