正在显示
1 个修改的文件
包含
16 行增加
和
11 行删除
@@ -184,16 +184,21 @@ var expected = "005AQAoAEJERTJDRDdFNkZDNkU0ODYxNkYxQTYwOUVFNTM1M0U5ODNCQjFDNDQQA | @@ -184,16 +184,21 @@ var expected = "005AQAoAEJERTJDRDdFNkZDNkU0ODYxNkYxQTYwOUVFNTM1M0U5ODNCQjFDNDQQA | ||
184 | //console.log( (expected == result) ? "ok" : "failed"); | 184 | //console.log( (expected == result) ? "ok" : "failed"); |
185 | module.exports = async(appIDa, appCertificatea, channela,uida)=>{ | 185 | module.exports = async(appIDa, appCertificatea, channela,uida)=>{ |
186 | let keys = await inspectMediaChannelKey(appIDa, appCertificatea, channela, ts, r, uida, expiredTs); | 186 | let keys = await inspectMediaChannelKey(appIDa, appCertificatea, channela, ts, r, uida, expiredTs); |
187 | - if(expected == keys){ | ||
188 | - return { | ||
189 | - code:200, | ||
190 | - channelKey:keys, | ||
191 | - uid:uida | ||
192 | - } | ||
193 | - }else { | ||
194 | - return { | ||
195 | - code:400, | ||
196 | - msg:"failed" | ||
197 | - } | 187 | + return { |
188 | + code:200, | ||
189 | + channelKey:keys, | ||
190 | + uid:uida | ||
198 | } | 191 | } |
192 | + // if(expected == keys){ | ||
193 | + // return { | ||
194 | + // code:200, | ||
195 | + // channelKey:keys, | ||
196 | + // uid:uida | ||
197 | + // } | ||
198 | + // }else { | ||
199 | + // return { | ||
200 | + // code:400, | ||
201 | + // msg:"failed" | ||
202 | + // } | ||
203 | + // } | ||
199 | } | 204 | } |
-
请 注册 或 登录 后发表评论