mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
提交增加的内容
This commit is contained in:
10
src/api/modules/popup.js
Normal file
10
src/api/modules/popup.js
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
const list=function (query){
|
||||
return ajax.post('/xboe/m/popup/list',query);
|
||||
}
|
||||
|
||||
export default {
|
||||
list
|
||||
}
|
||||
20
src/api/system/whiteuser.js
Normal file
20
src/api/system/whiteuser.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
|
||||
/**
|
||||
* 查询白名单
|
||||
* @param {
|
||||
* code:'',
|
||||
* name:'',
|
||||
* environment:0
|
||||
* } data
|
||||
* @returns
|
||||
*/
|
||||
const getList = function(data) {
|
||||
return ajax.post('/xboe/sys/whiteuser/list',data);
|
||||
}
|
||||
|
||||
|
||||
export default{
|
||||
getList
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
/**测试人员名单*/
|
||||
|
||||
const userCodes=[
|
||||
'12345601',
|
||||
'12345603',
|
||||
@@ -28,7 +27,7 @@ const isTest=function(code){
|
||||
return false;
|
||||
}
|
||||
})
|
||||
}else if(mode=='preview' || mode=='production' ){
|
||||
}else{
|
||||
userCodesPro.some(item=>{
|
||||
if(item===code){
|
||||
testUser=true;
|
||||
|
||||
Reference in New Issue
Block a user