| | |
| | | type: 'admin', |
| | | OpenType: _config.OpenType, |
| | | PageParam: {Template: 'CustomPage', OpenType: 'newtab', hidden: _config.hidden}, |
| | | MenuType: 'custom' |
| | | MenuType: 'custom', |
| | | lang: sessionStorage.getItem('lang') |
| | | } |
| | | |
| | | let url = window.btoa(window.encodeURIComponent(JSON.stringify(urlparam))) |
| | |
| | | debug_md5: key, |
| | | debug_url: url, |
| | | debug_list: window.btoa(tbs), |
| | | LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))) |
| | | LongParam: window.btoa(window.encodeURIComponent(JSON.stringify(_config))), |
| | | LText: '' |
| | | } |
| | | |
| | | param.LText = Utils.formatOptions(param.LText) |
| | | param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') |
| | | param.secretkey = Utils.encrypt(param.LText, param.timestamp) |
| | | param.secretkey = Utils.encrypt('', param.timestamp) |
| | | |
| | | Api.getCloudConfig(param).then(res => { |
| | | _resolve() |