import httpServer from './httpServer'
let getLogType = function(){
    return new Promise((resolve, reject)=>{
            httpServer({
                method: 'post',
                url: 'sysLog/getOperationType',
                authType:"back"
            }).then(res=>{
                if(res.status != 200){
                    resolve([])
                }else{
                    if(res.data.resultCode == 200){
                        let list = res.data.data
                        resolve(list)
                    }else{
                        resolve([])
                    }
                }
            
            }).catch(err=>{
                resolve([])
            })
        })
}
export {
    getLogType
}