|
|
|
@ -3,6 +3,7 @@ package com.dxhy.order.invoice.module.invoice.service.impl; |
|
|
|
|
import cn.hutool.core.util.IdUtil; |
|
|
|
|
import cn.hutool.crypto.digest.DigestUtil; |
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
|
import com.dxhy.order.constant.ConfigureConstant; |
|
|
|
|
import com.dxhy.order.constant.OrderInfoEnum; |
|
|
|
|
import com.dxhy.order.invoice.module.invoice.service.OfdToPngSDEnergyService; |
|
|
|
|
import com.dxhy.order.model.ofd.OfdToPngResponse; |
|
|
|
@ -36,6 +37,7 @@ public class OfdToPngSDEnergyServiceImpl implements OfdToPngSDEnergyService { |
|
|
|
|
String url = yxurl + "/yxSims/ofdToImage?timestamp="+timestamp+"&md5Str="+md5Str; |
|
|
|
|
|
|
|
|
|
OfdToPngResponse ofdToPngResponse = new OfdToPngResponse(); |
|
|
|
|
ofdToPngResponse.setZTDM(ConfigureConstant.STRING_0000); |
|
|
|
|
try { |
|
|
|
|
log.info("调用影像接口ofd转png,url:{}",url); |
|
|
|
|
String rs = HttpUtils.doPostUpload(url, bytes, IdUtil.fastSimpleUUID()+".ofd"); |
|
|
|
|