付智勇

no message

@@ -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 }