Commit d1828780 by 宋毅

tj

parent c254621c
......@@ -65,7 +65,7 @@ class UtilsUserSve extends AppServiceBase {
}
var timeStamp = Date.now();
var nonceStr = await this.getBusUid("sy");
var nowPageUrl = pobj.actionBody && pobj.actionBody.nowPageUrl ? pobj.actionBody.nowPageUrl : "http://alitm.qifu.gongsibao.com";
var nowPageUrl = "http://alitm.qifu.gongsibao.com/";//pobj.actionBody && pobj.actionBody.nowPageUrl ? pobj.actionBody.nowPageUrl : "http://alitm.qifu.gongsibao.com/";
var parameters = {
agentId: item.agent_id,
corpId: item.corp_id,
......@@ -140,14 +140,14 @@ class UtilsUserSve extends AppServiceBase {
var sha1 = cryptoJS.createHash('sha1');
sha1.update(plainTex, 'utf8');
let signature = sha1.digest('hex');
let signature = sha1.digest('hex');
this.logCtl.info({
appid: pobj.appInfo ? pobj.appInfo.uapp_id : "",
appkey: pobj.appInfo ? pobj.appInfo.uapp_key : "",
op: "center-app/app/base/service/impl/utilsSve/utilsuserSve.js/getJsApiSingnature",
content: "参数:" + plainTex + ",signature=" + signature,
optitle: "记录钉钉鉴权签名信息参数4",
optitle: "记录钉钉鉴权签名信息参数5",
});
return signature;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment