From b07a3a9dcb89f9785b7b001d2d26b167376d597e Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Fri, 07 Jun 2024 11:43:49 +0800
Subject: [PATCH] 接口代理修改
---
src/ssoapi/oauth/oauth.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/oauth/oauth.js b/src/ssoapi/oauth/oauth.js
similarity index 66%
rename from src/api/oauth/oauth.js
rename to src/ssoapi/oauth/oauth.js
index 3804ac4..f1b2c51 100644
--- a/src/api/oauth/oauth.js
+++ b/src/ssoapi/oauth/oauth.js
@@ -2,7 +2,7 @@
export const authorize = ( params) => {
return request({
- url: '/api/oauth/authorize',
+ url: '/ssoapi/oauth/authorize',
method: 'get',
params: params
})
@@ -10,7 +10,7 @@
export const getPage = (current, size, params) => {
return request({
- url: '/api/blade-convenienceHotline/convenienceHotline/page',
+ url: '/ssoapi/blade-convenienceHotline/convenienceHotline/page',
method: 'get',
params: {
...params,
@@ -22,7 +22,7 @@
export const add = (row) => {
return request({
- url: '/api/blade-convenienceHotline/convenienceHotline/submit',
+ url: '/ssoapi/blade-convenienceHotline/convenienceHotline/submit',
method: 'post',
data: row
})
@@ -30,7 +30,7 @@
export const update = (row) => {
return request({
- url: '/api/blade-convenienceHotline/convenienceHotline/submit',
+ url: '/ssoapi/blade-convenienceHotline/convenienceHotline/submit',
method: 'post',
data: row
})
--
Gitblit v1.9.3