fix(AppSign): 更新 OAuth 令牌请求 URL
- 将请求 URL 从 "/oauth/token" 修改为 "/api/oauth/token" - 此修改可能是为了适应后端 API路径的更改
This commit is contained in:
		| @@ -109,7 +109,7 @@ export default { | |||||||
|       this.$refs.form.validate().then(() => { |       this.$refs.form.validate().then(() => { | ||||||
|         const password = this.$encryption(this.form.password) |         const password = this.$encryption(this.form.password) | ||||||
|         this.form.type = this.form.type || "platform" |         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"}, |           auth: {username: 'villcloud', password: "villcloud"}, | ||||||
|           params: {grant_type: 'password', scope: 'server', ...this.form, password} |           params: {grant_type: 'password', scope: 'server', ...this.form, password} | ||||||
|         }).then(data => { |         }).then(data => { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user