提交增加的内容

This commit is contained in:
daihh
2022-12-14 19:40:01 +08:00
parent e29a986416
commit 80104a65dc
3 changed files with 31 additions and 2 deletions

10
src/api/modules/popup.js Normal file
View 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
}

View 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
}

View File

@@ -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;