From be22457344d6d3fc079de2a4f0a1e06e4c0f85c3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 06 七月 2022 22:55:14 +0800 Subject: [PATCH] 2022-07-06 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 296ae6e..d44dc4a 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -1530,14 +1530,15 @@ }) } - if (btn.verify && btn.verify.noteEnable === 'true') { - this.sendMessage() - } - let id = '' if (btn.output) { id = res.mk_b_id || res[btn.output] || '' } + + if (btn.verify && btn.verify.noteEnable === 'true' && id) { + this.sendMessage(id) + } + if (res.mk_icon) { sessionStorage.setItem('avatar', res.mk_icon) } @@ -1595,13 +1596,14 @@ } } - sendMessage = () => { + sendMessage = (id) => { const { btn : { verify } } = this.props let param = { func: 's_get_sms_local', TypeCharOne: verify.noteTemp, // N涓嶅悓鍐呭锛孻鐩稿悓鍐呭 - TypeCharTwo: verify.noteType // N瀹氭椂锛孻瀹炴椂 + TypeCharTwo: verify.noteType, // N瀹氭椂锛孻瀹炴椂 + upid: id } param.LText = Utils.formatOptions(Utils.getuuid()) @@ -1680,13 +1682,14 @@ } if (Ltext.length === 0) return + Ltext = Ltext.join(';') _param.LText = window.btoa(window.encodeURIComponent(Ltext)) _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp) - _param.rduri = 'http://sso.mk9h.cn/webapi/dostars' + _param.rduri = 'https://sso.mk9h.cn/webapi/dostars' _param.userid = 'bh0bapabtd45epsgra79segbch6c1ibk' _param.LoginUID = 'bh0bapabtd45epsgra79segbch6c1ibk' -- Gitblit v1.8.0