2.将word模板文件放到resource下的static/aaa.docx 大致如下: 3.编写代码 service: package com.example.rabmq.ramqdemo.word; import org.apache.poi.POIXMLDocument; import org.apache.poi.xwpf.usermodel.XWPFDocument; import org.apache.poi.xwpf.usermodel.XWPFParagraph; import org.apache.poi.xwpf.usermodel....