fix Payload Too Large for convert file api
This commit is contained in:
parent
96d732bb96
commit
ba8175204c
9 changed files with 169 additions and 157 deletions
|
|
@ -54,7 +54,7 @@ export async function docxTemplateX(base: string=".", tdata: templateData, outpu
|
|||
* @swagger
|
||||
* /api/v1/report-template/docx:
|
||||
* get:
|
||||
* summary: list docx template
|
||||
* summary: แสดงรายการ template ที่มีในโฟลเดอร์ templates
|
||||
* tags: [report-template]
|
||||
* responses:
|
||||
* 200:
|
||||
|
|
@ -87,7 +87,7 @@ docxTemplateRoute.get("/", async function (req, res) {
|
|||
* @swagger
|
||||
* /api/v1/report-template/docx:
|
||||
* post:
|
||||
* summary: Create document from docx template output can be docx pdf odt
|
||||
* summary: สร้างเอกสารโดยใช้ template จากไฟล์ docx จะแทนค่าตัวแปรในเอกสาร หรือจะแปลงเป็นฟอร์แม็ตอื่นได้ด้วยรองรับ docx pdf odt, ค่า template เป็นชื่อของ template, reportName เป็นชื่อไฟล์ที่ต้องการ
|
||||
* tags: [report-template]
|
||||
* requestBody:
|
||||
* required: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue