| File was renamed from src/api/oauth/oauth.js |
| | |
| | | |
| | | export const authorize = ( params) => { |
| | | return request({ |
| | | url: '/api/oauth/authorize', |
| | | url: '/ssoapi/oauth/authorize', |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | |
| | | |
| | | export const getPage = (current, size, params) => { |
| | | return request({ |
| | | url: '/api/blade-convenienceHotline/convenienceHotline/page', |
| | | url: '/ssoapi/blade-convenienceHotline/convenienceHotline/page', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | |
| | | export const add = (row) => { |
| | | return request({ |
| | | url: '/api/blade-convenienceHotline/convenienceHotline/submit', |
| | | url: '/ssoapi/blade-convenienceHotline/convenienceHotline/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |
| | |
| | | |
| | | export const update = (row) => { |
| | | return request({ |
| | | url: '/api/blade-convenienceHotline/convenienceHotline/submit', |
| | | url: '/ssoapi/blade-convenienceHotline/convenienceHotline/submit', |
| | | method: 'post', |
| | | data: row |
| | | }) |