Commit 738db4fe by Leslie1w

App语音与视频相关接口

parent c06a5006
......@@ -151,7 +151,7 @@ public class KyxsServiceImpl implements KyxsService {
TbXwKyxsSp kyxsSp = new TbXwKyxsSp();
kyxsSp.setXxzjbh(xxzjbh);
kyxsSp.setAsjbh(asjbh);
kyxsSp.setKyxsspPpnr(file.getBytes());
kyxsSp.setKyxsspSpnr(file.getBytes());
kyxsSp.setKyxsspPssb(kyhm);
kyxsSp.setKyxstxKyyj(kyyj);
kyxsSp.setXxscPdbz("0");
......@@ -419,7 +419,7 @@ public class KyxsServiceImpl implements KyxsService {
break;
case "sp":
TbXwKyxsSp sp = tbXwKyxsSpMapper.selectById(xxzjbh);
inputStream = new ByteArrayInputStream(sp.getKyxsspPpnr());
inputStream = new ByteArrayInputStream(sp.getKyxsspSpnr());
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(xxzjbh+"视频", "UTF-8"));
break;
}
......
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