Commit b8a146c7 by hanjixin

模板详情编辑

parent f2f8eaea
......@@ -30,6 +30,13 @@ export function templateAdd(data) {
data
})
}
export function templateUpdate(templateId, data) {
return request({
url: `/template/update/template/details/${templateId}`,
method: 'post',
data
})
}
/**
*
* @param {*} templateId
......@@ -90,6 +97,17 @@ export function getList(listQuery, p = 1, c = 20) {
}
/**
*
* @param {*} templateId
* 获取模板详情
*/
export function getDetail(templateId) {
return request({
url: `/template/get/template/details/${templateId}`,
method: 'get'
})
}
/**
*
* @param {*} resourse
* zip资源上传解压功能
*/
......@@ -102,3 +120,9 @@ export function templateUploadZipResourse(resourse) {
}
})
}
/**
* templateUploadZipUrl
*/
export function templateUploadZipUrl() {
return process.env.VUE_APP_BASE_API + '/template/upload/zip/resource'
}
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 sign in to comment