Authored by huangyCode

md5方法

@@ -24,7 +24,7 @@ function getPrivateKey(){ @@ -24,7 +24,7 @@ function getPrivateKey(){
24 resolve(p2SecretKey) 24 resolve(p2SecretKey)
25 }else{ 25 }else{
26 26
27 - let data = { 27 + let debuggerata = {
28 "udid": app.globalData.udid, 28 "udid": app.globalData.udid,
29 "method": 'resources.simple.pice' 29 "method": 'resources.simple.pice'
30 } 30 }
@@ -355,7 +355,6 @@ function _signParam(params,opt) { @@ -355,7 +355,6 @@ function _signParam(params,opt) {
355 355
356 allParams = trimObject(allParams); // 去除首尾空格 356 allParams = trimObject(allParams); // 去除首尾空格
357 let paramsPair = queryString.stringify(allParams, {encode: false}); 357 let paramsPair = queryString.stringify(allParams, {encode: false});
358 - debugger  
359 let client_secret = md5(paramsPair); 358 let client_secret = md5(paramsPair);
360 359
361 delete allParams.private_key; 360 delete allParams.private_key;