Authored by huangyCode

md5方法

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