mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 13:56:43 +08:00
前端白名单控制
This commit is contained in:
@@ -4,14 +4,12 @@ import ajax from '@/utils/xajax.js'
|
||||
/**
|
||||
* 查询白名单
|
||||
* @param {
|
||||
* code:'',
|
||||
* name:'',
|
||||
* environment:0
|
||||
* env:'开发环境'
|
||||
* } data
|
||||
* @returns
|
||||
*/
|
||||
const getList = function(data) {
|
||||
return ajax.post('/xboe/sys/whiteuser/list',data);
|
||||
const getList =function(env) {
|
||||
return ajax.post('/xboe/sys/whiteuser/codes',env);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user