| | |
| | | res.func = 's_sVersion_Local_add' |
| | | res.VersionName = version.id |
| | | |
| | | Api.getLocalConfig(res).then(result => { |
| | | Api.genericInterface(res).then(result => { |
| | | if (!result.status) { |
| | | notification.warning({ |
| | | top: 92, |
| | |
| | | param.secretkey = Utils.encrypt(param.LText, param.timestamp) |
| | | param.DateCount = '' |
| | | |
| | | Api.getLocalConfig(param).then(response => { |
| | | Api.genericInterface(param).then(response => { |
| | | if (!response.status) { |
| | | notification.warning({ |
| | | top: 92, |
| | |
| | | } |
| | | |
| | | execSso = (ssoParam, scripts) => { |
| | | Api.getLocalConfig(ssoParam).then(res => { |
| | | Api.genericInterface(ssoParam).then(res => { |
| | | if (!res.status) { |
| | | notification.warning({ |
| | | top: 92, |
| | |
| | | } |
| | | |
| | | execLocal = (localParam, ssoParam, scripts) => { |
| | | Api.getLocalConfig(localParam).then(res => { |
| | | Api.genericInterface(localParam).then(res => { |
| | | if (!res.status) { |
| | | notification.warning({ |
| | | top: 92, |
| | |
| | | param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') |
| | | param.secretkey = Utils.encrypt('', param.timestamp) |
| | | |
| | | Api.getLocalConfig(param).then(response => { |
| | | Api.genericInterface(param).then(response => { |
| | | if (!response.status) { |
| | | notification.warning({ |
| | | top: 92, |