mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-12 17:49:28 +00:00
23 lines
511 B
JavaScript
23 lines
511 B
JavaScript
export default {
|
|
updatePersonUnrulyStatus(person_id, unrulyParam) {
|
|
|
|
try {
|
|
const payload = {person_id, unruly: unrulyParam}
|
|
const url = '/api/frontend/v1/checkperson/CheckPerson/updatePersonUnrulyStatus';
|
|
return this.$fhcApi.post(url, payload, null);
|
|
} catch (error) {
|
|
throw error;
|
|
}
|
|
|
|
},
|
|
filterPerson(payload, base = ''){
|
|
|
|
try {
|
|
const url = base + '/api/frontend/v1/checkperson/CheckPerson/filterPerson';
|
|
return axios.post(url, payload)
|
|
} catch (error) {
|
|
throw error;
|
|
}
|
|
|
|
}
|
|
} |