Commit c9e6cc6b authored by 宋新宇's avatar 宋新宇

md5

parent 8fb2d748
......@@ -27,32 +27,6 @@ public class ServiceHelper {
}
}
public String assembleKey(String deviceId, ClickbackService.DeviceType type) {
switch (type) {
case IMEI:
case OAID:
case IDFA:
return deviceId;
case IP_UA:
case IP_MODEL:
case IP:
return SecureUtil.md5(deviceId);
}
return null;
}
public String assembleKey(String deviceId, ClickbackService.DeviceVideoType type) {
switch (type) {
case OAID:
case IDFA:
return deviceId;
case IP_UA:
case IP_MODEL:
return SecureUtil.md5(deviceId);
}
return null;
}
public String getModelByUa(String ua) {
String uasplit = ua.split("Build")[0];
String model = null;
......
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