import createAxios from '@/utils/request'

import { SUPERVISION_BOOT } from '@/utils/constantRequest'

const MAPPING_PATH = SUPERVISION_BOOT + '/workflow/wfForm'

/**
 * 提交表单数据
 */
export const submitFormData = (data: any) => {
    return createAxios({
        url: '/supervision-boot/userReport/add',
        method: 'POST',
        data: data
    })
}

export const submitGoNet = (data: any) => {
    return createAxios({
        url: '/supervision-boot/userReportNormal/addUserReportNormal',
        method: 'POST',
        data: data
    })
}


export const userReportGoNetById = (data: any) => {
    return createAxios({
        url: '/supervision-boot/userReportNormal/userReportGoNetById',
        method: 'get',
        params: data
    })
}

