chenApi.js 957 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-11-18 13:40:39
  4. * @LastEditTime: 2021-11-18 17:49:02
  5. * @LastEditors: Please set LastEditors
  6. * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  7. * @FilePath: \hyyfClient\src\utils\chenApi.js
  8. */
  9. import axios from './http';
  10. /** 生物安全 */
  11. /* 获取门禁所有 */
  12. export function getFaceGuardTotal(data) {
  13. return axios({
  14. url: 'http://192.168.1.171:9987/person/get_person_record_totalpage',
  15. method: 'post',
  16. data: data
  17. })
  18. }
  19. /* 车辆管理 - 车辆通行 */
  20. export function getCarPassage(data) {
  21. return axios({
  22. url: 'http://192.168.1.171:9987/car/get_car_record',
  23. method: 'get',
  24. params: data
  25. })
  26. }
  27. /* 车辆管理 - 车辆洗消 */
  28. export function getCarWash(params) {
  29. return axios({
  30. url: 'http://192.168.1.171:9987/accident/accident_record_xixiao',
  31. method: 'post',
  32. data: params
  33. })
  34. }