|
楼主 |
发表于 2016-3-25 12:42:33
|
显示全部楼层
湖南省郴州市
//设置变量
public void a(String paramString1, int paramInt, String paramString2, DaoResponse.Listener<String> paramListener)
{
RequestModel localRequestModel = new RequestModel();
localRequestModel.b = "http://service.pengpengla.com/sms/safe/sendcode";
localRequestModel.a = this.a;
try
{
localRequestModel.j = new JSONObject();
localRequestModel.j.put("mobilePhone", Utils.a(paramInt) + paramString1);
localRequestModel.j.put("module", paramString2);
String str1 = Utils.b(this.a);
localRequestModel.j.put("deviceId", str1);
//*问题来了这个str1的值又是取的系统什么呢?
//localRequestModel.a = this.a;
//String str1 = Utils.b(this.a);
//localRequestModel.j.put("deviceId", str1);
//deviceId 这个应该是设备的ID就是:3020042683095180,求大神们指教
//把格str1 + 上字符"jq5kmuqcWkrJD7M"后MD5加密 并赋值给str2
str2 = MD5.b(str1 + "jq5kmuqcWkrJD7M");
if (!TextUtils.isEmpty(str2))
{
Object localObject;
//判断str2的长度是否小于24
if (str2.length() < 24)
{
//str2的数据至赋值str3
str3 = str2;
//MD5.b(Configs.v) 看不懂, 然后 + 上原来的str1 在进行MD5加密
localObject = MD5.b(MD5.b(Configs.v) + str1);
if ((!TextUtils.isEmpty((CharSequence)localObject)) && (((String)localObject).length() >= 8))
break label262;
}
while (true)
{
localRequestModel.j.put("signature", str3 + (String)localObject);
RequestUtils.a(localRequestModel, new RegDaoImpl.3(this), paramListener);
return;
str3 = str2.substring(-24 + str2.length());
break;
label262: String str4 = ((String)localObject).substring(-8 + ((String)localObject).length());
localObject = str4;
}
}
}
catch (Exception localException)
{
while (true)
{
String str2;
localException.printStackTrace();
continue;
String str3 = str2;
}
}
} |
|