Revert "Revert "登录页面增加组织选择""

This reverts commit 3c1bc4e700.
This commit is contained in:
Yuan 2022-09-30 17:51:45 +08:00
parent ecc7f73d5b
commit b7d413bbd1
3 changed files with 1039 additions and 904 deletions

View File

@ -93,3 +93,23 @@ export function getLoginInfo(token) {
}
});
}
/**
* 获取用户所属组织列表
*/
export function getOrgList() {
return request({
url: '/api/org/list',
method: 'get'
})
}
/**
* 登入组织
*/
export function selectOrgnization(orgId) {
return request({
url: `/api/org/signIn/${orgId}`,
method: 'put'
})
}

View File

@ -24,8 +24,8 @@ export function handlerUrl(data) {
if (process.env.NODE_ENV === 'development') {
// const data = null;
// BASE_API = 'https://joylink.club/jlcloud';
BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'http://192.168.3.233/rtss-server';
// BASE_API = 'https://test.joylink.club/jlcloud';
BASE_API = 'http://192.168.3.233/rtss-server';
// BASE_API = 'http://114.116.51.125/jlcloud';
// BASE_API = 'http://192.168.3.90:9100'; // 周寅
// BASE_API = 'http://192.168.3.94:9000'; // 旭强

File diff suppressed because it is too large Load Diff