From a894db0144e0ce8a2459c352cfbb8777641b276b Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 23 Dec 2024 08:46:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(AppSign):=20=E6=9B=B4=E6=96=B0=20OAuth=20?= =?UTF-8?q?=E4=BB=A4=E7=89=8C=E8=AF=B7=E6=B1=82=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将请求 URL 从 "/oauth/token" 修改为 "/api/oauth/token" - 此修改可能是为了适应后端 API路径的更改 --- project/xumu/AppSign/AppSign.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/xumu/AppSign/AppSign.vue b/project/xumu/AppSign/AppSign.vue index a02478bd..5468c974 100644 --- a/project/xumu/AppSign/AppSign.vue +++ b/project/xumu/AppSign/AppSign.vue @@ -109,7 +109,7 @@ export default { this.$refs.form.validate().then(() => { const password = this.$encryption(this.form.password) this.form.type = this.form.type || "platform" - this.$request.post("/oauth/token", null, { + this.$request.post("/api/oauth/token", null, { auth: {username: 'villcloud', password: "villcloud"}, params: {grant_type: 'password', scope: 'server', ...this.form, password} }).then(data => {