|
|
|
@ -23,6 +23,7 @@ import com.baiye.modules.distribute.service.PushConfigService;
|
|
|
|
|
import com.baiye.modules.distribute.vo.PushClueInfoVo;
|
|
|
|
|
import com.baiye.util.AESUtils;
|
|
|
|
|
import com.google.gson.Gson;
|
|
|
|
|
import com.google.gson.GsonBuilder;
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.ballcat.security.properties.SecurityProperties;
|
|
|
|
@ -58,7 +59,7 @@ public class PushClueServiceImpl extends ExtendServiceImpl<PlushClueMapper, Push
|
|
|
|
|
entity.getStatus() == DefaultNumberConstants.ONE_NUMBER) {
|
|
|
|
|
SendClueResponse firstResponse = new SendClueResponse();
|
|
|
|
|
String pushUrl = entity.getPushUrl();
|
|
|
|
|
Gson gson = new Gson();
|
|
|
|
|
Gson gson = new GsonBuilder().disableHtmlEscaping().create();
|
|
|
|
|
Long requestId = IdUtil.getSnowflake(workerId, datacenterId).nextId();
|
|
|
|
|
String decrypt = AESUtils.decrypt(nid, securityProperties.getPasswordSecretKey());
|
|
|
|
|
TripartiteDTO tripartiteDTO =
|
|
|
|
@ -111,4 +112,5 @@ public class PushClueServiceImpl extends ExtendServiceImpl<PlushClueMapper, Push
|
|
|
|
|
clueInfo.setPushStatus(code.equals(DefaultNumberConstants.TWO_HUNDRED) ? DefaultNumberConstants.ONE_NUMBER : DefaultNumberConstants.ZERO_NUMBER);
|
|
|
|
|
this.save(clueInfo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|