| | |
| | | } |
| | | } |
| | | |
| | | if (param.timestamp) { // 云端验证 |
| | | param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true) |
| | | } |
| | | |
| | | Api.genericInterface(param).then((res) => { |
| | | if (res.status) { |
| | | this.execSuccess(btn, res) |
| | |
| | | param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' |
| | | param.secretkey = Utils.encrypt(param.LText, param.timestamp) |
| | | } |
| | | } |
| | | |
| | | if (param.timestamp) { // 云端验证 |
| | | param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true) |
| | | } |
| | | |
| | | return param |
| | |
| | | _localParam = {..._outParam, ...response} |
| | | |
| | | response.rduri = window.GLOB.mainSystemApi |
| | | |
| | | if (_localParam.LTextOut) { |
| | | _localParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' |
| | | _localParam.secretkey = Utils.encrypt(_localParam.LTextOut, _localParam.timestamp) |
| | | _localParam.open_key = Utils.encrypt(_localParam.secretkey, _localParam.timestamp, true) |
| | | } |
| | | } |
| | | delete response.UpType |
| | | |
| | | |
| | | let _callbackparam = {..._outParam, ...response} |
| | | if (_callbackparam.LTextOut) { |
| | | _callbackparam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' |
| | | _callbackparam.secretkey = Utils.encrypt(_callbackparam.LTextOut, _callbackparam.timestamp) |
| | | _callbackparam.open_key = Utils.encrypt(_callbackparam.secretkey, _callbackparam.timestamp, true) |
| | | } |
| | | |
| | | return Api.getLocalConfig(_callbackparam) |
| | | } else { |
| | | if (response.status) { |
| | |
| | | destroyOnClose |
| | | > |
| | | <MutilForm |
| | | menuType="HS" |
| | | dict={this.props.dict} |
| | | action={execAction} |
| | | inputSubmit={this.handleOk} |