JudgePeople.js 877 Bytes
import {axiosInstance2} from "@/Request/PublicAxiosInstance"
import {filterEmptyValueInObject, getFormDataByObject, } from "@/PublicUtil/PublicUtil"

class JudgePeopleApi {
    notSamePerson(id) {
        return axiosInstance2.request(
            {
                method: 'POST',
                url: `/clean2/${id}`,
                data: getFormDataByObject(
                    {
                        same: 0
                    }
                )
            }
        )
    }

    samePerson(id) {
        return axiosInstance2.request(
            {
                method: 'POST',
                url: `/clean2/${id}`,
                data: getFormDataByObject(
                    {
                        same: 1
                    }
                )
            }
        )
    }
}

const judgePeopleApi = new JudgePeopleApi()

export default judgePeopleApi