Commit c2319a43 authored by 吴琼's avatar 吴琼

客服系统交易凭证导出添加token

parent ed79b777
...@@ -422,6 +422,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR ...@@ -422,6 +422,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
filePathList.add(map); filePathList.add(map);
//调用合同中心进行签章 //调用合同中心进行签章
String accessToken = request.getHeader("Access-Token"); String accessToken = request.getHeader("Access-Token");
log.info("exportZipFile accessToken:"+accessToken);
restContract(filePathList,emailList,accessToken); restContract(filePathList,emailList,accessToken);
} }
} catch (Exception e) { } catch (Exception e) {
...@@ -504,7 +505,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR ...@@ -504,7 +505,7 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
* @param filePathList * @param filePathList
*/ */
private void restContract(List <Map<String,Object>> filePathList,List <Map<String,Object>> emailList,String accessToken){ private void restContract(List <Map<String,Object>> filePathList,List <Map<String,Object>> emailList,String accessToken){
log.info("contractUrl /contract/batch/sign 调用签章接口"); log.info("contractUrl /contract/batch/sign 调用签章接口,accessToken:{}",accessToken);
if(filePathList.isEmpty()){ if(filePathList.isEmpty()){
deleteRedis("exportZipFile"); deleteRedis("exportZipFile");
throw new RuntimeException("没有可以导出的数据"); throw new RuntimeException("没有可以导出的数据");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment