| | |
| | | nonc: Utils.getuuid() |
| | | } |
| | | |
| | | // param = { |
| | | // func: _func, |
| | | // VerificationCode: '授权码', |
| | | // TimeStamp: timeStamp, |
| | | // userid: _id, |
| | | // LoginUID: _id, |
| | | // nonc: Utils.getuuid() |
| | | // } |
| | | |
| | | let keys = Object.keys(param).sort() |
| | | let values = '' |
| | | keys.forEach(key => { |
| | |
| | | param.sign = md5(values) |
| | | param.t = new Date().getTime() |
| | | |
| | | Api.directRequest(_rduri + '/sEmpowerCloud_Get_LinkUrl', 'post', param, 'true').then(res => { |
| | | Api.directRequest(_rduri + '/' + _func, 'post', param, 'true').then(res => { |
| | | if (res.status) { |
| | | if (res.EPC === str) { |
| | | let box = [] |