接口调整

This commit is contained in:
2024-05-06 16:14:36 +08:00
parent 4f90bdcf21
commit 363dfde086

View File

@@ -1,14 +1,16 @@
import createAxios from '@/utils/request'
import { WORKFLOW_BOOT } from '@/utils/constantRequest'
const MAPPING_PATH = WORKFLOW_BOOT + '/flw/templateSn'
const MAPPING_SN_PATH = WORKFLOW_BOOT + '/flw/templateSn'
const MAPPING_PRINT_PATH = WORKFLOW_BOOT + '/flw/templatePrint'
/**
* 新增流程
*/
export const addModel = (data:any) => {
return createAxios({
url: MAPPING_PATH + '/add',
url: MAPPING_SN_PATH + '/add',
method: 'POST',
data: data
})
@@ -21,7 +23,7 @@ export const addModel = (data:any) => {
*/
export const flwTemplateSnSelector = (data:any) => {
return createAxios({
url: MAPPING_PATH + '/flwTemplateSnSelector',
url: MAPPING_SN_PATH + '/flwTemplateSnSelector',
method: 'POST',
data: data
})
@@ -32,7 +34,7 @@ export const flwTemplateSnSelector = (data:any) => {
*/
export const flwTemplatePrintSelector = (data:any) => {
return createAxios({
url: MAPPING_PATH + '/flwTemplatePrintSelector',
url: MAPPING_PRINT_PATH + '/flwTemplatePrintSelector',
method: 'POST',
data: data
})