广告回调参数修复
This commit is contained in:
parent
3528bb88b3
commit
882e8a477b
|
|
@ -134,7 +134,12 @@ public class NoticeController {
|
|||
// 回调
|
||||
OppoCheck model = new OppoCheck();
|
||||
model.setTimestamp(System.currentTimeMillis());
|
||||
model.setOuId(encode(model.getOuId().getBytes()));
|
||||
if(StringUtils.isNotEmpty(request.getImei())){
|
||||
model.setImei(encode(request.getImei().getBytes()));
|
||||
}
|
||||
if(StringUtils.isNotEmpty(request.getOaid())){
|
||||
model.setOuId(encode(request.getOaid().getBytes()));
|
||||
}
|
||||
String content = JSONObject.toJSONString(model) + model.getTimestamp() + "e0u6fnlag06lc3pl";
|
||||
log.info("请求的content加密前属性{}", content);
|
||||
Map<String, String> headerMap = new HashMap<>();
|
||||
|
|
|
|||
|
|
@ -22,4 +22,8 @@ public class NoticeRequest {
|
|||
* */
|
||||
private String code;
|
||||
|
||||
|
||||
private String imei;
|
||||
|
||||
private String oaid;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ public class OppoCheck {
|
|||
private Integer channel = 1;
|
||||
private Integer type = 1;
|
||||
private Integer ascribeType = 0;
|
||||
private String imei;
|
||||
// private Long adId = 101097648L;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue