| | |
| | | /** |
| | | * @description 获取或修改系统配置,增加appkey |
| | | */ |
| | | // getSystemFuncs (time) { |
| | | // let param = { |
| | | // func: 's_get_func_base_sso', |
| | | // update_date: time, |
| | | // userid: sessionStorage.getItem('UserID') || '', |
| | | // lang: sessionStorage.getItem('lang') || '', |
| | | // SessionUid: localStorage.getItem('SessionUid') || '', |
| | | // LoginUID: sessionStorage.getItem('LoginUID') || '', |
| | | // appkey: window.GLOB.appkey |
| | | // } |
| | | getSystemFuncs (time) { |
| | | let param = { |
| | | func: 's_get_func_base_sso', |
| | | update_date: time, |
| | | userid: sessionStorage.getItem('UserID') || '', |
| | | lang: sessionStorage.getItem('lang') || '', |
| | | SessionUid: localStorage.getItem('SessionUid') || '', |
| | | LoginUID: sessionStorage.getItem('LoginUID') || '', |
| | | appkey: window.GLOB.appkey |
| | | } |
| | | |
| | | // let url = window.GLOB.mainSystemApi || '/webapi/dostars' |
| | | // param = this.encryptParam(param) |
| | | let url = window.GLOB.mainSystemApi || '/webapi/dostars' |
| | | param = this.encryptParam(param) |
| | | |
| | | // return axios({ |
| | | // url: `${url}/${param.func}`, |
| | | // method: 'post', |
| | | // data: JSON.stringify(param) |
| | | // }) |
| | | // } |
| | | return axios({ |
| | | url: `${url}/${param.func}`, |
| | | method: 'post', |
| | | data: JSON.stringify(param) |
| | | }) |
| | | } |
| | | |
| | | /** |
| | | * @description 获取或修改系统配置,增加appkey |