apiStation.js 427 B

123456789101112131415161718
  1. import { get, post } from "./http";
  2. const prefix = 'devicesApi/site/';
  3. export default {
  4. getAllStation: (params) => {
  5. return get(prefix + 'listSite', params);
  6. },
  7. searchStation: (params) => {
  8. return get(prefix + 'searchSite', params);
  9. },
  10. getStationRate: (params) => {
  11. return get(prefix + 'getSiteRate', params);
  12. },
  13. getNearestSite: (params) => {
  14. return get(prefix + 'getNearestSite', params);
  15. }
  16. }