From 942cf1688c440d6c2dbc98d8ec661c68d13f272c Mon Sep 17 00:00:00 2001 From: 付智勇 <fuzhiyong@efangtec.com> Date: Wed, 6 Sep 2017 15:57:17 +0800 Subject: [PATCH] no message --- util/inspectMediaChannelKey.js | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/util/inspectMediaChannelKey.js b/util/inspectMediaChannelKey.js index 4bbd7c8..42a747a 100644 --- a/util/inspectMediaChannelKey.js +++ b/util/inspectMediaChannelKey.js @@ -184,16 +184,21 @@ var expected = "005AQAoAEJERTJDRDdFNkZDNkU0ODYxNkYxQTYwOUVFNTM1M0U5ODNCQjFDNDQQA //console.log( (expected == result) ? "ok" : "failed"); module.exports = async(appIDa, appCertificatea, channela,uida)=>{ let keys = await inspectMediaChannelKey(appIDa, appCertificatea, channela, ts, r, uida, expiredTs); - if(expected == keys){ - return { - code:200, - channelKey:keys, - uid:uida - } - }else { - return { - code:400, - msg:"failed" - } + return { + code:200, + channelKey:keys, + uid:uida } + // if(expected == keys){ + // return { + // code:200, + // channelKey:keys, + // uid:uida + // } + // }else { + // return { + // code:400, + // msg:"failed" + // } + // } } -- libgit2 0.24.0