feat: 优化代码生成及文案模板渲染

This commit is contained in:
王鹏
2026-07-29 16:17:49 +08:00
parent c631d058c1
commit e9d627df9c
15 changed files with 560 additions and 199 deletions

View File

@@ -43,20 +43,12 @@ export function delCode(codeId) {
})
}
export function transToArticle(codeId) {
return request({
url: '/office/code/transToArticle/' + codeId,
method: 'get'
})
}
export function transToArticle1(codeId, coverUrl) {
export function transToArticle1(codeId, templateId) {
return request({
url: '/office/code/transToArticle1/' + codeId,
method: 'get',
params: {
coverUrl: coverUrl
templateId: templateId
}
})
}