|
|
@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
|
|
4
|
4
|
import cn.hutool.core.collection.CollectionUtil;
|
|
5
|
5
|
import cn.hutool.core.util.StrUtil;
|
|
6
|
6
|
import cn.hutool.http.HttpRequest;
|
|
|
7
|
+import cn.hutool.http.HttpResponse;
|
|
7
|
8
|
import cn.hutool.json.JSONUtil;
|
|
8
|
9
|
import com.alibaba.fastjson.JSONArray;
|
|
9
|
10
|
import com.alibaba.fastjson.JSONObject;
|
|
|
@@ -46,7 +47,7 @@ import com.ruoyi.wisdomarbitrate.mapper.template.FatchRuleMapper;
|
|
46
|
47
|
import com.ruoyi.wisdomarbitrate.mapper.template.TemplateManageMapper;
|
|
47
|
48
|
import com.ruoyi.wisdomarbitrate.service.mscase.MsCaseApplicationService;
|
|
48
|
49
|
import com.ruoyi.wisdomarbitrate.utils.*;
|
|
49
|
|
-import org.apache.http.HttpResponse;
|
|
|
50
|
+
|
|
50
|
51
|
import org.apache.pdfbox.pdmodel.PDDocument;
|
|
51
|
52
|
import org.apache.poi.xwpf.usermodel.XWPFDocument;
|
|
52
|
53
|
import org.springframework.beans.BeanUtils;
|
|
|
@@ -1883,11 +1884,12 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
1883
|
1884
|
long timestamp = System.currentTimeMillis();
|
|
1884
|
1885
|
String signStr = SignCheckUtils.getSign(paramsbody, accessSec, timestamp);
|
|
1885
|
1886
|
String urlstr = arbitrateUrl;
|
|
1886
|
|
- HttpResponse httpResponse = (HttpResponse) HttpRequest.post(urlstr)
|
|
|
1887
|
+ HttpResponse httpResponse = HttpRequest.post(urlstr)
|
|
1887
|
1888
|
.header("timestampstr", String.valueOf(timestamp))
|
|
1888
|
1889
|
.header("signstr", signStr)
|
|
1889
|
1890
|
.body(paramsbody)
|
|
1890
|
1891
|
.execute();
|
|
|
1892
|
+ return AjaxResult.success();
|
|
1891
|
1893
|
}else if(mediaResult.intValue()==5){
|
|
1892
|
1894
|
// 达成和解
|
|
1893
|
1895
|
List<MsCaseAttach> caseAttachList = msCaseAttachMapper.queryAnnexPathByCaseId(req.getId());
|