feat: 优化代码生成及文案模板渲染
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user