123456789101112131415161718192021222324252627 |
- import { fetchApi, fetchApi_get as fetchApiGet } from '@/apis/'
- import { dc } from '@/conf/config'
- // 获取配置属性信息
- export async function getConfigDetailAction (params) {
- const url = `${dc}/api/poster/property`
- return fetchApiGet(url, params)
- }
- // 复制模板
- export async function copyTemplateAction (data) {
- const url = `${dc}/api/poster/copy`
- // return fetchApi({ url, method: 'POST', data })
- return fetchApi(url, data)
- }
- // 删除模版
- export async function delTemplateAction (params) {
- const url = `${dc}/api/poster/delete`
- return fetchApiGet(url, params)
- }
- // 改变模板状态
- export async function changePosterState (params) {
- const url = `${dc}/api/poster/check-status`
- return fetchApiGet(url, params)
- }
|