Commit c4daeb98 authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

appls

parent 83cc703f
......@@ -231,7 +231,7 @@ static TQNetworkTools* _tools = nil;
// }
//appLs
[dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"];
[dict setValue: AppLs forKey: @"appLs"];
// 设置网络类型
[[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
......@@ -595,7 +595,7 @@ static TQNetworkTools* _tools = nil;
// }
//appLs
[dict setValue: @"d904ceaa1b3f6444" forKey: @"appLs"];
[dict setValue: AppLs forKey: @"appLs"];
[dict addEntriesFromDictionary:[self signParams:dict]];
......@@ -632,8 +632,8 @@ static TQNetworkTools* _tools = nil;
NSLog(@"String------------->%@",String);
NSString * fristSalt = [self stringToMD5:[NSString stringWithFormat:@"%@%@", String, @"HXHJ4KDL1QPFHGA0"]];
NSString * secondSalt = [self stringToMD5:[NSString stringWithFormat:@"%@%@", fristSalt, @"ZJQJQ66AH9COTXSU"]];
NSString * fristSalt = [self stringToMD5:[NSString stringWithFormat:@"%@%@", String, saltA]];
NSString * secondSalt = [self stringToMD5:[NSString stringWithFormat:@"%@%@", fristSalt, saltB]];
NSString * rusult = [secondSalt substringToIndex:16];
// [self stringToMD5:[self stringToMD5:String]]
......
......@@ -17,6 +17,8 @@
#define saltA @"HXHJ4KDL1QPFHGA0"
#define saltB @"ZJQJQ66AH9COTXSU"
#define AppLs @"ed32f8b2bd3e7e58"
#define ShanYanAppID @"CiuaRN4D" //创蓝appid
#define WXAppId @"wxe24b15232c28e77c"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment