|
@@ -20,7 +20,7 @@ import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import cn.com.qmth.examcloud.common.dto.oe.marking.ExamRecordDto;
|
|
import cn.com.qmth.examcloud.common.dto.oe.marking.ExamRecordDto;
|
|
-import cn.com.qmth.examcloud.commons.base.util.GsonUtil;
|
|
|
|
|
|
+import cn.com.qmth.examcloud.commons.base.util.JsonUtil;
|
|
import cn.com.qmth.examcloud.exchange.dao.ExamScoreRepo;
|
|
import cn.com.qmth.examcloud.exchange.dao.ExamScoreRepo;
|
|
import cn.com.qmth.examcloud.exchange.dao.OutletScoreDao;
|
|
import cn.com.qmth.examcloud.exchange.dao.OutletScoreDao;
|
|
import cn.com.qmth.examcloud.exchange.dao.bean.OutletScore;
|
|
import cn.com.qmth.examcloud.exchange.dao.bean.OutletScore;
|
|
@@ -95,7 +95,7 @@ public class SydxScorePushServiceImpl implements ScorePushService{
|
|
CloseableHttpResponse httpResponse = null;
|
|
CloseableHttpResponse httpResponse = null;
|
|
CloseableHttpClient httpClient = null;
|
|
CloseableHttpClient httpClient = null;
|
|
try {
|
|
try {
|
|
- String scoreStr = GsonUtil.toJson(outletScores);
|
|
|
|
|
|
+ String scoreStr = JsonUtil.toJson(outletScores);
|
|
LOG.info("成绩数据:{}", scoreStr);
|
|
LOG.info("成绩数据:{}", scoreStr);
|
|
RequestConfig config = RequestConfig.custom()
|
|
RequestConfig config = RequestConfig.custom()
|
|
.setConnectTimeout(5000)
|
|
.setConnectTimeout(5000)
|